18 #ifndef itkDanielssonDistanceMapImageFilter_h
19 #define itkDanielssonDistanceMapImageFilter_h
58 template<
typename TInputImage,
59 typename TOutputImage,
60 typename TVoronoiImage = TInputImage >
116 itkStaticConstMacro(InputImageDimension,
unsigned int,
117 InputImageType::ImageDimension);
133 itkSetMacro(SquaredDistance,
bool);
136 itkGetConstReferenceMacro(SquaredDistance,
bool);
139 itkBooleanMacro(SquaredDistance);
146 itkSetMacro(InputIsBinary,
bool);
149 itkGetConstReferenceMacro(InputIsBinary,
bool);
152 itkBooleanMacro(InputIsBinary);
155 itkSetMacro(UseImageSpacing,
bool);
158 itkGetConstReferenceMacro(UseImageSpacing,
bool);
161 itkBooleanMacro(UseImageSpacing);
185 using Superclass::MakeOutput;
188 #ifdef ITK_USE_CONCEPT_CHECKING
189 itkStaticConstMacro(OutputImageDimension,
unsigned int,
190 TOutputImage::ImageDimension);
191 itkStaticConstMacro(VoronoiImageDimension,
unsigned int,
192 TVoronoiImage::ImageDimension);
210 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
213 void GenerateData() ITK_OVERRIDE;
219 void ComputeVoronoiMap();
222 void UpdateLocalDistance(VectorImageType *,
229 bool m_SquaredDistance;
230 bool m_InputIsBinary;
231 bool m_UseImageSpacing;
238 #ifndef ITK_MANUAL_INSTANTIATION
239 #include "itkDanielssonDistanceMapImageFilter.hxx"
InputImageType::ConstPointer InputImagePointer
SizeType::SizeValueType SizeValueType
RegionType::IndexType IndexType
virtual ~DanielssonDistanceMapImageFilter() override
Light weight base class for most itk classes.
VoronoiImageType::Pointer VoronoiImagePointer
DataObject::Pointer DataObjectPointer
RegionType::SizeType SizeType
InputImageType::SpacingType SpacingType
VoronoiImageType::PixelType VoronoiPixelType
InputImageType::SpacingValueType SpacingValueType
InputImageType::PixelType InputPixelType
unsigned long SizeValueType
InputImageType::RegionType RegionType
TVoronoiImage VoronoiImageType
SmartPointer< Self > Pointer
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
OutputImageType::Pointer OutputImagePointer
SmartPointer< const Self > ConstPointer
TInputImage InputImageType
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
Base class for filters that take an image as input and produce an image as output.
ImageToImageFilter< TInputImage, TOutputImage > Superclass
Control indentation during Print() invocation.
ImageBaseType::SizeType SizeType
DanielssonDistanceMapImageFilter Self
Image< OffsetType, itkGetStaticConstMacro(InputImageDimension) > VectorImageType
ImageType OutputImageType
This filter computes the distance map of the input image as an approximation with pixel accuracy to t...
VectorImageType::Pointer VectorImagePointer
#define itkConceptMacro(name, concept)
InputImageType::OffsetType OffsetType
Templated n-dimensional image class.
OutputImageType::PixelType OutputPixelType
ImageBaseType::IndexType IndexType
TOutputImage OutputImageType