18#ifndef itkDirectedHausdorffDistanceImageFilter_h
19#define itkDirectedHausdorffDistanceImageFilter_h
73template <
typename TInputImage1,
typename TInputImage2>
107 static constexpr unsigned int ImageDimension = TInputImage1::ImageDimension;
129 itkSetMacro(UseImageSpacing,
bool);
130 itkGetConstMacro(UseImageSpacing,
bool);
131 itkBooleanMacro(UseImageSpacing);
135 itkGetConstMacro(DirectedHausdorffDistance,
RealType);
136 itkGetConstMacro(AverageHausdorffDistance,
RealType);
139#ifdef ITK_USE_CONCEPT_CHECKING
193 bool m_UseImageSpacing{
true };
195 std::mutex m_Mutex{};
199#ifndef ITK_MANUAL_INSTANTIATION
200# include "itkDirectedHausdorffDistanceImageFilter.hxx"
Base class for all data objects in ITK.
Computes the directed Hausdorff distance between the set of non-zero pixels of two images.
typename TInputImage2::PixelType InputImage2PixelType
DirectedHausdorffDistanceImageFilter()
typename TInputImage1::IndexType IndexType
TInputImage1 InputImage1Type
TInputImage2 InputImage2Type
void EnlargeOutputRequestedRegion(DataObject *data) override
void PrintSelf(std::ostream &os, Indent indent) const override
typename TInputImage2::Pointer InputImage2Pointer
typename TInputImage2::ConstPointer InputImage2ConstPointer
const InputImage1Type * GetInput1()
void SetInput1(const InputImage1Type *image)
typename DistanceMapType::Pointer DistanceMapPointer
void SetInput2(const InputImage2Type *image)
typename NumericTraits< InputImage1PixelType >::RealType RealType
void DynamicThreadedGenerateData(const RegionType &outputRegionForThread) override
typename TInputImage1::Pointer InputImage1Pointer
typename TInputImage1::RegionType RegionType
void BeforeThreadedGenerateData() override
void AllocateOutputs() override
typename TInputImage1::PixelType InputImage1PixelType
~DirectedHausdorffDistanceImageFilter() override=default
void GenerateInputRequestedRegion() override
const InputImage2Type * GetInput2()
typename TInputImage1::ConstPointer InputImage1ConstPointer
typename TInputImage1::SizeType SizeType
void AfterThreadedGenerateData() override
Base class for filters that take an image as input and produce an image as output.
Templated n-dimensional image class.
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Define additional traits for native types such as int or float.
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....
SizeValueType IdentifierType