vtkImageThicknessThresholdFilter3D Class Reference

#include <vtkImageThicknessThresholdFilter3D.h>

Inheritance diagram for vtkImageThicknessThresholdFilter3D:

Inheritance graph
[legend]
Collaboration diagram for vtkImageThicknessThresholdFilter3D:

Collaboration graph
[legend]
List of all members.

Detailed Description

Thickness Threshold Filter.

vtkImageThicknessThresholdFilter3D a filter that locates areas of a specified thickness in an image that has been processed by vtkImageEuclideanDistance. This 3D implementation of the algorithm supports 3 methods of thickness filtering. The lazy method will find all thicknesses that are less than or equal to the specified thickness. The spherical-based method will find only those regions that are the specified thickness. The areas identified as having the desired thickness will be assigned the value of 255, other areas that have a non-zero distance value will be assigned the value of 127. Zero distance values will remain zero in the output image. The spherical-based complete method will label all of the thickness regions from largest to smallest. In this method the pixel values will be assigned the actual thickness in terms of "number of pixels" thick. This filter assumes that the volume or image is isotropic meaning that the spacing is equal in each direction. vtkImageResample may be used to make the image or volume isotropic before the image is processed by vtkImageEuclideanDistance. The vtkImageEuclideanDistance filter expects the output to be type double, so naturally this filter expects the input to be floating point. Also, the ouput of vtkImageEuclideanDistance should be normalized by the image spacing in order for this filter to work correctly.

See also:
vtkImageThicknessThresholdFilter2D, vtkImageEuclideanDistance, vtkImageResample

Definition at line 64 of file vtkImageThicknessThresholdFilter3D.h.

Public Member Functions

 vtkTypeRevisionMacro (vtkImageThicknessThresholdFilter3D, vtkSimpleImageToImageFilter)
virtual void SetThickness (double)
virtual double GetThickness ()
virtual void SetThicknessMax (int)
virtual int GetThicknessMax ()
virtual void SetAlgorithm (int)
virtual int GetAlgorithm ()
void SetAlgorithmToLazy ()
void SetAlgorithmToSphericalBased ()
void SetAlgorithmToSphericalBasedComplete ()

Static Public Member Functions

static vtkImageThicknessThresholdFilter3DNew ()

Protected Member Functions

 vtkImageThicknessThresholdFilter3D ()
 ~vtkImageThicknessThresholdFilter3D ()
void InitOutput (int outExt[6], vtkImageData *outData)
virtual void SimpleExecute (vtkImageData *input, vtkImageData *output)

Protected Attributes

double Thickness
int ThicknessMax
int Algorithm


Constructor & Destructor Documentation

vtkImageThicknessThresholdFilter3D::vtkImageThicknessThresholdFilter3D (  )  [protected]

vtkImageThicknessThresholdFilter3D::~vtkImageThicknessThresholdFilter3D (  )  [inline, protected]

Definition at line 98 of file vtkImageThicknessThresholdFilter3D.h.


Member Function Documentation

static vtkImageThicknessThresholdFilter3D* vtkImageThicknessThresholdFilter3D::New (  )  [static]

Reimplemented from vtkAlgorithm.

vtkImageThicknessThresholdFilter3D::vtkTypeRevisionMacro ( vtkImageThicknessThresholdFilter3D  ,
vtkSimpleImageToImageFilter   
)

virtual void vtkImageThicknessThresholdFilter3D::SetThickness ( double   )  [virtual]

Set/Get thickness to be filtered.

virtual double vtkImageThicknessThresholdFilter3D::GetThickness (  )  [virtual]

Set/Get thickness to be filtered.

virtual void vtkImageThicknessThresholdFilter3D::SetThicknessMax ( int   )  [virtual]

Set/Get maximum thickness to be filtered for the complete method.

virtual int vtkImageThicknessThresholdFilter3D::GetThicknessMax (  )  [virtual]

Set/Get maximum thickness to be filtered for the complete method.

virtual void vtkImageThicknessThresholdFilter3D::SetAlgorithm ( int   )  [virtual]

Selects a thickness threshold algorithm. 0. Lazy 1. Spherical-based 2. Spherical-based Complete

virtual int vtkImageThicknessThresholdFilter3D::GetAlgorithm (  )  [virtual]

Selects a thickness threshold algorithm. 0. Lazy 1. Spherical-based 2. Spherical-based Complete

void vtkImageThicknessThresholdFilter3D::SetAlgorithmToLazy (  )  [inline]

Selects a thickness threshold algorithm. 0. Lazy 1. Spherical-based 2. Spherical-based Complete

Definition at line 88 of file vtkImageThicknessThresholdFilter3D.h.

References VTK_THICKNESS_THREED_LAZY.

void vtkImageThicknessThresholdFilter3D::SetAlgorithmToSphericalBased (  )  [inline]

Selects a thickness threshold algorithm. 0. Lazy 1. Spherical-based 2. Spherical-based Complete

Definition at line 90 of file vtkImageThicknessThresholdFilter3D.h.

References VTK_THICKNESS_THREED_SPHERICAL_BASED.

void vtkImageThicknessThresholdFilter3D::SetAlgorithmToSphericalBasedComplete (  )  [inline]

Selects a thickness threshold algorithm. 0. Lazy 1. Spherical-based 2. Spherical-based Complete

Definition at line 92 of file vtkImageThicknessThresholdFilter3D.h.

References VTK_THICKNESS_THREED_SPHERICAL_BASED_COMPLETE.

void vtkImageThicknessThresholdFilter3D::InitOutput ( int  outExt[6],
vtkImageData outData 
) [protected]

virtual void vtkImageThicknessThresholdFilter3D::SimpleExecute ( vtkImageData input,
vtkImageData output 
) [protected, virtual]

Implements vtkSimpleImageToImageFilter.


Member Data Documentation

double vtkImageThicknessThresholdFilter3D::Thickness [protected]

Definition at line 102 of file vtkImageThicknessThresholdFilter3D.h.

int vtkImageThicknessThresholdFilter3D::ThicknessMax [protected]

Definition at line 104 of file vtkImageThicknessThresholdFilter3D.h.

int vtkImageThicknessThresholdFilter3D::Algorithm [protected]

Definition at line 106 of file vtkImageThicknessThresholdFilter3D.h.


The documentation for this class was generated from the following file:
Generated on Tue May 12 14:53:43 2009 for vtkCNMRRLibrary by  doxygen 1.4.7