18 #ifndef itkDanielssonDistanceMapImageFilter_h
19 #define itkDanielssonDistanceMapImageFilter_h
58 template<
typename TInputImage,
59 typename TOutputImage,
60 typename TVoronoiImage = TInputImage >
118 static constexpr
unsigned int InputImageDimension = InputImageType::ImageDimension;
122 Self::InputImageDimension >;
134 itkSetMacro(SquaredDistance,
bool);
137 itkGetConstReferenceMacro(SquaredDistance,
bool);
140 itkBooleanMacro(SquaredDistance);
147 itkSetMacro(InputIsBinary,
bool);
150 itkGetConstReferenceMacro(InputIsBinary,
bool);
153 itkBooleanMacro(InputIsBinary);
156 itkSetMacro(UseImageSpacing,
bool);
159 itkGetConstReferenceMacro(UseImageSpacing,
bool);
162 itkBooleanMacro(UseImageSpacing);
186 using Superclass::MakeOutput;
189 #ifdef ITK_USE_CONCEPT_CHECKING
190 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
191 static constexpr
unsigned int VoronoiImageDimension = TVoronoiImage::ImageDimension;
209 void PrintSelf(std::ostream & os,
Indent indent)
const override;
212 void GenerateData()
override;
218 void ComputeVoronoiMap();
235 #ifndef ITK_MANUAL_INSTANTIATION
236 #include "itkDanielssonDistanceMapImageFilter.hxx"
typename OutputImageType::Pointer OutputImagePointer
Light weight base class for most itk classes.
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
unsigned long SizeValueType
typename VoronoiImageType::PixelType VoronoiPixelType
typename OutputImageType::PixelType OutputPixelType
typename SizeType::SizeValueType SizeValueType
typename InputImageType::PixelType InputPixelType
typename InputImageType::OffsetType OffsetType
typename RegionType::SizeType SizeType
typename InputImageType::Pointer InputImagePointer
ImageBaseType::SizeType SizeType
typename RegionType::IndexType IndexType
typename InputImageType::SpacingValueType SpacingValueType
typename InputImageType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageType OutputImageType
typename VoronoiImageType::Pointer VoronoiImagePointer
typename InputImageType::SpacingType SpacingType
SpacingType m_InputSpacingCache
typename VectorImageType::Pointer VectorImagePointer
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
ImageBaseType::RegionType RegionType
This filter computes the distance map of the input image as an approximation with pixel accuracy to t...
SmartPointer< Self > Pointer
#define itkConceptMacro(name, concept)
ImageType VoronoiImageType
Templated n-dimensional image class.