Login  Register

Possible bug

Posted by cihat eldeniz on Feb 16, 2009; 3:39am
URL: http://imagej.273.s1.nabble.com/Possible-bug-tp3693696.html

Dear all,

I believe there is a bug in the two functions of ImageProcessor: erode()
and dilate().

When I went through a stack of images [that had already been converted
to binary],

ImageProcessor ip2 = imp2.getStack().getProcessor(counter);
ip.dilate();
ip.dilate();
..

I realized that dilate() erodes and erode() dilates. Is there really a bug?

Thanks.