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

itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage > Class Template Reference

A base class which defines the API for implementing a special class of image segmentation filters using level set methods. More...

#include <itkNarrowBandLevelSetImageFilter.h>

Inheritance diagram for itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >:

Inheritance graph
[legend]
Collaboration diagram for itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef NarrowBandLevelSetImageFilter Self
typedef NarrowBandImageFilterBase<
TInputImage, TOutputImage > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef Superclass::ValueType ValueType
typedef Superclass::IndexType IndexType
typedef Superclass::TimeStepType TimeStepType
typedef Superclass::InputImageType InputImageType
typedef TOutputImage OutputImageType
typedef TFeatureImage FeatureImageType
typedef SegmentationLevelSetFunction<
OutputImageType, FeatureImageType
SegmentationFunctionType
typedef SegmentationFunctionType::VectorImageType VectorImageType

Public Member Functions

virtual const char * GetClassName () const
virtual void SetInitialImage (InputImageType *f)
virtual const SegmentationFunctionType::ImageTypeGetSpeedImage () const
virtual const SegmentationFunctionType::VectorImageTypeGetAdvectionImage () const
virtual void SetMaximumRMSError (const double)
virtual void SetFeatureImage (const FeatureImageType *f)
virtual FeatureImageTypeGetFeatureImage ()
void SetUseNegativeFeaturesOn ()
void SetUseNegativeFeaturesOff ()
void SetUseNegativeFeatures (bool u)
bool GetUseNegativeFeatures () const
virtual void SetReverseExpansionDirection (bool _arg)
virtual bool GetReverseExpansionDirection ()
virtual void ReverseExpansionDirectionOn ()
virtual void ReverseExpansionDirectionOff ()
void SetFeatureScaling (ValueType v)
void SetPropagationScaling (ValueType v)
ValueType GetPropagationScaling () const
void SetAdvectionScaling (ValueType v)
ValueType GetAdvectionScaling () const
void SetCurvatureScaling (ValueType v)
ValueType GetCurvatureScaling () const
virtual void SetSegmentationFunction (SegmentationFunctionType *s)
virtual SegmentationFunctionTypeGetSegmentationFunction ()
void SetMaximumIterations (unsigned int i)
unsigned int GetMaximumIterations ()

Protected Types

typedef IsoContourDistanceImageFilter<
OutputImageType, OutputImageType
IsoFilterType
typedef FastChamferDistanceImageFilter<
OutputImageType, OutputImageType
ChamferFilterType

Protected Member Functions

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

Protected Attributes

bool m_ReverseExpansionDirection
IsoFilterType::Pointer m_IsoFilter
ChamferFilterType::Pointer m_ChamferFilter

Detailed Description

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
class itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >

A base class which defines the API for implementing a special class of image segmentation filters using level set methods.

OVERVIEW
This object defines the framework for a class of segmentation filters which use level set methods. These filters work by constructing a ``feature image'' onto which the evolving level set locks as it moves. In the feature image, values that are close to zero are associated with object boundaries. An original (or preprocessed) image is given to the filter as the feature image and a seed for the level set is given as the input of the filter. The seed is converted into a level set embedding which propagates according to the features calculated from the original image.
TEMPLATE PARAMETERS
There are two required and two optional template parameter for these filters. Of the optional parameters, the last, TOutputImage, should not be changed from its default. It is only there to instantiate the parent class correctly.
TInputImage is the image type of the initial model you will input to the filter using SetInput() or SetInitialImage().

TFeatureImage is the image type of the image from which the filter will calculate the speed term for segmentation (see INPUTS).

TOutputPixelType is the data type used for the output image phi, the implicit level set image. This should really only ever be set as float (default) or double.

