ITK
5.2.0
Insight Toolkit
|
#include <itkApproximateSignedDistanceMapImageFilter.h>
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | InputImagePointer = typename InputImageType::ConstPointer |
using | InputImageType = TInputImage |
using | InputPixelType = typename InputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageType = TOutputImage |
using | OutputPixelType = typename OutputImageType::PixelType |
using | OutputSizeType = typename OutputImageType::SizeType |
using | OutputSizeValueType = typename OutputSizeType::SizeValueType |
using | Pointer = SmartPointer< Self > |
using | Self = ApproximateSignedDistanceMapImageFilter |
using | Superclass = ImageToImageFilter< TInputImage, TOutputImage > |
Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | InputImageConstPointer = typename InputImageType::ConstPointer |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TInputImage |
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | Pointer = SmartPointer< Self > |
using | Self = ImageToImageFilter |
using | Superclass = ImageSource< TOutputImage > |
Public Types inherited from itk::ImageSource< TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = Superclass::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArraySizeType = Superclass::DataObjectPointerArraySizeType |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TOutputImage |
using | Pointer = SmartPointer< Self > |
using | Self = ImageSource |
using | Superclass = ProcessObject |
Public Types inherited from itk::ProcessObject | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = DataObject::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArray = std::vector< DataObjectPointer > |
using | DataObjectPointerArraySizeType = DataObjectPointerArray::size_type |
using | MultiThreaderType = MultiThreaderBase |
using | NameArray = std::vector< DataObjectIdentifierType > |
using | Pointer = SmartPointer< Self > |
using | Self = ProcessObject |
using | Superclass = Object |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static void | SetGlobalDefaultDirectionTolerance (double) |
static double | GetGlobalDefaultDirectionTolerance () |
static void | SetGlobalDefaultCoordinateTolerance (double) |
static double | GetGlobalDefaultCoordinateTolerance () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Create a map of the approximate signed distance from the boundaries of a binary image.
The ApproximateSignedDistanceMapImageFilter takes as input a binary image and produces a signed distance map. Each pixel value in the output contains the approximate distance from that pixel to the nearest "object" in the binary image. This filter differs from the DanielssonDistanceMapImageFilter in that it calculates the distance to the "object edge" for pixels within the object.
Negative values in the output indicate that the pixel at that position is within an object in the input image. The absolute value of a negative pixel represents the approximate distance to the nearest object boundary pixel.
WARNING: This filter requires that the output type be floating-point. Otherwise internal calculations will not be performed to the appropriate precision, resulting in completely incorrect (read: zero-valued) output.
The distances computed by this filter are Chamfer distances, which are only an approximation to Euclidian distances, and are not as exact approximations as those calculated by the DanielssonDistanceMapImageFilter. On the other hand, this filter is faster.
This filter requires that an "inside value" and "outside value" be set as parameters. The "inside value" is the intensity value of the binary image which corresponds to objects, and the "outside value" is the intensity of the background. (A typical binary image often represents objects as black (0) and background as white (usually 255), or vice-versa.) Note that this filter is slightly faster if the inside value is less than the outside value. Otherwise an extra iteration through the image is required.
This filter uses the FastChamferDistanceImageFilter and the IsoContourDistanceImageFilter internally to perform the distance calculations.
Definition at line 76 of file itkApproximateSignedDistanceMapImageFilter.h.
|
private |
Set/Get intensity value representing the interior of objects in the mask.
Definition at line 146 of file itkApproximateSignedDistanceMapImageFilter.h.
using itk::ApproximateSignedDistanceMapImageFilter< TInputImage, TOutputImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 85 of file itkApproximateSignedDistanceMapImageFilter.h.
using itk::ApproximateSignedDistanceMapImageFilter< TInputImage, TOutputImage >::InputImagePointer = typename InputImageType::ConstPointer |
Pointer Type for input image.
Definition at line 113 of file itkApproximateSignedDistanceMapImageFilter.h.
using itk::ApproximateSignedDistanceMapImageFilter< TInputImage, TOutputImage >::InputImageType = TInputImage |
Type for input image.
Definition at line 94 of file itkApproximateSignedDistanceMapImageFilter.h.
using itk::ApproximateSignedDistanceMapImageFilter< TInputImage, TOutputImage >::InputPixelType = typename InputImageType::PixelType |
Type for the pixels of the input image.
Definition at line 100 of file itkApproximateSignedDistanceMapImageFilter.h.
|
private |
Set/Get intensity value representing the interior of objects in the mask.
Definition at line 145 of file itkApproximateSignedDistanceMapImageFilter.h.
using itk::ApproximateSignedDistanceMapImageFilter< TInputImage, TOutputImage >::OutputImagePointer = typename OutputImageType::Pointer |
Pointer Type for the output image.
Definition at line 116 of file itkApproximateSignedDistanceMapImageFilter.h.
using itk::ApproximateSignedDistanceMapImageFilter< TInputImage, TOutputImage >::OutputImageType = TOutputImage |
Type for the output image.
Definition at line 97 of file itkApproximateSignedDistanceMapImageFilter.h.
using itk::ApproximateSignedDistanceMapImageFilter< TInputImage, TOutputImage >::OutputPixelType = typename OutputImageType::PixelType |
Type for the pixels of the output image.
Definition at line 103 of file itkApproximateSignedDistanceMapImageFilter.h.
using itk::ApproximateSignedDistanceMapImageFilter< TInputImage, TOutputImage >::OutputSizeType = typename OutputImageType::SizeType |
Type of input image size and size value
Definition at line 106 of file itkApproximateSignedDistanceMapImageFilter.h.
using itk::ApproximateSignedDistanceMapImageFilter< TInputImage, TOutputImage >::OutputSizeValueType = typename OutputSizeType::SizeValueType |
Definition at line 107 of file itkApproximateSignedDistanceMapImageFilter.h.
using itk::ApproximateSignedDistanceMapImageFilter< TInputImage, TOutputImage >::Pointer = SmartPointer<Self> |
Definition at line 84 of file itkApproximateSignedDistanceMapImageFilter.h.
using itk::ApproximateSignedDistanceMapImageFilter< TInputImage, TOutputImage >::Self = ApproximateSignedDistanceMapImageFilter |
Standard type alias
Definition at line 82 of file itkApproximateSignedDistanceMapImageFilter.h.
using itk::ApproximateSignedDistanceMapImageFilter< TInputImage, TOutputImage >::Superclass = ImageToImageFilter<TInputImage, TOutputImage> |
Definition at line 83 of file itkApproximateSignedDistanceMapImageFilter.h.
|
protected |
Set/Get intensity value representing the interior of objects in the mask.
|
overrideprotecteddefault |
Set/Get intensity value representing the interior of objects in the mask.
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
overrideprotectedvirtual |
Set/Get intensity value representing the interior of objects in the mask.
Reimplemented from itk::ImageSource< TOutputImage >.
|
virtual |
Set/Get intensity value representing the interior of objects in the mask.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set/Get intensity value representing the interior of objects in the mask.
|
static |
standard New() method support
|
overrideprotectedvirtual |
Set/Get intensity value representing the interior of objects in the mask.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set/Get intensity value representing the interior of objects in the mask.
|
virtual |
Set/Get intensity value representing non-objects in the mask.
|
staticconstexpr |
The dimension of the input image.
Definition at line 110 of file itkApproximateSignedDistanceMapImageFilter.h.
|
private |
Set/Get intensity value representing the interior of objects in the mask.
Definition at line 149 of file itkApproximateSignedDistanceMapImageFilter.h.
|
private |
Set/Get intensity value representing the interior of objects in the mask.
Definition at line 151 of file itkApproximateSignedDistanceMapImageFilter.h.
|
private |
Set/Get intensity value representing the interior of objects in the mask.
Definition at line 147 of file itkApproximateSignedDistanceMapImageFilter.h.
|
private |
Set/Get intensity value representing the interior of objects in the mask.
Definition at line 152 of file itkApproximateSignedDistanceMapImageFilter.h.