18 #ifndef itkDirectedHausdorffDistanceImageFilter_h
19 #define itkDirectedHausdorffDistanceImageFilter_h
71 template<
typename TInputImage1,
typename TInputImage2 >
97 typedef typename TInputImage1::SizeType
SizeType;
105 TInputImage1::ImageDimension);
123 itkSetMacro(UseImageSpacing,
bool);
124 itkGetConstMacro( UseImageSpacing,
bool );
128 itkGetConstMacro(DirectedHausdorffDistance,
RealType);
129 itkGetConstMacro(AverageHausdorffDistance,
RealType);
132 #ifdef ITK_USE_CONCEPT_CHECKING
157 outputRegionForThread,
168 void operator=(const Self &);
180 std::vector< CompensatedSummationType >
m_Sum;
188 #ifndef ITK_MANUAL_INSTANTIATION
189 #include "itkDirectedHausdorffDistanceImageFilter.hxx"
Array class with size defined at construction time.
TInputImage2::ConstPointer InputImage2ConstPointer
TInputImage1::SizeType SizeType
const InputImage1Type * GetInput1()
static const unsigned int ImageDimension
Light weight base class for most itk classes.
void GenerateInputRequestedRegion() override
RealType m_DirectedHausdorffDistance
DirectedHausdorffDistanceImageFilter Self
SmartPointer< Self > Pointer
DirectedHausdorffDistanceImageFilter()
RealType m_AverageHausdorffDistance
typedef(Concept::HasNumericTraits< InputImage1PixelType >) InputHasNumericTraitsCheck
TInputImage2::PixelType InputImage2PixelType
SmartPointer< const Self > ConstPointer
void AllocateOutputs() override
TInputImage1::RegionType RegionType
TInputImage1::ConstPointer InputImage1ConstPointer
TInputImage1::IndexType IndexType
SizeValueType IdentifierType
void AfterThreadedGenerateData() override
void BeforeThreadedGenerateData() override
~DirectedHausdorffDistanceImageFilter()
NumericTraits< InputImage1PixelType >::RealType RealType
void SetInput1(const InputImage1Type *image)
TInputImage1 InputImage1Type
Perform more precise accumulation of floating point numbers.
void SetInput2(const InputImage2Type *image)
TInputImage2::Pointer InputImage2Pointer
unsigned int ThreadIdType
TInputImage2 InputImage2Type
void EnlargeOutputRequestedRegion(DataObject *data) override
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.
const InputImage2Type * GetInput2()
void ThreadedGenerateData(const RegionType &outputRegionForThread, ThreadIdType threadId) override
Computes the directed Hausdorff distance between the set of non-zero pixels of two images...
void PrintSelf(std::ostream &os, Indent indent) const override
Define additional traits for native types such as int or float.
TInputImage1::Pointer InputImage1Pointer
#define itkConceptMacro(name, concept)
Base class for all data objects in ITK.
Templated n-dimensional image class.
TInputImage1::PixelType InputImage1PixelType
std::vector< CompensatedSummationType > m_Sum
Array< RealType > m_MaxDistance
ImageToImageFilter< TInputImage1, TInputImage1 > Superclass