Re: Perimeter, Does anyone know exactly how perimeter works?
Posted by
Herbie-4 on
Oct 26, 2014; 7:48pm
URL: http://imagej.273.s1.nabble.com/Perimeter-Does-anyone-know-exactly-how-perimeter-works-tp5010191p5010192.html
Tom Lowe,
ImageJ is open source, i.e. you should be able to find the very code.
Actually I found it easily:
<
http://imagej.nih.gov/ij/source/ij/plugin/filter/Analyzer.java>
On this page do a search for PERIMETER.
HTH
Herbie
:::::::::::::::::::::::::::::::
On 26.10.14 17:38, TLowe wrote:
> The perimeter function in ImageJ appears to act on edge pixels, assigning
> pixels along the edge os a selection then either a +1 length or a sqrt(2)
> length. It generally follows the equation Y+Xsqrt(2); where Y and X are
> whole numbers. I've been trying to come up with a list of "rules" for this
> assignment, but unsuccessfully. I've also been unable to come up with source
> code that should reveal what rules are being used. Does anyone know exactly
> how perimeter works?
>
>
>
> -----
> Tom Lowe
> Chemical Technician
> Eastman Kodak
> --
> View this message in context:
http://imagej.1557.x6.nabble.com/Perimeter-Does-anyone-know-exactly-how-perimeter-works-tp5010191.html> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html