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

#include <itkThresholdSegmentationLevelSetImageFilter.h>

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

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef
Superclass::FeatureImageType 
FeatureImageType
typedef Superclass::OutputImageType OutputImageType
typedef SmartPointer< SelfPointer
typedef
ThresholdSegmentationLevelSetImageFilter 
Self
typedef
SegmentationLevelSetImageFilter
< TInputImage, TFeatureImage,
TOutputPixelType > 
Superclass
typedef
ThresholdFunctionType::Pointer 
ThresholdFunctionPointer
typedef
ThresholdSegmentationLevelSetFunction
< OutputImageType,
FeatureImageType
ThresholdFunctionType
typedef Superclass::ValueType ValueType

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
ValueType GetEdgeWeight () const
ValueType GetLowerThreshold () const
virtual const char * GetNameOfClass () const
ValueType GetSmoothingConductance () const
int GetSmoothingIterations () const
ValueType GetSmoothingTimeStep () const
ValueType GetUpperThreshold () const
void SetLowerThreshold (ValueType v)
void SetUpperThreshold (ValueType v)
void SetEdgeWeight (ValueType v)
void SetSmoothingIterations (int v)
void SetSmoothingTimeStep (ValueType v)
void SetSmoothingConductance (ValueType v)

Static Public Member Functions

static Pointer New ()

Protected Member Functions

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

Private Attributes

ThresholdFunctionPointer m_ThresholdFunction

Detailed Description

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

Segments structures in images based on intensity values.

IMPORTANT
The SegmentationLevelSetImageFilter class and the ThresholdSegmentationLevelSetFunction 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. It constructs a speed function which is close to zero at the upper and lower bounds of an intensity window, effectively locking the propagating front onto those edges. Elsewhere, the front will propagate quickly.
INPUTS
This filter requires two inputs. The first input is a seed image. This seed image must contain an isosurface that you want to use as the seed for your segmentation. It can be a binary, graylevel, or floating point image. The only requirement is that it contain a closed isosurface that you will identify as the seed by setting the IsosurfaceValue parameter of the filter. For a binary image you will want to set your isosurface value halfway between your on and off values (i.e. for 0's and 1's, use an isosurface value of 0.5).
The second input is the feature image. This is the image from which the speed function will be calculated. For most applications, this is the image that you want to segment. The desired isosurface in your seed image should lie within the region of your feature image that you are trying to segment. Note that this filter does no preprocessing of the feature image before thresholding.
See SegmentationLevelSetImageFilter for more information on Inputs.
OUTPUTS
The filter outputs a single, scalar, real-valued image. Positive values in the output image are inside the segmentated region and negative 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.
See SparseFieldLevelSetImageFilter and SegmentationLevelSetImageFilter for more information.
PARAMETERS
In addition to parameters described in SegmentationLevelSetImageFilter, this filter adds the UpperThreshold and LowerThreshold. See ThresholdSegmentationLevelSetFunction for a description of how these values affect the segmentation.
See also:
SegmentationLevelSetImageFilter
ThresholdSegmentationLevelSetFunction,
SparseFieldLevelSetImageFilter

Definition at line 86 of file itkThresholdSegmentationLevelSetImageFilter.h.


Member Typedef Documentation

template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
typedef SmartPointer< const Self > itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::ConstPointer
template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
typedef Superclass::FeatureImageType itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::FeatureImageType
template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
typedef Superclass::OutputImageType itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::OutputImageType
template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
typedef SmartPointer< Self > itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::Pointer
template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
typedef ThresholdSegmentationLevelSetImageFilter itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::Self
template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
typedef SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType > itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::Superclass
template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
typedef ThresholdFunctionType::Pointer itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::ThresholdFunctionPointer
template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
typedef ThresholdSegmentationLevelSetFunction< OutputImageType, FeatureImageType > itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::ThresholdFunctionType

Type of the segmentation function

Definition at line 104 of file itkThresholdSegmentationLevelSetImageFilter.h.

template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
typedef Superclass::ValueType itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::ValueType

Inherited typedef from the superclass.

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

Definition at line 98 of file itkThresholdSegmentationLevelSetImageFilter.h.


Constructor & Destructor Documentation

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

Member Function Documentation

template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
virtual::itk::LightObject::Pointer itk::ThresholdSegmentationLevelSetImageFilter< 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>
ValueType itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::GetEdgeWeight ( ) const [inline]
template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
ValueType itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::GetLowerThreshold ( ) const [inline]
template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
virtual const char* itk::ThresholdSegmentationLevelSetImageFilter< 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>
ValueType itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::GetSmoothingConductance ( ) const [inline]
template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
int itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::GetSmoothingIterations ( ) const [inline]
template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
ValueType itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::GetSmoothingTimeStep ( ) const [inline]
template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
ValueType itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::GetUpperThreshold ( ) const [inline]
template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
static Pointer itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::New ( ) [static]
template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
void itk::ThresholdSegmentationLevelSetImageFilter< 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::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]
template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
void itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetEdgeWeight ( ValueType  v) [inline]

Set/Get the weight applied to the edge (Laplacian) attractor in the speed term function. Zero will turn this term off.

Definition at line 140 of file itkThresholdSegmentationLevelSetImageFilter.h.

template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
void itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetLowerThreshold ( ValueType  v) [inline]
template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
void itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetSmoothingConductance ( ValueType  v) [inline]

Anisotropic diffusion is applied to the FeatureImage before calculatign the Laplacian (edge) term. This method sets/gets the smoothing conductance.

Definition at line 185 of file itkThresholdSegmentationLevelSetImageFilter.h.

template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
void itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetSmoothingIterations ( int  v) [inline]

Anisotropic diffusion is applied to the FeatureImage before calculating the Laplacian (edge) term. This method sets/gets the number of diffusion iterations.

Definition at line 155 of file itkThresholdSegmentationLevelSetImageFilter.h.

template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
void itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetSmoothingTimeStep ( ValueType  v) [inline]

Anisotropic diffusion is applied to the FeatureImage before calculating the Laplacian (edge) term. This method sets/gets the diffusion time step.

Definition at line 170 of file itkThresholdSegmentationLevelSetImageFilter.h.

template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
void itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetUpperThreshold ( ValueType  v) [inline]

Get/Set the threshold values that will be used to calculate the speed function.

Definition at line 115 of file itkThresholdSegmentationLevelSetImageFilter.h.


Member Data Documentation

template<class TInputImage , class TFeatureImage , class TOutputPixelType = float>
ThresholdFunctionPointer itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::m_ThresholdFunction [private]

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