#include <itkSignedDanielssonDistanceMapImageFilter.h>
Inheritance diagram for itk::SignedDanielssonDistanceMapImageFilter< TInputImage, TOutputImage >:
Public Types | |
typedef SignedDanielssonDistanceMapImageFilter | 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 InputImageType::PixelType | PixelType |
typedef RegionType::SizeType | SizeType |
typedef Image< OffsetType, itkGetStaticConstMacro(InputImageDimension) | VectorImageType ) |
typedef InputImageType::ConstPointer | InputImagePointer |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef VectorImageType::Pointer | VectorImagePointer |
Public Member Functions | |
virtual const char * | GetNameOfClass () const |
itkStaticConstMacro (InputImageDimension, unsigned int, InputImageType::ImageDimension) | |
virtual void | SetSquaredDistance (bool _arg) |
virtual const bool & | GetSquaredDistance () |
virtual void | SquaredDistanceOn () |
virtual void | SquaredDistanceOff () |
virtual void | SetUseImageSpacing (bool _arg) |
virtual const bool & | GetUseImageSpacing () |
virtual void | UseImageSpacingOn () |
virtual void | UseImageSpacingOff () |
virtual void | SetInsideIsPositive (bool _arg) |
virtual const bool & | GetInsideIsPositive () |
virtual void | InsideIsPositiveOn () |
virtual void | InsideIsPositiveOff () |
OutputImageType * | GetVoronoiMap (void) |
OutputImageType * | GetDistanceMap (void) |
VectorImageType * | GetVectorDistanceMap (void) |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
SignedDanielssonDistanceMapImageFilter () | |
virtual | ~SignedDanielssonDistanceMapImageFilter () |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | GenerateData () |
This filter computes the distance map of the input image as an approximation with pixel accuracy to the Euclidean distance.
For purposes of evaluating the signed distance map, the input is assumed to be binary composed of pixels with value 0 and non-zero.
The inside is considered as having negative distances. Outside is treated as having positive distances. To change the convention, use the InsideIsPositive(bool) function.
As a convention, the distance is evaluated from the boundary of the ON pixels.
The filter returns
This filter internally uses the DanielssonDistanceMap filter. This filter is N-dimensional.
Definition at line 89 of file itkSignedDanielssonDistanceMapImageFilter.h.
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 97 of file itkSignedDanielssonDistanceMapImageFilter.h. |
|
Type for the index of the input image. Definition at line 116 of file itkSignedDanielssonDistanceMapImageFilter.h. |
|
Pointer Type for input image. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 136 of file itkSignedDanielssonDistanceMapImageFilter.h. |
|
Type for input image. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 106 of file itkSignedDanielssonDistanceMapImageFilter.h. |
|
Type for the index of the input image. Definition at line 119 of file itkSignedDanielssonDistanceMapImageFilter.h. |
|
Pointer Type for the output image. Reimplemented from itk::ImageSource< TOutputImage >. Definition at line 139 of file itkSignedDanielssonDistanceMapImageFilter.h. |
|
Type for two of the three output images: the VoronoiMap and the DistanceMap. Reimplemented from itk::ImageSource< TOutputImage >. Definition at line 110 of file itkSignedDanielssonDistanceMapImageFilter.h. |
|
Type for the pixel type of the input image. Definition at line 122 of file itkSignedDanielssonDistanceMapImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 96 of file itkSignedDanielssonDistanceMapImageFilter.h. |
|
Type for the region of the input image. Definition at line 113 of file itkSignedDanielssonDistanceMapImageFilter.h. |
|
Standard class typedefs. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 94 of file itkSignedDanielssonDistanceMapImageFilter.h. |
|
Type for the size of the input image. Definition at line 125 of file itkSignedDanielssonDistanceMapImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 95 of file itkSignedDanielssonDistanceMapImageFilter.h. |
|
Pointer Type for the vector distance image. Definition at line 142 of file itkSignedDanielssonDistanceMapImageFilter.h. |
|
Pointer Type for the vector distance image Definition at line 133 of file itkSignedDanielssonDistanceMapImageFilter.h. |
|
|
|
Definition at line 197 of file itkSignedDanielssonDistanceMapImageFilter.h. |
|
Compute Danielsson distance map and Voronoi Map. Reimplemented from itk::ImageSource< 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 inside represents positive values in the signed distance map. See GetInsideIsPositive() |
|
Run-time type information (and related methods). Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
Get the distance squared. |
|
Get whether spacing is used. |
|
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 if the inside represents positive values in the signed distance map. By convention ON pixels are treated as inside pixels. Default is true. |
|
The dimension of the input image. |
|
Method for creation through the object factory Reimplemented from itk::Object. |
|
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 inside represents positive values in the signed distance map. By convention ON pixels are treated as inside pixels. |
|
Set if the distance should be squared. |
|
Set if image spacing should be used in computing distances. |
|
|
|
Set On/Off if the distance is squared. |
|
|
|
Set On/Off whether spacing is used. |