Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::SimpleFuzzyConnectednessScalarImageFilter< TInputImage, TOutputImage > Class Template Reference
[Fuzzy Connectedness-based Segmentation Filters]

#include <itkSimpleFuzzyConnectednessScalarImageFilter.h>

List of all members.


Detailed Description

template<class TInputImage, class TOutputImage>
class itk::SimpleFuzzyConnectednessScalarImageFilter< TInputImage, TOutputImage >

Perform segmentation on grayscale images using method of fuzzy connectedness.

Perform the segmentation for a single channel (Grayscale) image via thresholding of a fuzzy connectedness scene. Used as a node of the segmentation toolkit. Fuzzy affinity is defined between two neighboor pixels, to reflect their similarity and assign a probability that these two pixels belong to the same object. A "path" between two pixels is a list of pixels that connect them, the strength of a particular path is defined as the weakest affinity between the neighboor pixels that form the path. The fuzzy connectedness between two pixels is defined as the strongest path strength between these two pixels. The segmentation based on fuzzy connectedness assumes that the fuzzy connectedness between any two pixels from a single object is significantly higher than those for pixels belonging to different objects. A fuzzy connectedness scene is first computed for a set of input seed points selected inside the object of interest. A threshold is then applied to the fuzzy scene to extract the binary segmented object. The fuzzy affinity here was defined as a gaussian function of the pixel difference and the difference of the estimated object mean and the mean of the two input pixels.

Input Parameters are: (1) Input image in the form itkImage (2) Seed points (3) Threshold value.

Usage: 1. use SetInput to import the input image object 2. use SetParameter, SetSeed, SetThreshold to set the parameters 3. run GenerateData() to perform the segmenation 4. threshold can be set using UpdateThreshold after the segmentation, and no computation will be redo. no need to run GenerateData. But if SetThreshold was used. MakeSegmentObject() should be called to get the updated result. 5. use GetOutput to obtain the resulted binary image Object. 6. GetFuzzyScene gives the pointer of Image<unsigned short> for the fuzzy scene.

Detailed information about this algorithm can be found in: "Fuzzy Connectedness and Object Definition: Theory, Algorithms, and Applications in Image Segmentation", J. Udupa and S. Samarasekera Graphical Models and Image Processing, Vol.58, No.3. pp 246-261, 1996.

Definition at line 74 of file itkSimpleFuzzyConnectednessScalarImageFilter.h.

Public Types

typedef SmartPointer< const
Self
ConstPointer
typedef Superclass::IndexType IndexType
typedef Superclass::PixelType PixelType
typedef SmartPointer< SelfPointer
typedef SimpleFuzzyConnectednessScalarImageFilter Self
typedef Superclass::SizeType SizeType
typedef SimpleFuzzyConnectednessImageFilterBase<
TInputImage, TOutputImage > 
Superclass

Public Member Functions

virtual double GetDiff_Mean ()
virtual double GetDiff_Variance ()
virtual double GetMean ()
virtual const char * GetNameOfClass () const
virtual double GetVariance ()
virtual void SetDiff_Mean (double _arg)
virtual void SetDiff_Variance (double _arg)
virtual void SetMean (double _arg)
void SetParameters (const double inmean, const double invar, const double indifmean, const double indifvar, const double inweight)
virtual void SetVariance (double _arg)

Static Public Member Functions

static Pointer New ()

Protected Member Functions

virtual double FuzzyAffinity (const PixelType f1, const PixelType f2)
virtual void PrintSelf (std::ostream &os, Indent indent) const
 SimpleFuzzyConnectednessScalarImageFilter ()
 ~SimpleFuzzyConnectednessScalarImageFilter ()

Protected Attributes

double m_Diff_Mean
double m_Diff_Variance
double m_Mean
double m_Variance


Member Typedef Documentation

template<class TInputImage, class TOutputImage>
typedef SmartPointer<const Self> itk::SimpleFuzzyConnectednessScalarImageFilter< TInputImage, TOutputImage >::ConstPointer

Definition at line 83 of file itkSimpleFuzzyConnectednessScalarImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef Superclass::IndexType itk::SimpleFuzzyConnectednessScalarImageFilter< TInputImage, TOutputImage >::IndexType

Region, size, and pixel types.

Definition at line 90 of file itkSimpleFuzzyConnectednessScalarImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef Superclass::PixelType itk::SimpleFuzzyConnectednessScalarImageFilter< TInputImage, TOutputImage >::PixelType

Definition at line 95 of file itkSimpleFuzzyConnectednessScalarImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef SmartPointer<Self> itk::SimpleFuzzyConnectednessScalarImageFilter< TInputImage, TOutputImage >::Pointer

Definition at line 82 of file itkSimpleFuzzyConnectednessScalarImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef SimpleFuzzyConnectednessScalarImageFilter itk::SimpleFuzzyConnectednessScalarImageFilter< TInputImage, TOutputImage >::Self

Standard class typedefs.

Definition at line 79 of file itkSimpleFuzzyConnectednessScalarImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef Superclass::SizeType itk::SimpleFuzzyConnectednessScalarImageFilter< TInputImage, TOutputImage >::SizeType

