Login  Register

Re: Feret's dimeter

Posted by Michael Schmid on Jan 09, 2015; 9:36am
URL: http://imagej.273.s1.nabble.com/Feret-s-dimeter-tp5011144p5011148.html

Hi Slobodan,

you can find the code for calculating Feret's diamater at
  https://github.com/imagej/imagej1/blob/master/ij/gui/Roi.java#l242

In short:

It uses the corner points of the selection.

minFeret is calculated by finding the minimum caliper width when rotating the calipers in 0.5 degree increments. Thus it is only an approximation.

maxFeret is the largest distance between any two corner points. This is exact.


Michael
________________________________________________________________
On Jan 9, 2015, at 00:31, Slobodan Dražić wrote:

> Hi,
>
> can anyone tell me which method (algorithm) is used for estimation of Feret's diameter in ImageJ?
>
> Best regards,
> Slobodan

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