[Insight-users] How to measure the smoothness of one curve?

Luis Ibanez luis.ibanez at kitware.com
Tue Jun 1 20:33:39 EDT 2004


Hi Jiang,


An elegant way of characterizing the smoothness of a
curve is to analyze its spectrum in the Fourier domain.


To that end you could use the class:

    itkFourierSeriesPath
http://www.itk.org/Insight/Doxygen/html/classitk_1_1FourierSeriesPath.html


and in order to convert your current curve into an
itkFourierSeriesPath, you can use the class
ChainCodeToFourierSeriesPathFilter
http://www.itk.org/Insight/Doxygen/html/classitk_1_1ChainCodeToFourierSeriesPathFilter.html


A smoothed curve will have High values for the Fourier
coefficients corresponding to low frequencies and Low
values for the high frequency coefficients.


You probably want to compute some generic index such
as the bias of the Fourier spectrum in order to indicate
whether the curve contains a majority of high frequencies
or low frequencies.


This class is designed for working with curves in
N-Dimensional space.


    Regards,



      Luis



-------------
Jiang wrote:

> Dear ITK users,
> 
> I get one contour curve of one object in an image by segmentation filter 
> in ITK. Now I want to measure how smooth or coarse this curve is.
> 
> Is there such a method in ITK to do this work?
> 
>  
> 
> Thanks a lot!
> 
>  
> 
> Chunyan
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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