18 #ifndef itkDirectedHausdorffDistanceImageFilter_h
19 #define itkDirectedHausdorffDistanceImageFilter_h
71 template<
typename TInputImage1,
typename TInputImage2 >
106 static constexpr
unsigned int ImageDimension = TInputImage1::ImageDimension;
124 itkSetMacro(UseImageSpacing,
bool);
125 itkGetConstMacro( UseImageSpacing,
bool );
129 itkGetConstMacro(DirectedHausdorffDistance,
RealType);
130 itkGetConstMacro(AverageHausdorffDistance,
RealType);
133 #ifdef ITK_USE_CONCEPT_CHECKING
143 void PrintSelf(std::ostream & os,
Indent indent)
const override;
147 void AllocateOutputs()
override;
150 void BeforeThreadedGenerateData()
override;
154 void AfterThreadedGenerateData()
override;
158 outputRegionForThread,
163 itkExceptionMacro(
"This class requires threadId so it must use classic multi-threading model");
167 void GenerateInputRequestedRegion()
override;
170 void EnlargeOutputRequestedRegion(
DataObject *data)
override;
183 std::vector< CompensatedSummationType >
m_Sum;
191 #ifndef ITK_MANUAL_INSTANTIATION
192 #include "itkDirectedHausdorffDistanceImageFilter.hxx"
typename DistanceMapType::Pointer DistanceMapPointer
Light weight base class for most itk classes.
TInputImage1 InputImage1Type
RealType m_DirectedHausdorffDistance
Define numeric traits for std::vector.
RealType m_AverageHausdorffDistance
typename TInputImage1::ConstPointer InputImage1ConstPointer
typename TInputImage1::Pointer InputImage1Pointer
void DynamicThreadedGenerateData(const RegionType &) override
typename TInputImage1::SizeType SizeType
typename NumericTraits< InputImage1PixelType >::RealType RealType
ImageBaseType::SizeType SizeType
ImageBaseType::IndexType IndexType
TInputImage2 InputImage2Type
typename TInputImage2::ConstPointer InputImage2ConstPointer
typename TInputImage1::IndexType IndexType
unsigned int ThreadIdType
typename TInputImage1::PixelType InputImage1PixelType
Base class for filters that take an image as input and produce an image as output.
DistanceMapPointer m_DistanceMap
Array< IdentifierType > m_PixelCount
Control indentation during Print() invocation.
Computes the directed Hausdorff distance between the set of non-zero pixels of two images...
typename TInputImage1::RegionType RegionType
ImageBaseType::RegionType RegionType
#define itkConceptMacro(name, concept)
typename TInputImage2::PixelType InputImage2PixelType
Base class for all data objects in ITK.
typename TInputImage2::Pointer InputImage2Pointer
Templated n-dimensional image class.
std::vector< CompensatedSummationType > m_Sum
Array< RealType > m_MaxDistance