ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkNarrowBandLevelSetImageFilter.h>
A base class which defines the API for implementing a special class of image segmentation filters using level set methods.
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.
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.
This parameter can be safely changed as appropriate for a particular application or data set to achieve the desired behavior.
Definition at line 147 of file itkNarrowBandLevelSetImageFilter.h.
typedef FastChamferDistanceImageFilter< OutputImageType, OutputImageType > itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::ChamferFilterType [protected] |
Definition at line 406 of file itkNarrowBandLevelSetImageFilter.h.
typedef SmartPointer< const Self > itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::ConstPointer |
Reimplemented from itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >.
Reimplemented in itk::NarrowBandCurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, and itk::NarrowBandThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >.
Definition at line 156 of file itkNarrowBandLevelSetImageFilter.h.
typedef TFeatureImage itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::FeatureImageType |
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 160 of file itkNarrowBandLevelSetImageFilter.h.
typedef Superclass::InputImageType itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::InputImageType |
Typedefs from the superclass
Reimplemented from itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >.
Definition at line 162 of file itkNarrowBandLevelSetImageFilter.h.
typedef IsoContourDistanceImageFilter< OutputImageType, OutputImageType > itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::IsoFilterType [protected] |
Reinitialization filters Internal filter types used for reinitialization
Definition at line 404 of file itkNarrowBandLevelSetImageFilter.h.
typedef TOutputImage itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::OutputImageType |
Local image typedefs
Reimplemented from itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >.
Reimplemented in itk::NarrowBandCurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, and itk::NarrowBandThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >.
Definition at line 165 of file itkNarrowBandLevelSetImageFilter.h.
typedef SmartPointer< Self > itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::Pointer |
Reimplemented from itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >.
Reimplemented in itk::NarrowBandCurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, and itk::NarrowBandThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >.
Definition at line 155 of file itkNarrowBandLevelSetImageFilter.h.
typedef SegmentationLevelSetFunction< OutputImageType, FeatureImageType > itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::SegmentationFunctionType |
The generic level set function type
Definition at line 170 of file itkNarrowBandLevelSetImageFilter.h.
typedef NarrowBandLevelSetImageFilter itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::Self |
Standard class typedefs
Reimplemented from itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >.
Reimplemented in itk::NarrowBandCurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, and itk::NarrowBandThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >.
Definition at line 153 of file itkNarrowBandLevelSetImageFilter.h.
typedef NarrowBandImageFilterBase< TInputImage, TOutputImage > itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::Superclass |
Reimplemented from itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >.
Reimplemented in itk::NarrowBandCurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, and itk::NarrowBandThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >.
Definition at line 154 of file itkNarrowBandLevelSetImageFilter.h.
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 161 of file itkNarrowBandLevelSetImageFilter.h.
typedef Superclass::ValueType itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::ValueType |
Inherited typedef from the superclass.
Reimplemented from itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >.
Reimplemented in itk::NarrowBandCurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, and itk::NarrowBandThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >.
Definition at line 159 of file itkNarrowBandLevelSetImageFilter.h.
typedef SegmentationFunctionType::VectorImageType itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::VectorImageType |
The type used for the advection field
Definition at line 173 of file itkNarrowBandLevelSetImageFilter.h.
virtual itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::~NarrowBandLevelSetImageFilter | ( | ) | [inline, protected, virtual] |
End concept checking
Definition at line 368 of file itkNarrowBandLevelSetImageFilter.h.
itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::NarrowBandLevelSetImageFilter | ( | ) | [protected] |
End concept checking
itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::NarrowBandLevelSetImageFilter | ( | const Self & | ) | [protected] |
End concept checking
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 >.
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 >.
Reimplemented in itk::NarrowBandCurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >.
virtual const SegmentationFunctionType::VectorImageType* itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::GetAdvectionImage | ( | ) | const [inline, virtual] |
Definition at line 202 of file itkNarrowBandLevelSetImageFilter.h.
ValueType itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::GetAdvectionScaling | ( | ) | const [inline] |
Definition at line 309 of file itkNarrowBandLevelSetImageFilter.h.
ValueType itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::GetCurvatureScaling | ( | ) | const [inline] |
Definition at line 327 of file itkNarrowBandLevelSetImageFilter.h.
virtual FeatureImageType* itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::GetFeatureImage | ( | ) | [inline, virtual] |
Definition at line 187 of file itkNarrowBandLevelSetImageFilter.h.
unsigned int itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::GetMaximumIterations | ( | ) | [inline] |
Definition at line 348 of file itkNarrowBandLevelSetImageFilter.h.
virtual const char* itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >.
Reimplemented in itk::NarrowBandCurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, and itk::NarrowBandThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >.
ValueType itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::GetPropagationScaling | ( | ) | const [inline] |
Definition at line 293 of file itkNarrowBandLevelSetImageFilter.h.
virtual bool itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::GetReverseExpansionDirection | ( | ) | const [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.
virtual SegmentationFunctionType* itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::GetSegmentationFunction | ( | ) | [inline, virtual] |
Definition at line 336 of file itkNarrowBandLevelSetImageFilter.h.
virtual const SegmentationFunctionType::ImageType* itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::GetSpeedImage | ( | ) | const [inline, virtual] |
Definition at line 199 of file itkNarrowBandLevelSetImageFilter.h.
bool itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::GetUseNegativeFeatures | ( | ) | const [inline] |
Definition at line 239 of file itkNarrowBandLevelSetImageFilter.h.
virtual void itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::InitializeIteration | ( | ) | [inline, protected, virtual] |
Overrides parent implementation
Reimplemented from itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >.
Definition at line 378 of file itkNarrowBandLevelSetImageFilter.h.
void itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::operator= | ( | const Self & | ) | [protected] |
PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.
Reimplemented from itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >.
Reimplemented in itk::NarrowBandThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, and itk::NarrowBandCurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >.
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 >.
Reimplemented in itk::NarrowBandThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, and itk::NarrowBandCurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >.
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.
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.
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 300 of file itkNarrowBandLevelSetImageFilter.h.
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 318 of file itkNarrowBandLevelSetImageFilter.h.
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 180 of file itkNarrowBandLevelSetImageFilter.h.
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 269 of file itkNarrowBandLevelSetImageFilter.h.
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 194 of file itkNarrowBandLevelSetImageFilter.h.
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 341 of file itkNarrowBandLevelSetImageFilter.h.
virtual void itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::SetMaximumRMSError | ( | const double | _arg | ) | [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 354 of file itkNarrowBandLevelSetImageFilter.h.
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 284 of file itkNarrowBandLevelSetImageFilter.h.
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.
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.
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 225 of file itkNarrowBandLevelSetImageFilter.h.
void itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::SetUseNegativeFeaturesOff | ( | ) | [inline] |
Definition at line 216 of file itkNarrowBandLevelSetImageFilter.h.
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 208 of file itkNarrowBandLevelSetImageFilter.h.
itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::typedef | ( | Concept::HasNumericTraits< typename TOutputImage::PixelType > | ) |
Begin concept checking This class requires OutputHasNumericTraitsCheck in the form of ( Concept::HasNumericTraits< typename TOutputImage::PixelType > )
ChamferFilterType::Pointer itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::m_ChamferFilter [protected] |
Definition at line 410 of file itkNarrowBandLevelSetImageFilter.h.
IsoFilterType::Pointer itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::m_IsoFilter [protected] |
Definition at line 408 of file itkNarrowBandLevelSetImageFilter.h.
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 398 of file itkNarrowBandLevelSetImageFilter.h.
SegmentationFunctionType* itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::m_SegmentationFunction [private] |
Definition at line 412 of file itkNarrowBandLevelSetImageFilter.h.