Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

mitkDistanceTransformSaito Class Reference

mitkDistanceTransformSaito - computes 3D Euclidean DT More...

#include <mitkDistanceTransformSaito.h>

Inherits mitkVolumeToVolumeFilter.

Inheritance diagram for mitkDistanceTransformSaito:

Inheritance graph
[legend]
Collaboration diagram for mitkDistanceTransformSaito:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 mitkDistanceTransformSaito ()
void SetDimension (int d)
void SetImagePart (int nIp=3)
int GetImagePart ()

Detailed Description

mitkDistanceTransformSaito - computes 3D Euclidean DT

mitkDistanceTransformSaito implements the Euclidean DT using Saito's algorithm. The distance map produced contains the square of the Euclidean distance values to the nearest zero pixel. Input of this class is a black and white image.


Constructor & Destructor Documentation

mitkDistanceTransformSaito::mitkDistanceTransformSaito  ) 
 

Constructor of the class


Member Function Documentation

int mitkDistanceTransformSaito::GetImagePart  )  [inline]
 

Get the part of the image to compute EDT

Returns:
1: the white part of the image is computed 2: the black part of the image is computed 3: both the black and white parts of the image is computed.

void mitkDistanceTransformSaito::SetDimension int  d  ) 
 

Set the number of dimensions that you want to compute EDT

Parameters:
d Represent the dimention of the volume, 2 or 3

void mitkDistanceTransformSaito::SetImagePart int  nIp = 3  ) 
 

Set the part of the image to compute EDT

Parameters:
nIp 1: compute the EDT of the white part 2: compute the EDT of the black part 3: compute the EDT of both the black and white part. distance of the black part is negtive, those of the white part is positive


The documentation for this class was generated from the following file:
Generated on Tue Feb 25 15:02:10 2014 for MITK (Medical Imaging ToolKit) by  doxygen 1.4.3