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

itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage > Class Template Reference
[Markov Random Field-based Filters]

#include <itkRGBGibbsPriorFilter.h>

Inheritance diagram for itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >:

Inheritance graph
[legend]
Collaboration diagram for itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef RGBGibbsPriorFilter Self
typedef MRFImageFilter< TInputImage,
TClassifiedImage > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef Superclass::InputImagePixelType InputImagePixelType
typedef Superclass::InputImageRegionConstIterator InputImageRegionConstIterator
typedef Superclass::InputImageRegionIterator InputImageRegionIterator
typedef Superclass::LabelledImageRegionIterator LabelledImageRegionIterator
typedef Superclass::LabelledImagePixelType LabelledImagePixelType
typedef Superclass::IndexValueType IndexValueType
typedef TInputImage InputImageType
typedef TInputImage::Pointer InputImagePointer
typedef TInputImage::ConstPointer InputImageConstPointer
typedef TInputImage::PixelType InputPixelType
typedef TClassifiedImage::Pointer TrainingImageType
typedef TClassifiedImage::Pointer LabelledImageType
typedef TClassifiedImage::IndexType LabelledImageIndexType
typedef unsigned int LabelType
typedef ImageClassifierBase<
TInputImage, TClassifiedImage > 
ClassifierType
typedef TInputImage::PixelType InputImageVecType
typedef TInputImage::IndexType IndexType
typedef vnl_matrix< double > MatrixType

Public Member Functions

virtual const char * GetClassName () const
void SetTrainingImage (TrainingImageType image)
void SetLabelledImage (LabelledImageType LabelledImage)
LabelledImageType GetLabelledImage ()
void SetClassifier (typename ClassifierType::Pointer ptrToClassifier)
virtual void SetNumberOfClasses (unsigned int _arg)
virtual unsigned int GetNumberOfClasses ()
virtual void SetMaximumNumberOfIterations (unsigned int _arg)
virtual unsigned int GetMaximumNumberOfIterations ()
virtual void SetClusterSize (unsigned int _arg)
virtual void SetObjectLabel (LabelType _arg)
 itkStaticConstMacro (ImageDimension, unsigned int, TInputImage::ImageDimension)
virtual void SetStartPoint (IndexType _arg)
virtual void SetBoundaryGradient (unsigned int _arg)
virtual void SetObjectThreshold (double _arg)
virtual void SetCliqueWeight_1 (double _arg)
virtual double GetCliqueWeight_1 ()
virtual void SetCliqueWeight_2 (double _arg)
virtual double GetCliqueWeight_2 ()
virtual void SetCliqueWeight_3 (double _arg)
virtual double GetCliqueWeight_3 ()
virtual void SetCliqueWeight_4 (double _arg)
virtual double GetCliqueWeight_4 ()
virtual void SetCliqueWeight_5 (double _arg)
virtual double GetCliqueWeight_5 ()
virtual void SetCliqueWeight_6 (double _arg)
virtual double GetCliqueWeight_6 ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

 RGBGibbsPriorFilter ()
 ~RGBGibbsPriorFilter ()
void PrintSelf (std::ostream &os, Indent indent) const
virtual void MinimizeFunctional ()
virtual void GenerateData ()
virtual void ApplyGibbsLabeller ()
virtual void ApplyGPImageFilter ()

Detailed Description

template<class TInputImage, class TClassifiedImage>
class itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >

RGBGibbsPriorFilter applies Gibbs Prior model for the segmentation of MRF images. The core of the method is based on the minimization of a Gibbsian energy function. This energy function f can be divided into three part: f = f_1 + f_2 + f_3; f_1 is related to the object homogeneity, f_2 is related to the boundary smoothness, f_3 is related to the constraint of the observation (or the noise model). The two force components f_1 and f_3 are minimized by the GradientEnergy method while f_2 is minized by the GibbsTotalEnergy method.

Definition at line 47 of file itkRGBGibbsPriorFilter.h.


Member Typedef Documentation

template<class TInputImage, class TClassifiedImage>
typedef ImageClassifierBase<TInputImage,TClassifiedImage> itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::ClassifierType
 

Type definitions for classifier to be used for the MRF lavbelling.

Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.

Definition at line 99 of file itkRGBGibbsPriorFilter.h.

template<class TInputImage, class TClassifiedImage>
typedef SmartPointer<const Self> itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::ConstPointer
 

Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.

Definition at line 59 of file itkRGBGibbsPriorFilter.h.

template<class TInputImage, class TClassifiedImage>
typedef TInputImage::IndexType itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::IndexType
 

Definition at line 103 of file itkRGBGibbsPriorFilter.h.

template<class TInputImage, class TClassifiedImage>
typedef Superclass::IndexValueType itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::IndexValueType
 

Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.

Definition at line 73 of file itkRGBGibbsPriorFilter.h.

template<class TInputImage, class TClassifiedImage>
typedef TInputImage::ConstPointer itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::InputImageConstPointer
 

Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.

Definition at line 78 of file itkRGBGibbsPriorFilter.h.

template<class TInputImage, class TClassifiedImage>
typedef Superclass::InputImagePixelType itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::InputImagePixelType
 

