Re: How to dilate foregrouned only if it's surrounded by background?
Posted: 2016-10-01T17:48:47-07:00
Yep, black and white, at least this is how the documentation makes me see what morphology (originally) sees as background and foreground.
On the other hand, doesn't IM already have a similar feature? How does the '-despeckle' operator decide what is, and what is not, a speckle? There must be a way to generalize this to other operations.
On the other hand, doesn't IM already have a similar feature? How does the '-despeckle' operator decide what is, and what is not, a speckle? There must be a way to generalize this to other operations.