|
|
2. Choosing a good image
Unfortunately, not all images are well suited for decomposition. The perfect image has
a smooth uniform (one color) background and the decomposed object has sharp edge with colors
different from the background. This rule is not strict however - Decompose is tolerant
to non uniform background as long as the colors do not vary too much.
|
|
|
|
| |
 |
 |
| a well suited image |
an unsuited image |
|
|
|
|
|
|
However, most of the time, such images are not available, but that does not mean that
Decompose will fail. Decompose uses local statistics about colors to find edges. That
means that even if your picture has a complex background, if near a point of the edge the
foreground and background use different colors, the decomposition will succeed. In
general, if you can clearly distinguish the edge of the object visually, it is a good
sign that Decompose will too.
In this tutorial, we will be working on the dog image. Feel free to
click here to download the larger version.
|