ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes
itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType > Class Template Reference

#include <itkCurvesLevelSetImageFilter.h>

+ Inheritance diagram for itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >:
+ Collaboration diagram for itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef CurvesFunctionType::Pointer CurvesFunctionPointer
typedef CurvesLevelSetFunction
< OutputImageType,
FeatureImageType
CurvesFunctionType
typedef
Superclass::FeatureImageType 
FeatureImageType
typedef Superclass::OutputImageType OutputImageType
typedef SmartPointer< SelfPointer
typedef CurvesLevelSetImageFilter Self
typedef
SegmentationLevelSetImageFilter
< TInputImage, TFeatureImage,
TOutputPixelType > 
Superclass
typedef Superclass::ValueType ValueType

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
float GetDerivativeSigma () const
virtual const char * GetNameOfClass () const
 typedef (Concept::HasNumericTraits< TOutputPixelType >) OutputHasNumericTraitsCheck
void SetDerivativeSigma (float value)

Static Public Member Functions

static Pointer New ()

Protected Member Functions

 CurvesLevelSetImageFilter ()
 CurvesLevelSetImageFilter (const Self &)
void GenerateData ()
void operator= (const Self &)
virtual void PrintSelf (std::ostream &os, Indent indent) const
 ~CurvesLevelSetImageFilter ()

Private Attributes

CurvesFunctionPointer m_CurvesFunction

Detailed Description

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float>
class itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >

Segments structures in images based on user supplied edge potential map.

IMPORTANT
The SegmentationLevelSetImageFilter class and the CurvesLevelSetFunction class contain additional information necessary to the full understanding of how to use this filter.
OVERVIEW
This class is a level set method segmentation filter. An initial contour is propagated outwards (or inwards) until it sticks to the shape boundaries. This is done by using a level set speed function based on a user supplied edge potential map.
INPUTS
This filter requires two inputs. The first input is a initial level set. The initial level set is a real image which contains the initial contour/surface as the zero level set. For example, a signed distance function from the initial contour/surface is typically used. Unlike the simpler ShapeDetectionLevelSetImageFilter the initial contour does not have to lie wholly within the shape to be segmented. The intiial contour is allow to overlap the shape boundary. The extra advection term in the update equation behaves like a doublet and attracts the contour to the boundary. This approach for segmentation follows that of Lorigo et al (2001).
The second input is the feature image. For this filter, this is the edge potential map. General characteristics of an edge potential map is that it has values close to zero in regions near the edges and values close to one inside the shape itself. Typically, the edge potential map is compute from the image gradient, for example:

\[ g(I) = 1 / ( 1 + | (\nabla * G)(I)| ) \]

\[ g(I) = \exp^{-|(\nabla * G)(I)|} \]

where $ I $ is image intensity and $ (\nabla * G) $ is the derivative of Gaussian operator.

See SegmentationLevelSetImageFilter and SparseFieldLevelSetImageFilter for more information on Inputs.
PARAMETERS
The method SetUseNegatiiveFeatures() can be used to switch from propagating inwards (false) versus propagting outwards (true).

This implementation allows the user to set the weights between the propagation, advection and curvature term using methods SetPropagationScaling(), SetAdvectionScaling(), SetCurvatureScaling(). In general, the larger the CurvatureScaling, the smoother the resulting contour. To follow the implementation in Caselles's paper, set the PropagationScaling to $ c $ (the inflation or ballon force) and AdvectionScaling and CurvatureScaling both to 1.0.

OUTPUTS
The filter outputs a single, scalar, real-valued image. Negative values in the output image are inside the segmentated region and positive values in the image are outside of the inside region. The zero crossings of the image correspond to the position of the level set front.
REFERENCES
L. Lorigo, O. Faugeras, W.E.L. Grimson, R. Keriven, R. Kikinis, A. Nabavi, and C.-F. Westin, Curves: Curve evolution for vessel segmentation. Medical Image Analysis, 5:195-206, 2001.
See SparseFieldLevelSetImageFilter and SegmentationLevelSetImageFilter for more information.
See also:
SegmentationLevelSetImageFilter
CurvesLevelSetFunction
SparseFieldLevelSetImageFilter

Definition at line 104 of file itkCurvesLevelSetImageFilter.h.


Member Typedef Documentation

template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
typedef SmartPointer< const Self > itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::ConstPointer
template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
typedef CurvesFunctionType::Pointer itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::CurvesFunctionPointer

Definition at line 121 of file itkCurvesLevelSetImageFilter.h.

template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
typedef CurvesLevelSetFunction< OutputImageType, FeatureImageType > itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::CurvesFunctionType

Type of the segmentation function

Definition at line 120 of file itkCurvesLevelSetImageFilter.h.

template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
typedef Superclass::FeatureImageType itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::FeatureImageType
template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
typedef Superclass::OutputImageType itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::OutputImageType

Output image type typedefs

Reimplemented from itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >.

Definition at line 116 of file itkCurvesLevelSetImageFilter.h.

template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
typedef SmartPointer< Self > itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::Pointer
template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
typedef CurvesLevelSetImageFilter itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::Self
template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
typedef SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType > itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::Superclass
template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
typedef Superclass::ValueType itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::ValueType

Inherited typedef from the superclass.

Reimplemented from itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >.

Definition at line 115 of file itkCurvesLevelSetImageFilter.h.


Constructor & Destructor Documentation

template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::~CurvesLevelSetImageFilter ( ) [inline, protected]

End concept checking

Definition at line 148 of file itkCurvesLevelSetImageFilter.h.

template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::CurvesLevelSetImageFilter ( ) [protected]
template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::CurvesLevelSetImageFilter ( const Self ) [protected]

Member Function Documentation

template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
virtual::itk::LightObject::Pointer itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::CreateAnother ( void  ) const [virtual]

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::SparseFieldLevelSetImageFilter< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >.

template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
void itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::GenerateData ( ) [protected, virtual]

Overridden from Superclass to handle the case when PropagationScaling is zero.

Reimplemented from itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >.

template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
float itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::GetDerivativeSigma ( ) const [inline]

Definition at line 137 of file itkCurvesLevelSetImageFilter.h.

template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
virtual const char* itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >.

template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
static Pointer itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::New ( ) [static]
template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
void itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::operator= ( const Self ) [protected]

Flag to indicate whether Speed and Advection images are automatically generated when running the filter. Otherwise, a pointer to images must be explicitly set or GenerateSpeedImage() and/or GenerateAdvectionImage() called directly before updating the filter

Reimplemented from itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >.

template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
virtual void itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]
template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
void itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetDerivativeSigma ( float  value) [inline]

Set the value of sigma used to compute derivatives

Definition at line 130 of file itkCurvesLevelSetImageFilter.h.

template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::typedef ( Concept::HasNumericTraits< TOutputPixelType >  )

Begin concept checking This class requires OutputHasNumericTraitsCheck in the form of ( Concept::HasNumericTraits< TOutputPixelType > )

Reimplemented from itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >.


Member Data Documentation

template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
CurvesFunctionPointer itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::m_CurvesFunction [private]

Definition at line 161 of file itkCurvesLevelSetImageFilter.h.


The documentation for this class was generated from the following file: