Re: Possible bug with perimeter calculation on composite selections
Posted by Gabriel Landini on Jan 24, 2009; 9:26am
URL: http://imagej.273.s1.nabble.com/Possible-bug-with-perimeter-calculation-on-composite-selections-tp3693924p3693931.html
On Friday 23 January 2009, Chris Bradhurst wrote:
> Another alternative workaround I am thinking of is to create a single pixel
> width outline of the roi as a binary image and count the number of
> foreground pixels. This is obviously not terribly accurate, but probably
> sufficient for my purposes.
Better than pixel counting as estimates of perimeters, you could use the
Particles8 plugin which uses Freeman's algorithm to estimate the length of the
perimeter (distance 1 for side-connected and sqrt(2) for corner-connected
pixel boundaries).
Cheers
G.