Definition at line 94 of file itkSimpleFuzzyConnectednessScalarImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef SimpleFuzzyConnectednessImageFilterBase<TInputImage,TOutputImage> itk::SimpleFuzzyConnectednessScalarImageFilter< TInputImage, TOutputImage >::Superclass

Definition at line 81 of file itkSimpleFuzzyConnectednessScalarImageFilter.h.


Constructor & Destructor Documentation

template<class TInputImage, class TOutputImage>
itk::SimpleFuzzyConnectednessScalarImageFilter< TInputImage, TOutputImage >::SimpleFuzzyConnectednessScalarImageFilter (  )  [protected]

template<class TInputImage, class TOutputImage>
itk::SimpleFuzzyConnectednessScalarImageFilter< TInputImage, TOutputImage >::~SimpleFuzzyConnectednessScalarImageFilter (  )  [protected]


Member Function Documentation

template<class TInputImage, class TOutputImage>
virtual double itk::SimpleFuzzyConnectednessScalarImageFilter< TInputImage, TOutputImage >::FuzzyAffinity ( const PixelType  f1,
const PixelType  f2 
) [protected, virtual]

template<class TInputImage, class TOutputImage>
virtual double itk::SimpleFuzzyConnectednessScalarImageFilter< TInputImage, TOutputImage >::GetDiff_Mean (  )  [virtual]

Get the Estimation of the mean difference between neighbor pixels for the object.

template<class TInputImage, class TOutputImage>
virtual double itk::SimpleFuzzyConnectednessScalarImageFilter< TInputImage, TOutputImage >::GetDiff_Variance (  )  [virtual]

Get the Estimation of the variance of the difference between pixels for the object.

template<class TInputImage, class TOutputImage>
virtual double itk::SimpleFuzzyConnectednessScalarImageFilter< TInputImage, TOutputImage >::GetMean (  )  [virtual]

Get the Estimation of the mean difference between neighbor pixels for the object.

template<class TInputImage, class TOutputImage>
virtual const char* itk::SimpleFuzzyConnectednessScalarImageFilter< TInputImage, TOutputImage >::GetNameOfClass (  )  const [virtual]

Run-time type information (and related methods).

template<class TInputImage, class TOutputImage>
virtual double itk::SimpleFuzzyConnectednessScalarImageFilter< TInputImage, TOutputImage >::GetVariance (  )  [virtual]

Get the Estimation of the variance of the difference between pixels for the object.

template<class TInputImage, class TOutputImage>
static Pointer itk::SimpleFuzzyConnectednessScalarImageFilter< TInputImage, TOutputImage >::New (  )  [static]

Method for creation through the object factory.

template<class TInputImage, class TOutputImage>
virtual void itk::SimpleFuzzyConnectednessScalarImageFilter< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]

template<class TInputImage, class TOutputImage>
virtual void itk::SimpleFuzzyConnectednessScalarImageFilter< TInputImage, TOutputImage >::SetDiff_Mean ( double  _arg  )  [virtual]

Set the Estimation of the mean difference between neighbor pixels for the object.

template<class TInputImage, class TOutputImage>
virtual void itk::SimpleFuzzyConnectednessScalarImageFilter< TInputImage, TOutputImage >::SetDiff_Variance ( double  _arg  )  [virtual]

Set the Estimation of the variance of the difference between pixels for the object.

template<class TInputImage, class TOutputImage>
virtual void itk::SimpleFuzzyConnectednessScalarImageFilter< TInputImage, TOutputImage >::SetMean ( double  _arg  )  [virtual]

Set the Estimation of the mean difference between neighbor pixels for the object.

template<class TInputImage, class TOutputImage>
void itk::SimpleFuzzyConnectednessScalarImageFilter< TInputImage, TOutputImage >::SetParameters ( const double  inmean,
const double  invar,
const double  indifmean,
const double  indifvar,
const double  inweight 
)

Setting the parameters for segmentation.

template<class TInputImage, class TOutputImage>
virtual void itk::SimpleFuzzyConnectednessScalarImageFilter< TInputImage, TOutputImage >::SetVariance ( double  _arg  )  [virtual]

Set the Estimation of the variance of the difference between pixels for the object.


Member Data Documentation

template<class TInputImage, class TOutputImage>
double itk::SimpleFuzzyConnectednessScalarImageFilter< TInputImage, TOutputImage >::m_Diff_Mean [protected]

Definition at line 140 of file itkSimpleFuzzyConnectednessScalarImageFilter.h.

template<class TInputImage, class TOutputImage>
double itk::SimpleFuzzyConnectednessScalarImageFilter< TInputImage, TOutputImage >::m_Diff_Variance [protected]

Definition at line 141 of file itkSimpleFuzzyConnectednessScalarImageFilter.h.

template<class TInputImage, class TOutputImage>
double itk::SimpleFuzzyConnectednessScalarImageFilter< TInputImage, TOutputImage >::m_Mean [protected]

Definition at line 138 of file itkSimpleFuzzyConnectednessScalarImageFilter.h.

template<class TInputImage, class TOutputImage>
double itk::SimpleFuzzyConnectednessScalarImageFilter< TInputImage, TOutputImage >::m_Variance [protected]

Definition at line 139 of file itkSimpleFuzzyConnectednessScalarImageFilter.h.


The documentation for this class was generated from the following file:
Generated at Mon Mar 12 09:59:34 2007 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000