[Insight-users] itkSampleMeanShiftClusteringFilter.txx

Luis Ibanez luis.ibanez at kitware.com
Thu Aug 24 09:06:38 EDT 2006


Hi Eric,

This filter is expecting a "Sample" as an input.

In order to apply the filter the population of pixels
in an image you must first use the ScalarImageToListAdaptor class:

http://www.itk.org/Insight/Doxygen/html/classitk_1_1Statistics_1_1ScalarImageToListAdaptor.html

For an example on how to use these two classes together
you may want to look at:

     Insight/Testing/Code/Numerics/Statistics/
         itkSampleMeanShiftClusteringFilterTest.cxx



   Regards,


      Luis


----------------
Eric John wrote:
> Hello all,
>  
> Does anyone have experience with how to 
> itkSampleMeanShiftClusteringFilter.txx in itk? Also, would it work for 
> 3d images? Thanks alot,
> Eric
>  
>



More information about the Insight-users mailing list