Login  Register

Re: Perimeter, Does anyone know exactly how perimeter works?

Posted by Mark Hiner on Oct 27, 2014; 1:04pm
URL: http://imagej.273.s1.nabble.com/Perimeter-Does-anyone-know-exactly-how-perimeter-works-tp5010191p5010202.html

Hi everyone,

>ImageJ is open source, i.e. you should be able to find the very code.
Actually I found it easily:

For reference, see also this FAQ entry
<http://imagej.net/FAQ#How_do_I_find_more_information_about_Command_X.3F>
for general steps on finding more information about a given command. Please
let me know if you try to use these instructions and have any problems.

Best,
Mark

On Sun, Oct 26, 2014 at 2:48 PM, Herbie <[hidden email]> wrote:

> 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
>

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