INPUTS
The input to any subclass of this filter is the seed image for the initial level set embedding. As with other subclasses of the SparseLevelSetImageFilter, the type of the input image is is not important. The (RequestedRegion) size of the seed image must, however, match the (RequestedRegion) size of the feature image.
You must identify the initial front (surface) in the input image. You do this by specifying its isovalue through the method SetIsoSurfaceValue(float f). The algorithm will then initialize its solution using the front represented by value f. Note that the front is always represented by isosurface zero in the output and not the isosurface you specified for the input. This is because, for simplicity, the filter will shift your input image so that the active front has zero values.

Depending on the particular application and filter that you are using, the feature image should be preprocessed with some type of noise reduction filtering. The feature image input can be of any type, but it will be cast to floating point before calculations are done.
OUTPUTS
The output of any subclass of this filter is a level set embedding as described in SparseFieldLevelSetImageFilter. The zero crossings of the output image give the pixels closest to the level set boundary. By ITK convention, NEGATIVE values are pixels INSIDE the segmented region and POSITIVE values are pixels OUTSIDE the segmented region.
PARAMETERS
The MaximumRMSChange parameter is used to determine when the solution has converged. A lower value will result in a tighter-fitting solution, but will require more computations. Too low a value could put the solver into an infinite loop unless a reasonable NumberOfIterations parameter is set. Values should always be greater than 0.0 and less than 1.0.
The NumberOfIterations parameter can be used to halt the solution after a specified number of iterations, overriding the MaximumRMSChange halting criteria.
The standard convention for ITK level-set segmentation filters is that POSITIVE propagation (speed) and advection terms cause the surface to EXPAND while negative terms cause the surface to CONTRACT. When the ReverseExpansionDirection parameter is set to TRUE (on), it tells the function object to reverse the standard ITK convention so that NEGATIVE terms cause EXPANSION and positive terms cause CONTRACTION.
This parameter can be safely changed as appropriate for a particular application or data set to achieve the desired behavior.

The FeatureScaling parameter controls the magnitude of the features calculated for use in the level set propagation and advection speeds. This value simply sets both parameters to equal values at once. Some filters may only use on of these two terms and this method is a generic way to set either or both without having to know which is in use.
The CurvatureScaling parameter controls the magnitude of the curvature values which are calculated on the evolving isophote. This is important in controlling the relative effect of curvature in the calculation. Default value is 1.0. Higher values relative to the other level set equation terms (propagation and advection) will give a smoother result.
The PropagationScaling parameter controls the scaling of the scalar propagation (speed) term relative to other terms in the level set equation. Setting this value will override any value already set by FeatureScaling.
The AdvectionScaling parameter controls the scaling of the vector advection field term relative to other terms in the level set equation. Setting this value will override any value already set by FeatureScaling.
See LevelSetFunction for more information.

Definition at line 144 of file itkNarrowBandLevelSetImageFilter.h.


Member Typedef Documentation

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
typedef FastChamferDistanceImageFilter<OutputImageType,OutputImageType> itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::ChamferFilterType [protected]
 

Definition at line 383 of file itkNarrowBandLevelSetImageFilter.h.

Referenced by itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::InitializeIteration().

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
typedef SmartPointer<const Self> itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::ConstPointer
 

Reimplemented from itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >.

Definition at line 153 of file itkNarrowBandLevelSetImageFilter.h.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
typedef TFeatureImage itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::FeatureImageType
 

Definition at line 163 of file itkNarrowBandLevelSetImageFilter.h.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
typedef Superclass::IndexType itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::IndexType
 

The index type for the output image

Reimplemented from itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >.

Definition at line 157 of file itkNarrowBandLevelSetImageFilter.h.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
typedef Superclass::InputImageType itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::InputImageType
 

Typedefs from the superclass

Reimplemented from itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >.

Definition at line 159 of file itkNarrowBandLevelSetImageFilter.h.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
typedef IsoContourDistanceImageFilter<OutputImageType,OutputImageType> itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::IsoFilterType [protected]
 