Types from superclass.

Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.

Definition at line 68 of file itkRGBGibbsPriorFilter.h.

template<class TInputImage, class TClassifiedImage>
typedef TInputImage::Pointer itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::InputImagePointer
 

Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.

Definition at line 77 of file itkRGBGibbsPriorFilter.h.

template<class TInputImage, class TClassifiedImage>
typedef Superclass::InputImageRegionConstIterator itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::InputImageRegionConstIterator
 

Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.

Definition at line 69 of file itkRGBGibbsPriorFilter.h.

template<class TInputImage, class TClassifiedImage>
typedef Superclass::InputImageRegionIterator itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::InputImageRegionIterator
 

Type definition for the input image region iterator

Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.

Definition at line 70 of file itkRGBGibbsPriorFilter.h.

template<class TInputImage, class TClassifiedImage>
typedef TInputImage itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::InputImageType
 

A smart pointer to the input image type.

Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.

Definition at line 76 of file itkRGBGibbsPriorFilter.h.

template<class TInputImage, class TClassifiedImage>
typedef TInputImage::PixelType itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::InputImageVecType
 

The type of input pixel. Definition at line 102 of file itkRGBGibbsPriorFilter.h.

template<class TInputImage, class TClassifiedImage>
typedef TInputImage::PixelType itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::InputPixelType
 

Type definition for the input image pixel type. Definition at line 81 of file itkRGBGibbsPriorFilter.h.

template<class TInputImage, class TClassifiedImage>
typedef TClassifiedImage::IndexType itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::LabelledImageIndexType
 

Type definition for the classified image index type.

Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.

Definition at line 91 of file itkRGBGibbsPriorFilter.h.

template<class TInputImage, class TClassifiedImage>
typedef Superclass::LabelledImagePixelType itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::LabelledImagePixelType
 

Type definitions for the classified image pixel type. It has to be the same type as the training image.

Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.

Definition at line 72 of file itkRGBGibbsPriorFilter.h.

template<class TInputImage, class TClassifiedImage>
typedef Superclass::LabelledImageRegionIterator itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::LabelledImageRegionIterator
 

Type definition for the input image region iterator

Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.

Definition at line 71 of file itkRGBGibbsPriorFilter.h.

template<class TInputImage, class TClassifiedImage>
typedef TClassifiedImage::Pointer itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::LabelledImageType
 

Type definitions for the labelled image. It is derived from the training image. Definition at line 88 of file itkRGBGibbsPriorFilter.h.

Referenced by itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GetLabelledImage().

template<class TInputImage, class TClassifiedImage>
typedef unsigned int itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::LabelType
 

Type used as identifier for the Labels

Warning:
-1 cannot be used as the identifier for unlabeled pixels the NumericTraits<>::max() value is used for indicating unlabeled pixels
Definition at line 96 of file itkRGBGibbsPriorFilter.h.

template<class TInputImage, class TClassifiedImage>
typedef vnl_matrix<double> itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::MatrixType
 

Specify the type of matrix to use. Definition at line 165 of file itkRGBGibbsPriorFilter.h.

template<class TInputImage, class TClassifiedImage>
typedef SmartPointer<Self> itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::Pointer
 

Smart pointer typedef support

Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.

Definition at line 58 of file itkRGBGibbsPriorFilter.h.

template<class TInputImage, class TClassifiedImage>
typedef RGBGibbsPriorFilter itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::Self
 

Standard "Self" typedef.

Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.

Definition at line 52 of file itkRGBGibbsPriorFilter.h.

template<class TInputImage, class TClassifiedImage>
typedef MRFImageFilter<TInputImage, TClassifiedImage> itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::Superclass
 

Standard "Superclass" typedef.

Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.

Definition at line 55 of file itkRGBGibbsPriorFilter.h.

template<class TInputImage, class TClassifiedImage>
typedef TClassifiedImage::Pointer itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::TrainingImageType
 

Type definitions for the training image. Definition at line 84 of file itkRGBGibbsPriorFilter.h.


Constructor & Destructor Documentation

template<class TInputImage, class TClassifiedImage>
itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::RGBGibbsPriorFilter  )  [protected]
 

template<class TInputImage, class TClassifiedImage>
itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::~RGBGibbsPriorFilter  )  [protected]
 


Member Function Documentation

template<class TInputImage, class TClassifiedImage>
virtual void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::ApplyGibbsLabeller  )  [protected, virtual]
 

template<class TInputImage, class TClassifiedImage>
virtual void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::ApplyGPImageFilter  )  [protected, virtual]
 

template<class TInputImage, class TClassifiedImage>
virtual void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GenerateData void   )  [protected, virtual]
 

A version of GenerateData() specific for image processing filters. This implementation will split the processing across multiple threads. The buffer is allocated by this method. Then the BeforeThreadedGenerateData() method is called (if provided). Then, a series of threads are spawned each calling ThreadedGenerateData(). After all the threads have completed processing, the AfterThreadedGenerateData() method is called (if provided). If an image processing filter cannot be threaded, the filter should provide an implementation of GenerateData(). That implementation is responsible for allocating the output buffer. If a filter an be threaded, it should NOT provide a GenerateData() method but should provide a ThreadedGenerateData() instead.

