[Insight-users] Bug in BinaryDilateImageFilter?

Todd Gable Todd_Gable at invision.iip.com
Thu Jun 2 12:00:55 EDT 2005


I noticed that that the BinaryDilateImageFilter sets the pixels to one no matter what the DilateValue is set too. Should the DilateValue not only specify what pixels to operate on, shouldn't it also be the output value? The description from the Doxygen file is a bit fuzzy on this, but it makes sense not to lose the segment number, at least to me. If it is working as intended, then it's easy enough to add a second step to replace the ones with the DilateValue. Thanks.
Dilate an image using binary morphology. Gray scale images can be processed as binary images by selecting a "DilateValue". Pixel values matching the dilate value are considered the "foreground" and all other pixels are "background". This is useful in processing segmented images where all pixels in segment #1 have value 1 and pixels in segment #2 have value 2, etc. A particular "segment number" can be processed.


Todd Gable



More information about the Insight-users mailing list