Internal filter types used for reinitialization Definition at line 381 of file itkNarrowBandLevelSetImageFilter.h.

Referenced by itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::InitializeIteration().

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
typedef TOutputImage itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::OutputImageType
 

Local image typedefs

Reimplemented from itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >.

Definition at line 162 of file itkNarrowBandLevelSetImageFilter.h.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
typedef SmartPointer<Self> itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::Pointer
 

Reimplemented from itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >.

Definition at line 152 of file itkNarrowBandLevelSetImageFilter.h.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
typedef SegmentationLevelSetFunction<OutputImageType, FeatureImageType> itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::SegmentationFunctionType
 

The generic level set function type Definition at line 167 of file itkNarrowBandLevelSetImageFilter.h.

Referenced by itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::GetCurvatureScaling().

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
typedef NarrowBandLevelSetImageFilter itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::Self
 

Standard class typedefs

Reimplemented from itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >.

Definition at line 150 of file itkNarrowBandLevelSetImageFilter.h.

Referenced by itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::SetMaximumRMSError().

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
typedef NarrowBandImageFilterBase<TInputImage, TOutputImage> itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::Superclass
 

Reimplemented from itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >.

Definition at line 151 of file itkNarrowBandLevelSetImageFilter.h.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
typedef Superclass::TimeStepType itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::TimeStepType
 

The value type of a time step. Inherited from the superclass.

Reimplemented from itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >.

Definition at line 158 of file itkNarrowBandLevelSetImageFilter.h.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
typedef Superclass::ValueType itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::ValueType
 

Inherited typedef from the superclass.

Reimplemented from itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >.

Definition at line 156 of file itkNarrowBandLevelSetImageFilter.h.

Referenced by itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::SetAdvectionScaling().

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
typedef SegmentationFunctionType::VectorImageType itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::VectorImageType
 

The type used for the advection field Definition at line 170 of file itkNarrowBandLevelSetImageFilter.h.


Constructor & Destructor Documentation

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
virtual itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::~NarrowBandLevelSetImageFilter  )  [inline, protected, virtual]
 

Definition at line 347 of file itkNarrowBandLevelSetImageFilter.h.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::NarrowBandLevelSetImageFilter  )  [protected]
 

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::NarrowBandLevelSetImageFilter const Self  )  [protected]
 


Member Function Documentation

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
virtual void itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::CreateNarrowBand  )  [protected, virtual]
 

Tells the solver how to reinitialize the narrowband when the reinitialization criterion meets

Reimplemented from itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
void itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::GenerateData  )  [protected, virtual]
 

Overridden from ProcessObject to set certain values before starting the finite difference solver and then create an appropriate output

Reimplemented from itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
virtual const SegmentationFunctionType::VectorImageType* itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::GetAdvectionImage  )  const [inline, virtual]
 

Definition at line 198 of file itkNarrowBandLevelSetImageFilter.h.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
ValueType itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::GetAdvectionScaling  )  const [inline]
 

Set/Get the scaling of the advection field. Setting the FeatureScaling parameter will override any existing value for AdvectionScaling. Definition at line 298 of file itkNarrowBandLevelSetImageFilter.h.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
virtual const char* itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::GetClassName  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
ValueType itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::GetCurvatureScaling  )  const [inline]
 

Set/Get the scaling of the curvature. Use this parameter to increase the influence of curvature on the movement of the surface. Higher values relative to Advection and Propagation values will give smoother surfaces. Definition at line 314 of file itkNarrowBandLevelSetImageFilter.h.

References itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::SegmentationFunctionType.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
virtual FeatureImageType* itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::GetFeatureImage  )  [inline, virtual]
 

Set/Get the feature image to be used for speed function of the level set equation. Equivalent to calling Set/GetInput(1, ..) Definition at line 182 of file itkNarrowBandLevelSetImageFilter.h.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
unsigned int itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::GetMaximumIterations  )  [inline]
 

