ActiViz .NET  5.8.0
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Private Member Functions | Static Private Member Functions
Kitware.VTK.vtkImageEuclideanDistance Class Reference

vtkImageEuclideanDistance - computes 3D Euclidean DT More...

Inheritance diagram for Kitware.VTK.vtkImageEuclideanDistance:
[legend]
Collaboration diagram for Kitware.VTK.vtkImageEuclideanDistance:
[legend]

List of all members.

Public Member Functions

 vtkImageEuclideanDistance (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkImageEuclideanDistance ()
 Undocumented Block.
virtual void ConsiderAnisotropyOff ()
 Used to define whether Spacing should be used in the computation of the distances.
virtual void ConsiderAnisotropyOn ()
 Used to define whether Spacing should be used in the computation of the distances.
virtual int GetAlgorithm ()
 Selects a Euclidean DT algorithm. 1. Saito 2. Saito-cached More algorithms will be added later on.
virtual int GetConsiderAnisotropy ()
 Used to define whether Spacing should be used in the computation of the distances.
virtual int GetInitialize ()
 Used to set all non-zero voxels to MaximumDistance before starting the distance transformation. Setting Initialize off keeps the current value in the input image as starting point. This allows to superimpose several distance maps.
virtual double GetMaximumDistance ()
 Any distance bigger than this->MaximumDistance will not ne computed but set to this->MaximumDistance instead.
virtual void InitializeOff ()
 Used to set all non-zero voxels to MaximumDistance before starting the distance transformation. Setting Initialize off keeps the current value in the input image as starting point. This allows to superimpose several distance maps.
virtual void InitializeOn ()
 Used to set all non-zero voxels to MaximumDistance before starting the distance transformation. Setting Initialize off keeps the current value in the input image as starting point. This allows to superimpose several distance maps.
override int IsA (string type)
 Undocumented Block.
new vtkImageEuclideanDistance NewInstance ()
 Undocumented Block.
virtual void SetAlgorithm (int _arg)
 Selects a Euclidean DT algorithm. 1. Saito 2. Saito-cached More algorithms will be added later on.
void SetAlgorithmToSaito ()
 Selects a Euclidean DT algorithm. 1. Saito 2. Saito-cached More algorithms will be added later on.
void SetAlgorithmToSaitoCached ()
 Selects a Euclidean DT algorithm. 1. Saito 2. Saito-cached More algorithms will be added later on.
virtual void SetConsiderAnisotropy (int _arg)
 Used to define whether Spacing should be used in the computation of the distances.
virtual void SetInitialize (int _arg)
 Used to set all non-zero voxels to MaximumDistance before starting the distance transformation. Setting Initialize off keeps the current value in the input image as starting point. This allows to superimpose several distance maps.
virtual void SetMaximumDistance (double _arg)
 Any distance bigger than this->MaximumDistance will not ne computed but set to this->MaximumDistance instead.
override int SplitExtent (IntPtr splitExt, IntPtr startExt, int num, int total)
 Used internally for streaming and threads. Splits output update extent into num pieces. This method needs to be called num times. Results must not overlap for consistent starting extent. Subclass can override this method. This method returns the number of peices resulting from a successful split. This can be from 1 to "total". If 1 is returned, the extent cannot be split.

Static Public Member Functions

static new
vtkImageEuclideanDistance 
New ()
 Undocumented Block.
static new int IsTypeOf (string type)
 Undocumented Block.
static new
vtkImageEuclideanDistance 
SafeDownCast (vtkObjectBase o)
 Undocumented Block.

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkImageEuclideanDistance"
 Automatically generated type registration mechanics.

Static Public Attributes

static new readonly string MRClassNameKey = "25vtkImageEuclideanDistance"
 Automatically generated type registration mechanics.

Protected Member Functions

override void Dispose (bool disposing)
 Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Private Member Functions

static internal IntPtr vtkImageEuclideanDistance_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkImageEuclideanDistance_ConsiderAnisotropyOff_01 (HandleRef pThis)
static internal void vtkImageEuclideanDistance_ConsiderAnisotropyOn_02 (HandleRef pThis)
static internal int vtkImageEuclideanDistance_GetAlgorithm_03 (HandleRef pThis)
static internal int vtkImageEuclideanDistance_GetConsiderAnisotropy_04 (HandleRef pThis)
static internal int vtkImageEuclideanDistance_GetInitialize_05 (HandleRef pThis)
static internal double vtkImageEuclideanDistance_GetMaximumDistance_06 (HandleRef pThis)
static internal void vtkImageEuclideanDistance_InitializeOff_07 (HandleRef pThis)
static internal void vtkImageEuclideanDistance_InitializeOn_08 (HandleRef pThis)
static internal int vtkImageEuclideanDistance_IsA_09 (HandleRef pThis, string type)
static internal int vtkImageEuclideanDistance_IsTypeOf_10 (string type)
static internal IntPtr vtkImageEuclideanDistance_NewInstance_12 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkImageEuclideanDistance_SafeDownCast_13 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkImageEuclideanDistance_SetAlgorithm_14 (HandleRef pThis, int _arg)
static internal void vtkImageEuclideanDistance_SetAlgorithmToSaito_15 (HandleRef pThis)
static internal void vtkImageEuclideanDistance_SetAlgorithmToSaitoCached_16 (HandleRef pThis)
static internal void vtkImageEuclideanDistance_SetConsiderAnisotropy_17 (HandleRef pThis, int _arg)
static internal void vtkImageEuclideanDistance_SetInitialize_18 (HandleRef pThis, int _arg)
static internal void vtkImageEuclideanDistance_SetMaximumDistance_19 (HandleRef pThis, double _arg)
static internal int vtkImageEuclideanDistance_SplitExtent_20 (HandleRef pThis, IntPtr splitExt, IntPtr startExt, int num, int total)

Static Private Member Functions

static vtkImageEuclideanDistance ()
 Automatically generated type registration mechanics.

Detailed Description

vtkImageEuclideanDistance - computes 3D Euclidean DT

Description vtkImageEuclideanDistance implements the Euclidean DT using Saito's algorithm. The distance map produced contains the square of the Euclidean distance values.

The algorithm has a o(n^(D+1)) complexity over nxnx...xn images in D dimensions. It is very efficient on relatively small images. Cuisenaire's algorithms should be used instead if n >> 500. These are not implemented yet.

For the special case of images where the slice-size is a multiple of 2^N with a large N (typically for 256x256 slices), Saito's algorithm encounters a lot of cache conflicts during the 3rd iteration which can slow it very significantly. In that case, one should use ::SetAlgorithmToSaitoCached() instead for better performance.

References:

T. Saito and J.I. Toriwaki. New algorithms for Euclidean distance transformations of an n-dimensional digitised picture with applications. Pattern Recognition, 27(11). pp. 1551--1565, 1994.

O. Cuisenaire. Distance Transformation: fast algorithms and applications to medical image processing. PhD Thesis, Universite catholique de Louvain, October 1999. http://ltswww.epfl.ch/~cuisenai/papers/oc_thesis.pdf


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

Kitware.VTK.vtkImageEuclideanDistance.vtkImageEuclideanDistance ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.

Undocumented Block.


Member Function Documentation

Used to define whether Spacing should be used in the computation of the distances.

Used to define whether Spacing should be used in the computation of the distances.

override void Kitware.VTK.vtkImageEuclideanDistance.Dispose ( bool  disposing) [protected]

Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Reimplemented from Kitware.VTK.vtkImageDecomposeFilter.

Selects a Euclidean DT algorithm. 1. Saito 2. Saito-cached More algorithms will be added later on.

Used to define whether Spacing should be used in the computation of the distances.

Used to set all non-zero voxels to MaximumDistance before starting the distance transformation. Setting Initialize off keeps the current value in the input image as starting point. This allows to superimpose several distance maps.

Any distance bigger than this->MaximumDistance will not ne computed but set to this->MaximumDistance instead.

Used to set all non-zero voxels to MaximumDistance before starting the distance transformation. Setting Initialize off keeps the current value in the input image as starting point. This allows to superimpose several distance maps.

Used to set all non-zero voxels to MaximumDistance before starting the distance transformation. Setting Initialize off keeps the current value in the input image as starting point. This allows to superimpose several distance maps.

override int Kitware.VTK.vtkImageEuclideanDistance.IsA ( string  type) [virtual]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkImageDecomposeFilter.

static new int Kitware.VTK.vtkImageEuclideanDistance.IsTypeOf ( string  type) [static]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkImageDecomposeFilter.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkAlgorithm.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkImageDecomposeFilter.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkImageDecomposeFilter.

Here is the call graph for this function:

virtual void Kitware.VTK.vtkImageEuclideanDistance.SetAlgorithm ( int  _arg) [virtual]

Selects a Euclidean DT algorithm. 1. Saito 2. Saito-cached More algorithms will be added later on.

Selects a Euclidean DT algorithm. 1. Saito 2. Saito-cached More algorithms will be added later on.

Selects a Euclidean DT algorithm. 1. Saito 2. Saito-cached More algorithms will be added later on.

Used to define whether Spacing should be used in the computation of the distances.

virtual void Kitware.VTK.vtkImageEuclideanDistance.SetInitialize ( int  _arg) [virtual]

Used to set all non-zero voxels to MaximumDistance before starting the distance transformation. Setting Initialize off keeps the current value in the input image as starting point. This allows to superimpose several distance maps.

virtual void Kitware.VTK.vtkImageEuclideanDistance.SetMaximumDistance ( double  _arg) [virtual]

Any distance bigger than this->MaximumDistance will not ne computed but set to this->MaximumDistance instead.

override int Kitware.VTK.vtkImageEuclideanDistance.SplitExtent ( IntPtr  splitExt,
IntPtr  startExt,
int  num,
int  total 
) [virtual]

Used internally for streaming and threads. Splits output update extent into num pieces. This method needs to be called num times. Results must not overlap for consistent starting extent. Subclass can override this method. This method returns the number of peices resulting from a successful split. This can be from 1 to "total". If 1 is returned, the extent cannot be split.

Reimplemented from Kitware.VTK.vtkThreadedImageAlgorithm.

static internal int Kitware.VTK.vtkImageEuclideanDistance.vtkImageEuclideanDistance_GetAlgorithm_03 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkImageEuclideanDistance.vtkImageEuclideanDistance_InitializeOff_07 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkImageEuclideanDistance.vtkImageEuclideanDistance_InitializeOn_08 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkImageEuclideanDistance.vtkImageEuclideanDistance_IsA_09 ( HandleRef  pThis,
string  type 
) [private]
static internal IntPtr Kitware.VTK.vtkImageEuclideanDistance.vtkImageEuclideanDistance_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkImageEuclideanDistance.vtkImageEuclideanDistance_NewInstance_12 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkImageEuclideanDistance.vtkImageEuclideanDistance_SafeDownCast_13 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkImageEuclideanDistance.vtkImageEuclideanDistance_SetAlgorithm_14 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkImageEuclideanDistance.vtkImageEuclideanDistance_SetConsiderAnisotropy_17 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkImageEuclideanDistance.vtkImageEuclideanDistance_SetInitialize_18 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkImageEuclideanDistance.vtkImageEuclideanDistance_SetMaximumDistance_19 ( HandleRef  pThis,
double  _arg 
) [private]
static internal int Kitware.VTK.vtkImageEuclideanDistance.vtkImageEuclideanDistance_SplitExtent_20 ( HandleRef  pThis,
IntPtr  splitExt,
IntPtr  startExt,
int  num,
int  total 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkImageEuclideanDistance.MRClassNameKey = "25vtkImageEuclideanDistance" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkImageDecomposeFilter.

new const string Kitware.VTK.vtkImageEuclideanDistance.MRFullTypeName = "Kitware.VTK.vtkImageEuclideanDistance"

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkImageDecomposeFilter.


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