18#ifndef itkFastChamferDistanceImageFilter_h
19#define itkFastChamferDistanceImageFilter_h
55template <
typename TInputImage,
typename TOutputImage>
83 using PixelType =
typename InputImageType::PixelType;
95 static constexpr unsigned int ImageDimension = InputImageType::ImageDimension;
96 static constexpr unsigned int OutputImageDimension = OutputImageType::ImageDimension;
114 itkSetMacro(MaximumDistance,
float);
115 itkGetConstMacro(MaximumDistance,
float);
131#ifdef ITK_USE_CONCEPT_CHECKING
162 float m_MaximumDistance{};
174#ifndef ITK_MANUAL_INSTANTIATION
175# include "itkFastChamferDistanceImageFilter.hxx"
This class compute the signed (positive and negative) chamfer distance in a narrow band.
typename RegionType::IndexType IndexType
typename NarrowBandType::Pointer NarrowBandPointer
NarrowBandPointer GetNarrowBand() const
typename InputImageType::PixelType PixelType
~FastChamferDistanceImageFilter() override=default
typename RegionType::SizeType SizeType
typename InputImageType::RegionType RegionType
RegionType GetRegionToProcess() const
void GenerateData() override
typename InputImageType::OffsetType OffsetType
FastChamferDistanceImageFilter()
void SetNarrowBand(NarrowBandType *ptr)
void SetRegionToProcess(const RegionType &r)
void PrintSelf(std::ostream &os, Indent indent) const override
Base class for all process objects that output image data.
TOutputImage OutputImageType
Base class for filters that take an image as input and produce an image as output.
TInputImage InputImageType
typename InputImageType::Pointer InputImagePointer
Control indentation during Print() invocation.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
#define itkConceptMacro(name, concept)
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....