Counting the intersections between a grid and the binary image

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

Counting the intersections between a grid and the binary image

soly
Dear ImageJ users,

Does anyone know if there is any macro or plugin to count the intersections
between an over imposed grid and the binary image? I have lots of images
and currently I do it manually which is too time consuming. Any help
is gratefully appreciated.

Cheers, Ali

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

Re: Counting the intersections between a grid and the binary image

dscho
Hi Ali,

On Fri, 15 Mar 2013, Ali Soleimani wrote:

> Does anyone know if there is any macro or plugin to count the
> intersections between an over imposed grid and the binary image? I have
> lots of images and currently I do it manually which is too time
> consuming. Any help is gratefully appreciated.

How about using the Image Calculator with the "AND" operation to identify
pixels set in both the grid and the binary image? Then you could measure
either the complete number of "on" pixels or use the Particle Analyzer
(although there might be double counts when objects in the binary image
intersect two grid lines but not the intersection of those grid lines, or
when the objects are not convex).

Ciao,
Johannes

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