#include <itkDanielssonDistanceMapImageFilter.h>
Inheritance diagram for itk::DanielssonDistanceMapImageFilter:
Public Types | |
typedef DanielssonDistanceMapImageFilter | Self |
typedef ImageToImageFilter< TInputImage, TOutputImage > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImage | InputImageType |
typedef TOutputImage | OutputImageType |
typedef InputImageType::RegionType | RegionType |
typedef RegionType::IndexType | IndexType |
typedef InputImageType::OffsetType | OffsetType |
typedef RegionType::SizeType | SizeType |
typedef Image< OffsetType, itkGetStaticConstMacro(InputImageDimension) | VectorImageType ) |
typedef InputImageType::ConstPointer | InputImagePointer |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef VectorImageType::Pointer | VectorImagePointer |
Public Methods | |
virtual const char * | GetClassName () const |
itkStaticConstMacro (InputImageDimension, unsigned int, InputImageType::ImageDimension) | |
virtual void | SetSquaredDistance (bool _arg) |
itkGetConstReferenceMacro (SquaredDistance, bool) | |
virtual void | SquaredDistanceOn () |
virtual void | SquaredDistanceOff () |
virtual void | SetInputIsBinary (bool _arg) |
itkGetConstReferenceMacro (InputIsBinary, bool) | |
virtual void | InputIsBinaryOn () |
virtual void | InputIsBinaryOff () |
OutputImageType * | GetVoronoiMap (void) |
OutputImageType * | GetDistanceMap (void) |
VectorImageType * | GetVectorDistanceMap (void) |
Static Public Methods | |
Pointer | New () |
Protected Methods | |
DanielssonDistanceMapImageFilter () | |
virtual | ~DanielssonDistanceMapImageFilter () |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | GenerateData () |
void | PrepareData () |
void | ComputeVoronoiMap () |
void | UpdateLocalDistance (VectorImageType *, const IndexType &, const OffsetType &) |
This Filter computes the distance map of the input image as an approximation with pixel accuracy to the Euclidean distance.
The input is assumed to contain numeric codes defining objects. The filter will produce as output the following images:
Definition at line 56 of file itkDanielssonDistanceMapImageFilter.h.
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 64 of file itkDanielssonDistanceMapImageFilter.h. |
|
Type for the index of the input image. Definition at line 82 of file itkDanielssonDistanceMapImageFilter.h. |
|
Pointer Type for input image. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 98 of file itkDanielssonDistanceMapImageFilter.h. |
|
Type for input image. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 73 of file itkDanielssonDistanceMapImageFilter.h. |
|
Type for the index of the input image. Definition at line 85 of file itkDanielssonDistanceMapImageFilter.h. |
|
Pointer Type for the output image. Reimplemented from itk::ImageSource< TOutputImage >. Definition at line 101 of file itkDanielssonDistanceMapImageFilter.h. |
|
Type for the output image. Reimplemented from itk::ImageSource< TOutputImage >. Definition at line 76 of file itkDanielssonDistanceMapImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 63 of file itkDanielssonDistanceMapImageFilter.h. |
|
Type for the region of the input image. Definition at line 79 of file itkDanielssonDistanceMapImageFilter.h. |
|
Standard class typedefs. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 61 of file itkDanielssonDistanceMapImageFilter.h. |
|
Type for the size of the input image. Definition at line 88 of file itkDanielssonDistanceMapImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 62 of file itkDanielssonDistanceMapImageFilter.h. |
|
Pointer Type for the vector distance image. Definition at line 104 of file itkDanielssonDistanceMapImageFilter.h. |
|
Pointer Type for the vector distance image Definition at line 95 of file itkDanielssonDistanceMapImageFilter.h. |
|
|
|
Definition at line 146 of file itkDanielssonDistanceMapImageFilter.h. |
|
Compute Voronoi Map. |
|
Compute Danielsson distance map and Voronoi Map. Reimplemented from itk::ImageSource< TOutputImage >. |
|
Run-time type information (and related methods). Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
Get Distance map image. The distance map is shown as a gray value image depending on the pixel type of the output image. Regarding the source image, background should be dark (gray value = 0) and object should have a gray value larger than 0. The minimal distance is calculated on the object frontier, and the output image gives for each pixel its minimal distance from the object (if there is more than one object the closest object is considered). |
|
Get vector field of distances. |
|
Get Voronoi Map This Map shows for each pixel what object is closest to it. Each object should be labeled by a number (larger than 0), so the map has a value for each pixel corresponding to the label of the closest object. |
|
|
|
Set On/Off if the input is binary. |
|
Get if the input is binary. |
|
Get the distance squared. |
|
The dimension of the input image. |
|
Method for creation through the object factory Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
Prepare data. |
|
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::ImageToImageFilter< TInputImage, TOutputImage >. |
|
Set if the input is binary. |
|
Set if the distance should be squared. |
|
|
|
Set On/Off if the distance is squared. |
|
Update distance map locally. |