Set/Get the maximum number of iterations allowed for the solver. This prevents infinite loops if a solution "bounces". Definition at line 334 of file itkNarrowBandLevelSetImageFilter.h.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
ValueType itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::GetPropagationScaling  )  const [inline]
 

Set/Get the scaling of the propagation speed. Setting the FeatureScaling parameter overrides any previous values set for PropagationScaling. Definition at line 283 of file itkNarrowBandLevelSetImageFilter.h.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
virtual bool itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::GetReverseExpansionDirection  )  [virtual]
 

Turn On/Off the flag which determines whether Positive or Negative speed terms will cause surface expansion. If set to TRUE then negative speed terms will cause the surface to expand and positive speed terms will cause the surface to contract. If set to FALSE (default) then positive speed terms will cause the surface to expand and negative speed terms will cause the surface to contract. This method can be safely used to reverse the expansion/contraction as appropriate to a particular application or data set.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
virtual SegmentationFunctionType* itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::GetSegmentationFunction  )  [inline, virtual]
 

Set the segmentation function. In general, this should only be called by a subclass of this object. It is made public to allow itk::Command objects access. Definition at line 323 of file itkNarrowBandLevelSetImageFilter.h.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
virtual const SegmentationFunctionType::ImageType* itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::GetSpeedImage  )  const [inline, virtual]
 

Definition at line 195 of file itkNarrowBandLevelSetImageFilter.h.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
bool itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::GetUseNegativeFeatures  )  const [inline]
 

Set/Get the value of the UseNegativeFeatures flag. This method is deprecated. Use Set/Get ReverseExpansionDirection instead. Definition at line 230 of file itkNarrowBandLevelSetImageFilter.h.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
virtual void itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::InitializeIteration  )  [inline, protected, virtual]
 

Overrides parent implementation

Reimplemented from itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >.

Definition at line 355 of file itkNarrowBandLevelSetImageFilter.h.

References itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::ChamferFilterType, and itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::IsoFilterType.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
void itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::operator= const Self  )  [protected]
 

Reimplemented from itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
virtual void itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::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::NarrowBandImageFilterBase< TInputImage, TOutputImage >.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
virtual void itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::ReverseExpansionDirectionOff  )  [virtual]
 

Turn On/Off the flag which determines whether Positive or Negative speed terms will cause surface expansion. If set to TRUE then negative speed terms will cause the surface to expand and positive speed terms will cause the surface to contract. If set to FALSE (default) then positive speed terms will cause the surface to expand and negative speed terms will cause the surface to contract. This method can be safely used to reverse the expansion/contraction as appropriate to a particular application or data set.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
virtual void itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::ReverseExpansionDirectionOn  )  [virtual]
 

Turn On/Off the flag which determines whether Positive or Negative speed terms will cause surface expansion. If set to TRUE then negative speed terms will cause the surface to expand and positive speed terms will cause the surface to contract. If set to FALSE (default) then positive speed terms will cause the surface to expand and negative speed terms will cause the surface to contract. This method can be safely used to reverse the expansion/contraction as appropriate to a particular application or data set.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
void itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::SetAdvectionScaling ValueType  v  )  [inline]
 

Set/Get the scaling of the advection field. Setting the FeatureScaling parameter will override any existing value for AdvectionScaling. Definition at line 291 of file itkNarrowBandLevelSetImageFilter.h.

References itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::ValueType.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
void itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::SetCurvatureScaling ValueType  v  )  [inline]
 

Set/Get the scaling of the curvature. Use this parameter to increase the influence of curvature on the movement of the surface. Higher values relative to Advection and Propagation values will give smoother surfaces. Definition at line 307 of file itkNarrowBandLevelSetImageFilter.h.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
virtual void itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::SetFeatureImage const FeatureImageType f  )  [inline, virtual]
 

