[Insight-users] Fuzzy implementation

Luis Ibanez luis.ibanez at kitware.com
Tue, 20 Apr 2004 16:11:43 -0400


Hi Alex,


You are probably looking at the class

            SimpleFuzzyConnectednessImageFilterBase

that is the base class for the FuzzyConnectedness filters.

This class defines most of the API and delegates some of
the specific implementation to is subclasses.


The hierarchy looks like:


    itk::ImageToImageFilter
       |
       +---itk::SimpleFuzzyConnectednessImageFilterBase
       |       |
       |       +--- itk::SimpleFuzzyConnectednessRGBImageFilter
       |       |
       |       +--- itk::SimpleFuzzyConnectednessScalarImageFilter
       |
       +--- itk::VectorFuzzyConnectednessImageFilter



The method FuzzyAffinity() is virtual and it is intended to be
overriden by implementatinos in the derived classes.


You will find implementations of the FuzzyAffinity() method in
the following files:


	itkSimpleFuzzyConnectednessRGBImageFilter.txx
	itkSimpleFuzzyConnectednessScalarImageFilter.txx
	itkVectorFuzzyConnectednessImageFilter.txx



Regards,


    Luis



--------------------
Alex Houston wrote:

> Hi Guys
>  
> I am tracking the implementation of simplefuzzy connectedness in ITK. I 
> started from FuzzyConnectednessImageFilter.cxx
> First fuzzysegmenter->Update( ) is called
>  
> I have reached a point where GenerateData( ) calls  FIndStrongPath ( ) 
> which in turn calls FuzzyAffinity( )
> { all in the itkSimpleFuzzyConnectednessImageFilterBase.txx file }
>  
> I am trying to see implementation of FuzzyAffinity()
> it shows
>  /** Define the fuzzy affinity function between two pixels. */
>   virtual double FuzzyAffinity(const PixelType, const PixelType)
>   { return 0; }
> what does this mean, Is there a more detailed implementation.
> Is it calling any another function to compute the fuzzy affinity.
>  
> I want to have look at the method which computes fuzzy affinity.
>  
> Can somebody please guide me
>  
> Thanks
> Alex Houston
>  
>  
>  
>  
> 
> ------------------------------------------------------------------------
> Do you Yahoo!?
> Yahoo! Photos: High-quality 4x6 digital prints for 25¢ 
> <http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=23765/*http://photos.yahoo.c 
> om/ph/print_splash>