See also:
ThreadedGenerateData()

Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.

template<class TInputImage, class TClassifiedImage>
virtual const char* itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GetClassName  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.

template<class TInputImage, class TClassifiedImage>
virtual double itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GetCliqueWeight_1  )  [virtual]
 

set and get the value for Clique weights

template<class TInputImage, class TClassifiedImage>
virtual double itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GetCliqueWeight_2  )  [virtual]
 

set and get the value for Clique weights

template<class TInputImage, class TClassifiedImage>
virtual double itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GetCliqueWeight_3  )  [virtual]
 

set and get the value for Clique weights

template<class TInputImage, class TClassifiedImage>
virtual double itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GetCliqueWeight_4  )  [virtual]
 

set and get the value for Clique weights

template<class TInputImage, class TClassifiedImage>
virtual double itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GetCliqueWeight_5  )  [virtual]
 

set and get the value for Clique weights

template<class TInputImage, class TClassifiedImage>
virtual double itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GetCliqueWeight_6  )  [virtual]
 

set and get the value for Clique weights

template<class TInputImage, class TClassifiedImage>
LabelledImageType itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GetLabelledImage void   )  [inline]
 

Get the labelled image. Definition at line 112 of file itkRGBGibbsPriorFilter.h.

References itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::LabelledImageType.

template<class TInputImage, class TClassifiedImage>
virtual unsigned int itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GetMaximumNumberOfIterations  )  [virtual]
 

Get the number of iterations of the Iterated Conditional Mode (ICM) algorithm.

Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.

template<class TInputImage, class TClassifiedImage>
virtual unsigned int itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GetNumberOfClasses  )  [virtual]
 

Get the Number of classes.

Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.

template<class TInputImage, class TClassifiedImage>
itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::itkStaticConstMacro ImageDimension  ,
unsigned  int,
TInputImage::ImageDimension 
 

Extract the input image dimension.

template<class TInputImage, class TClassifiedImage>
virtual void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::MinimizeFunctional  )  [protected, virtual]
 

allocate memory space for the filter.

Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.

template<class TInputImage, class TClassifiedImage>
Pointer itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.

template<class TInputImage, class TClassifiedImage>
void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::PrintSelf std::ostream &  os,
Indent  indent
const [protected, virtual]
 

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.

template<class TInputImage, class TClassifiedImage>
virtual void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetBoundaryGradient unsigned int  _arg  )  [virtual]
 

template<class TInputImage, class TClassifiedImage>
void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetClassifier typename ClassifierType::Pointer  ptrToClassifier  ) 
 

Set the pointer to the classifer being used.

Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.

template<class TInputImage, class TClassifiedImage>
virtual void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetCliqueWeight_1 double  _arg  )  [virtual]
 

set and get the value for Clique weights

template<class TInputImage, class TClassifiedImage>
virtual void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetCliqueWeight_2 double  _arg  )  [virtual]
 

set and get the value for Clique weights

template<class TInputImage, class TClassifiedImage>
virtual void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetCliqueWeight_3 double  _arg  )  [virtual]
 

set and get the value for Clique weights

template<class TInputImage, class TClassifiedImage>
virtual void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetCliqueWeight_4 double  _arg  )  [virtual]
 

set and get the value for Clique weights

template<class TInputImage, class TClassifiedImage>
virtual void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetCliqueWeight_5 double  _arg  )  [virtual]
 

set and get the value for Clique weights

template<class TInputImage, class TClassifiedImage>
virtual void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetCliqueWeight_6 double  _arg  )  [virtual]
 

set and get the value for Clique weights

template<class TInputImage, class TClassifiedImage>
virtual void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetClusterSize unsigned int  _arg  )  [virtual]
 

Set the threshold for the object size.

template<class TInputImage, class TClassifiedImage>
void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetLabelledImage LabelledImageType  LabelledImage  ) 
 

Set the labelled image.

template<class TInputImage, class TClassifiedImage>
virtual void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetMaximumNumberOfIterations unsigned int  _arg  )  [virtual]
 

Set/Get the number of iteration of the Iterated Conditional Mode (ICM) algorithm. A default value is set at 50 iterations.

Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.

template<class TInputImage, class TClassifiedImage>
virtual void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetNumberOfClasses unsigned int  _arg  )  [virtual]
 

Set the Number of classes.

Reimplemented from itk::MRFImageFilter< TInputImage, TClassifiedImage >.

template<class TInputImage, class TClassifiedImage>
virtual void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetObjectLabel LabelType  _arg  )  [virtual]
 

Set the label for the object region.

template<class TInputImage, class TClassifiedImage>
virtual void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetObjectThreshold double  _arg  )  [virtual]
 

template<class TInputImage, class TClassifiedImage>
virtual void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetStartPoint IndexType  _arg  )  [virtual]
 

template<class TInputImage, class TClassifiedImage>
void itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::SetTrainingImage TrainingImageType  image  ) 
 

Set the image required for training type classifiers.


The documentation for this class was generated from the following file:
Generated at Sun Apr 1 02:51:25 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000