Hi,
I encountered an unexpected result and I am unsure what is the source of the problem.

See the attached image 1.tif, after applying a morphological closing with a disc of radius=6:

run("Maximum...", "radius=6");
run("Minimum...", "radius=6");

I get a single pixel appearing between the two regions (see 2.tif). I was expecting that the closing results in either a connection or non connection of the two regions, but I am puzzled by that disconnected pixel.

The closing can also be done via:
run("Top Hat...", "radius=6 light don't");
and the result is the same.

I can get rid of that pixel via morphological reconstruction, but it seems a bit of a hack, when I do not understand why it happens.
This seems to happen only in certain configurations.

I wonder if this is due to the rounding when defining the disc kernels?

Many thanks for any insights.
Regards,

Gabriel



--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

Reply via email to