18 #ifndef itkDirectedHausdorffDistanceImageFilter_h 19 #define itkDirectedHausdorffDistanceImageFilter_h 71 template<
typename TInputImage1,
typename TInputImage2 >
97 typedef typename TInputImage1::SizeType
SizeType;
105 TInputImage1::ImageDimension);
111 void SetInput1(
const InputImage1Type *image);
114 void SetInput2(
const InputImage2Type *image);
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 &) ITK_DELETE_FUNCTION;
180 std::vector< CompensatedSummationType >
m_Sum;
188 #ifndef ITK_MANUAL_INSTANTIATION 189 #include "itkDirectedHausdorffDistanceImageFilter.hxx"
itk::CompensatedSummation< RealType > CompensatedSummationType
TInputImage2::ConstPointer InputImage2ConstPointer
TInputImage1::SizeType SizeType
const InputImage1Type * GetInput1()
static const unsigned int ImageDimension
Image< RealType, itkGetStaticConstMacro(ImageDimension) > DistanceMapType
void GenerateInputRequestedRegion() override
RealType m_DirectedHausdorffDistance
DirectedHausdorffDistanceImageFilter Self
SmartPointer< Self > Pointer
DirectedHausdorffDistanceImageFilter()
RealType m_AverageHausdorffDistance
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
TInputImage2::PixelType InputImage2PixelType
SmartPointer< const Self > ConstPointer
void AllocateOutputs() override
TInputImage1::RegionType RegionType
TInputImage1::ConstPointer InputImage1ConstPointer
TInputImage1::IndexType IndexType
void AfterThreadedGenerateData() override
void PrintSelf(std::ostream &os, Indent indent) const 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)
DistanceMapType::Pointer DistanceMapPointer
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
void operator=(const Self &) ITK_DELETE_FUNCTION
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...
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