ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkMorphologicalDistanceTransformImageFilter.h>
Distance transform of a mask using parabolic morphological methods.
Morphological erosions using a parabolic structuring element can be used to compute a distance transform of a mask by setting the "Outside" value to 0 and the "inside" value to +infinity. The output of the parabolic erosion are the square of the distance to the nearest zero valued voxel. Thus we can compute the distance transform by taking the sqrt of the erosion.
The output pixel type needs to support values as large as the square of the largest value of the distance - just use float to be safe.
Core methods described in the InsightJournal article: "Morphology with parabolic structuring elements"
http://hdl.handle.net/1926/1370
Definition at line 59 of file itkMorphologicalDistanceTransformImageFilter.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Protected Types | |
typedef itk::ParabolicErodeImageFilter < OutputImageType, OutputImageType > | ErodeType |
typedef itk::SqrtImageFilter < OutputImageType, OutputImageType > | SqrtType |
typedef itk::BinaryThresholdImageFilter < InputImageType, OutputImageType > | ThreshType |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
Private Attributes | |
ErodeType::Pointer | m_Erode |
InputPixelType | m_OutsideValue |
bool | m_SqrDist |
SqrtType::Pointer | m_Sqrt |
ThreshType::Pointer | m_Thresh |
Additional Inherited Members | |
Static Protected Member Functions inherited from itk::ImageSource< TOutputImage > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer< const Self > itk::MorphologicalDistanceTransformImageFilter< TInputImage, TOutputImage >::ConstPointer |
Definition at line 68 of file itkMorphologicalDistanceTransformImageFilter.h.
|
protected |
Definition at line 145 of file itkMorphologicalDistanceTransformImageFilter.h.
typedef TInputImage::ConstPointer itk::MorphologicalDistanceTransformImageFilter< TInputImage, TOutputImage >::InputImageConstPointer |
Definition at line 86 of file itkMorphologicalDistanceTransformImageFilter.h.
typedef TInputImage::Pointer itk::MorphologicalDistanceTransformImageFilter< TInputImage, TOutputImage >::InputImagePointer |
Smart pointer typedef support.
Definition at line 85 of file itkMorphologicalDistanceTransformImageFilter.h.
typedef TInputImage itk::MorphologicalDistanceTransformImageFilter< TInputImage, TOutputImage >::InputImageType |
Pixel Type of the input image
Definition at line 74 of file itkMorphologicalDistanceTransformImageFilter.h.
typedef TInputImage::PixelType itk::MorphologicalDistanceTransformImageFilter< TInputImage, TOutputImage >::InputPixelType |
Definition at line 79 of file itkMorphologicalDistanceTransformImageFilter.h.
typedef TOutputImage itk::MorphologicalDistanceTransformImageFilter< TInputImage, TOutputImage >::OutputImageType |
Definition at line 78 of file itkMorphologicalDistanceTransformImageFilter.h.
typedef TOutputImage::PixelType itk::MorphologicalDistanceTransformImageFilter< TInputImage, TOutputImage >::OutputPixelType |
Definition at line 82 of file itkMorphologicalDistanceTransformImageFilter.h.
typedef SmartPointer< Self > itk::MorphologicalDistanceTransformImageFilter< TInputImage, TOutputImage >::Pointer |
Definition at line 67 of file itkMorphologicalDistanceTransformImageFilter.h.
typedef itk::FixedArray< ScalarRealType, TInputImage::ImageDimension > itk::MorphologicalDistanceTransformImageFilter< TInputImage, TOutputImage >::RadiusType |
a type to represent the "kernel radius"
Definition at line 98 of file itkMorphologicalDistanceTransformImageFilter.h.
typedef NumericTraits< InputPixelType >::RealType itk::MorphologicalDistanceTransformImageFilter< TInputImage, TOutputImage >::RealType |
Definition at line 80 of file itkMorphologicalDistanceTransformImageFilter.h.
typedef NumericTraits< InputPixelType >::ScalarRealType itk::MorphologicalDistanceTransformImageFilter< TInputImage, TOutputImage >::ScalarRealType |
Definition at line 81 of file itkMorphologicalDistanceTransformImageFilter.h.
typedef MorphologicalDistanceTransformImageFilter itk::MorphologicalDistanceTransformImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Definition at line 65 of file itkMorphologicalDistanceTransformImageFilter.h.
|
protected |
Definition at line 146 of file itkMorphologicalDistanceTransformImageFilter.h.
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::MorphologicalDistanceTransformImageFilter< TInputImage, TOutputImage >::Superclass |
Definition at line 66 of file itkMorphologicalDistanceTransformImageFilter.h.
|
protected |
Definition at line 144 of file itkMorphologicalDistanceTransformImageFilter.h.
|
protected |
Begin concept checking End concept checking
|
inlineprotectedvirtual |
Begin concept checking End concept checking
Definition at line 136 of file itkMorphologicalDistanceTransformImageFilter.h.
|
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.
|
protectedvirtual |
Generate Data
Reimplemented from itk::ImageSource< TOutputImage >.
|
virtual |
Runtime information support.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
this describes the input mask - default value 0 - we compute the distance from all voxels with value not equal to "OutsideValue" to the nearest voxel with value "OutsideValue"
|
virtual |
|
inline |
Definition at line 114 of file itkMorphologicalDistanceTransformImageFilter.h.
|
virtual |
Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data.
Reimplemented from itk::Object.
|
static |
Method for creation through the object factory.
|
protectedvirtual |
Begin concept checking End concept checking
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
this describes the input mask - default value 0 - we compute the distance from all voxels with value not equal to "OutsideValue" to the nearest voxel with value "OutsideValue"
|
virtual |
|
inline |
Is the transform in world or voxel units - default is world
Definition at line 109 of file itkMorphologicalDistanceTransformImageFilter.h.
|
virtual |
|
virtual |
|
static |
Image related typedefs.
Definition at line 94 of file itkMorphologicalDistanceTransformImageFilter.h.
|
static |
Image related typedefs.
Definition at line 92 of file itkMorphologicalDistanceTransformImageFilter.h.
|
private |
Definition at line 151 of file itkMorphologicalDistanceTransformImageFilter.h.
|
private |
Definition at line 148 of file itkMorphologicalDistanceTransformImageFilter.h.
|
private |
Definition at line 154 of file itkMorphologicalDistanceTransformImageFilter.h.
|
private |
Definition at line 153 of file itkMorphologicalDistanceTransformImageFilter.h.
|
private |
Definition at line 152 of file itkMorphologicalDistanceTransformImageFilter.h.
|
static |
Image related typedefs.
Definition at line 90 of file itkMorphologicalDistanceTransformImageFilter.h.