Set/Get the feature image to be used for speed function of the level set equation. Equivalent to calling Set/GetInput(1, ..) Definition at line 177 of file itkNarrowBandLevelSetImageFilter.h.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
void itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::SetFeatureScaling ValueType  v  )  [inline]
 

Combined scaling of the propagation and advection speed terms. You should use either this -or- Get/SetPropagationScaling and Get/SetAdvectionScaling (if appropriate). See subclasses for details on when and whether to set these parameters. Definition at line 261 of file itkNarrowBandLevelSetImageFilter.h.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
virtual void itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::SetInitialImage InputImageType f  )  [inline, virtual]
 

Set/Get the initial level set model. Equivalent to calling SetInput(..) Definition at line 190 of file itkNarrowBandLevelSetImageFilter.h.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
void itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::SetMaximumIterations unsigned int  i  )  [inline]
 

Set/Get the maximum number of iterations allowed for the solver. This prevents infinite loops if a solution "bounces". Definition at line 329 of file itkNarrowBandLevelSetImageFilter.h.

References itkWarningMacro.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
virtual void itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::SetMaximumRMSError const  double  )  [inline, virtual]
 

Set/Get the maximum error allowed in the solution. This may not be defined for all solvers and its meaning may change with the application.

Reimplemented from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >.

Definition at line 341 of file itkNarrowBandLevelSetImageFilter.h.

References itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::Self.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
void itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::SetPropagationScaling ValueType  v  )  [inline]
 

Set/Get the scaling of the propagation speed. Setting the FeatureScaling parameter overrides any previous values set for PropagationScaling. Definition at line 276 of file itkNarrowBandLevelSetImageFilter.h.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
virtual void itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::SetReverseExpansionDirection bool  _arg  )  [virtual]
 

Turn On/Off the flag which determines whether Positive or Negative speed terms will cause surface expansion. If set to TRUE then negative speed terms will cause the surface to expand and positive speed terms will cause the surface to contract. If set to FALSE (default) then positive speed terms will cause the surface to expand and negative speed terms will cause the surface to contract. This method can be safely used to reverse the expansion/contraction as appropriate to a particular application or data set.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
virtual void itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::SetSegmentationFunction SegmentationFunctionType s  )  [virtual]
 

Set the segmentation function. In general, this should only be called by a subclass of this object. It is made public to allow itk::Command objects access.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
void itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::SetUseNegativeFeatures bool  u  )  [inline]
 

Set/Get the value of the UseNegativeFeatures flag. This method is deprecated. Use Set/Get ReverseExpansionDirection instead. Definition at line 218 of file itkNarrowBandLevelSetImageFilter.h.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
void itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::SetUseNegativeFeaturesOff  )  [inline]
 

THIS METHOD IS DEPRECATED AND SHOULD NOT BE USED. This method reverses the speed function direction, effectively changing inside feature values to outside feature values and vice versa. Definition at line 209 of file itkNarrowBandLevelSetImageFilter.h.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
void itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::SetUseNegativeFeaturesOn  )  [inline]
 

THIS METHOD IS DEPRECATED AND SHOULD NOT BE USED. This method reverses the speed function direction, effectively changing inside feature values to outside feature values and vice versa. Definition at line 204 of file itkNarrowBandLevelSetImageFilter.h.


Member Data Documentation

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
ChamferFilterType::Pointer itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::m_ChamferFilter [protected]
 

Definition at line 386 of file itkNarrowBandLevelSetImageFilter.h.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
IsoFilterType::Pointer itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::m_IsoFilter [protected]
 

Definition at line 385 of file itkNarrowBandLevelSetImageFilter.h.

template<class TInputImage, class TFeatureImage, class TOutputPixelType = float, class TOutputImage = Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
bool itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::m_ReverseExpansionDirection [protected]
 

Flag which sets the inward/outward direction of propagation speed. See SetReverseExpansionDirection for more information. Definition at line 375 of file itkNarrowBandLevelSetImageFilter.h.


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