telling apart objects in touch by pixels' corner

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

telling apart objects in touch by pixels' corner

Soriano.Joaquim
Hi everyone!
I am counting objects in binary images by using the analyze particles menu. I want objects that are in touch with each other only by pixel's corner to be considered different objects instead of the same object.
Is there a  way to do so?
Thanks a lot in advance.

Joaquim Soriano Felipe.
Confocal Microscopy Unit
Spanish National Cancer Research Centre (CNIO)
Melchor Fernández Almagro,3, E-28029 Madrid, Spain
Phone  + 34 917 328 000, exts.: 3161, 3162. [hidden email]<mailto:[hidden email]>


--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: telling apart objects in touch by pixels' corner

Gabriel Landini
On Tuesday 28 Apr 2015 12:55:44 you wrote:
> Hi everyone!
> I am counting objects in binary images by using the analyze particles menu.
> I want objects that are in touch with each other only by pixel's corner to
> be considered different objects instead of the same object. Is there a  way
> to do so?
> Thanks a lot in advance.

That is called 4-neighbour connectivity. The Particles_4 plugin in the
Morphology collection can do that:
http://www.mecourse.com/landinig/software/software.html
http://www.mecourse.com/landinig/software/morphology.zip

Cheers

Gabriel

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