18 #ifndef itkSignedMaurerDistanceMapImageFilter_h
19 #define itkSignedMaurerDistanceMapImageFilter_h
61 template<
typename TInputImage,
typename TOutputImage >
69 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
70 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
71 static constexpr
unsigned int ImageDimension = TOutputImage::ImageDimension;
118 itkSetMacro(SquaredDistance,
bool);
121 itkGetConstReferenceMacro(SquaredDistance,
bool);
124 itkBooleanMacro(SquaredDistance);
128 itkSetMacro(InsideIsPositive,
bool);
132 itkGetConstReferenceMacro(InsideIsPositive,
bool);
137 itkBooleanMacro(InsideIsPositive);
140 itkSetMacro(UseImageSpacing,
bool);
143 itkGetConstReferenceMacro(UseImageSpacing,
bool);
146 itkBooleanMacro(UseImageSpacing);
160 void PrintSelf(std::ostream & os,
Indent indent)
const override;
162 void GenerateData()
override;
164 unsigned int SplitRequestedRegion(
unsigned int i,
unsigned int num,
171 itkExceptionMacro(
"This class requires threadId so it must use classic multi-threading model");
175 void Voronoi(
unsigned int, OutputIndexType idx, OutputImageType *output );
176 bool Remove(OutputPixelType, OutputPixelType, OutputPixelType,
177 OutputPixelType, OutputPixelType, OutputPixelType);
182 unsigned int m_CurrentDimension{0};
184 bool m_InsideIsPositive{
false};
185 bool m_UseImageSpacing{
true};
186 bool m_SquaredDistance{
false};
192 #ifndef ITK_MANUAL_INSTANTIATION
193 #include "itkSignedMaurerDistanceMapImageFilter.hxx"
typename OutputImageType::PixelType OutputPixelType
typename OutputImageType::Pointer OutputImagePointer
InputSpacingType m_Spacing
typename InputImageType::SizeValueType InputSizeValueType
typename OutputImageType::SizeValueType OutputSizeValueType
unsigned long SizeValueType
typename OutputImageType::IndexType OutputIndexType
typename OutputImageType::SpacingType OutputSpacingType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
const InputImageType * m_InputCache
typename OutputImageType::IndexValueType OutputIndexValueType
Base class for all process objects that output image data.
This filter calculates the Euclidean distance transform of a binary image in linear time for arbitrar...
ImageBaseType::SizeType SizeType
typename OutputImageType::RegionType OutputImageRegionType
ImageBaseType::IndexType IndexType
TOutputImage OutputImageType
typename OutputImageType::RegionType OutputRegionType
signed long IndexValueType
typename InputImageType::RegionType InputRegionType
typename OutputImageType::SizeType OutputSizeType
unsigned int ThreadIdType
void DynamicThreadedGenerateData(const OutputImageRegionType &) override
typename InputImageType::SizeType InputSizeType
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
TInputImage InputImageType
typename InputImageType::PixelType InputPixelType
typename InputImageType::IndexType InputIndexType
typename InputImageType::IndexValueType InputIndexValueType
ImageBaseType::RegionType RegionType
typename InputImageType::ConstPointer InputImageConstPointer
typename InputImageType::SpacingType InputSpacingType
InputPixelType m_BackgroundValue