18#ifndef itkSignedDanielssonDistanceMapImageFilter_h
19#define itkSignedDanielssonDistanceMapImageFilter_h
29template <
typename InputPixelType>
31 const {
if (input){
return InputPixelType {};
85template <
typename TInputImage,
typename TOutputImage,
typename TVoronoiImage = TInputImage>
148 itkSetMacro(SquaredDistance,
bool);
151 itkGetConstReferenceMacro(SquaredDistance,
bool);
154 itkBooleanMacro(SquaredDistance);
157 itkSetMacro(UseImageSpacing,
bool);
160 itkGetConstReferenceMacro(UseImageSpacing,
bool);
163 itkBooleanMacro(UseImageSpacing);
167 itkSetMacro(InsideIsPositive,
bool);
171 itkGetConstReferenceMacro(InsideIsPositive,
bool);
176 itkBooleanMacro(InsideIsPositive);
230#ifndef ITK_MANUAL_INSTANTIATION
231# include "itkSignedDanielssonDistanceMapImageFilter.hxx"
InputPixelType operator()(InputPixelType input) const
ProcessObject::DataObjectPointer MakeOutput(ProcessObject::DataObjectPointerArraySizeType idx) override
DataObject::Pointer DataObjectPointer
Templated n-dimensional image class.
SmartPointer< Self > Pointer
Control indentation during Print() invocation.
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
typename InputImageType::OffsetType OffsetType
ImageToImageFilter< TInputImage, TOutputImage > Superclass
void GenerateData() override
VectorImageType * GetVectorDistanceMap()
typename VoronoiImageType::Pointer VoronoiImagePointer
typename InputImageType::PixelType PixelType
VoronoiImageType * GetVoronoiMap()
DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) override
typename VectorImageType::Pointer VectorImagePointer
static constexpr unsigned int InputImageDimension
typename RegionType::IndexType IndexType
SmartPointer< const Self > ConstPointer
Image< OffsetType, Self::InputImageDimension > VectorImageType
typename InputImageType::ConstPointer InputImagePointer
typename VoronoiImageType::PixelType VoronoiPixelType
TOutputImage OutputImageType
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
typename RegionType::SizeType SizeType
typename InputImageType::RegionType RegionType
SignedDanielssonDistanceMapImageFilter Self
SmartPointer< Self > Pointer
OutputImageType * GetDistanceMap()
TVoronoiImage VoronoiImageType
SignedDanielssonDistanceMapImageFilter()
~SignedDanielssonDistanceMapImageFilter() override=default
void PrintSelf(std::ostream &os, Indent indent) const override
TInputImage InputImageType
typename OutputImageType::Pointer OutputImagePointer
Implements transparent reference counting.
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....