[Insight-users] Circularity and Compactness Measure

Luis Ibanez luis.ibanez at kitware.com
Mon Apr 3 12:34:04 EDT 2006


Hi Matt,

One way of measuring circularity and compactness
is to take the contour of your segmented object
and decompose it into Fourier Descriptors. The two
lower order coefficients of the fourier decomposition
measure how well your shape matches a circle.

Notice that this is not the circumscribing nor inscribing
circle, but rather the "best-fitting" circle to your shape.


Further coefficients indicate the amount of sinusoidal
corrections needed converting a circle into the shape
that you actually have. The more corrections needed, the
less compact your shape will be.


You will find an example on how to do the Fourier
decomposition of your contour in the file:

      Insight/Examples/Numerics/
           FourierDescriptors1.cxx



  Regards,


     Luis



-------------------
Matt Kelsey wrote:
> Hello All,
> I need to measure the circularity and compactness of a 2D segmented
> object. To do so, I'd like to compute the radius of the largest possible
> circle that will fit in the shape and the smallest possible that will
> enclose it. Does anyone know of a built-in ITK function that will do this?
> Thanks for any ideas,
> Matt
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 
> 



More information about the Insight-users mailing list