18#ifndef itkDanielssonDistanceMapImageFilter_h
19#define itkDanielssonDistanceMapImageFilter_h
55template <
typename TInputImage,
typename TOutputImage,
typename TVoronoiImage = TInputImage>
95 using SizeType =
typename RegionType::SizeType;
127 itkSetMacro(SquaredDistance,
bool);
128 itkGetConstReferenceMacro(SquaredDistance,
bool);
129 itkBooleanMacro(SquaredDistance);
137 itkSetMacro(InputIsBinary,
bool);
138 itkGetConstReferenceMacro(InputIsBinary,
bool);
139 itkBooleanMacro(InputIsBinary);
143 itkSetMacro(UseImageSpacing,
bool);
144 itkGetConstReferenceMacro(UseImageSpacing,
bool);
145 itkBooleanMacro(UseImageSpacing);
216#ifndef ITK_MANUAL_INSTANTIATION
217# include "itkDanielssonDistanceMapImageFilter.hxx"
typename InputImageType::OffsetType OffsetType
SmartPointer< Self > Pointer
typename InputImageType::RegionType RegionType
static constexpr unsigned int VoronoiImageDimension
ImageToImageFilter< TInputImage, TOutputImage > Superclass
VectorImageType * GetVectorDistanceMap()
DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) override
Make a DataObject of the correct type to used as the specified output.
typename VoronoiImageType::Pointer VoronoiImagePointer
VoronoiImageType * GetVoronoiMap()
~DanielssonDistanceMapImageFilter() override=default
typename OutputImageType::Pointer OutputImagePointer
TOutputImage OutputImageType
typename RegionType::SizeType SizeType
typename InputImageType::PixelType InputPixelType
typename SizeType::SizeValueType SizeValueType
typename OutputImageType::PixelType OutputPixelType
OutputImageType * GetDistanceMap()
TVoronoiImage VoronoiImageType
static constexpr unsigned int OutputImageDimension
void GenerateData() override
DanielssonDistanceMapImageFilter()
DataObject::Pointer DataObjectPointer
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
DanielssonDistanceMapImageFilter Self
SpacingType m_InputSpacingCache
typename RegionType::IndexType IndexType
typename InputImageType::ConstPointer InputImagePointer
typename InputImageType::SpacingType SpacingType
typename VectorImageType::Pointer VectorImagePointer
void PrintSelf(std::ostream &os, Indent indent) const override
Image< OffsetType, Self::InputImageDimension > VectorImageType
typename InputImageType::SpacingValueType SpacingValueType
SmartPointer< const Self > ConstPointer
void UpdateLocalDistance(VectorImageType *, const IndexType &, const OffsetType &)
static constexpr unsigned int InputImageDimension
typename VoronoiImageType::PixelType VoronoiPixelType
TInputImage InputImageType
SmartPointer< Self > Pointer
ProcessObject::DataObjectPointer MakeOutput(ProcessObject::DataObjectPointerArraySizeType idx) override
Templated n-dimensional image class.
SmartPointer< Self > Pointer
Control indentation during Print() invocation.
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
Implements transparent reference counting.
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....