#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) |
virtual const bool & | GetSquaredDistance () |
virtual void | SquaredDistanceOn () |
virtual void | SquaredDistanceOff () |
virtual void | SetInputIsBinary (bool _arg) |
virtual const bool & | GetInputIsBinary () |
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 83 of file itkDanielssonDistanceMapImageFilter.h. |
|
Pointer Type for input image. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 99 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 86 of file itkDanielssonDistanceMapImageFilter.h. |
|
Pointer Type for the output image. Reimplemented from itk::ImageSource< TOutputImage >. Definition at line 102 of file itkDanielssonDistanceMapImageFilter.h. |
|
Type for two of the three output images: the VoronoiMap and the DistanceMap. Reimplemented from itk::ImageSource< TOutputImage >. Definition at line 77 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 80 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 89 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 105 of file itkDanielssonDistanceMapImageFilter.h. |
|
Pointer Type for the vector distance image Definition at line 96 of file itkDanielssonDistanceMapImageFilter.h. |
|
|
|
Definition at line 147 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 if the input is binary. |
|
Get the distance squared. |
|
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. |
|
The dimension of the input image. |
|
Method for creation through the object factory Reimplemented from itk::Object. |
|
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. |