18 #ifndef itkDirectedHausdorffDistanceImageFilter_h
19 #define itkDirectedHausdorffDistanceImageFilter_h
71 template<
typename TInputImage1,
typename TInputImage2 >
97 typedef typename TInputImage1::SizeType
SizeType;
104 itkStaticConstMacro(ImageDimension,
unsigned int,
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
142 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
146 void AllocateOutputs() ITK_OVERRIDE;
149 void BeforeThreadedGenerateData() ITK_OVERRIDE;
153 void AfterThreadedGenerateData() ITK_OVERRIDE;
156 void ThreadedGenerateData(const RegionType &
157 outputRegionForThread,
161 void GenerateInputRequestedRegion() ITK_OVERRIDE;
164 void EnlargeOutputRequestedRegion(
DataObject *data) ITK_OVERRIDE;
173 DistanceMapPointer m_DistanceMap;
179 std::vector< CompensatedSummationType > m_Sum;
181 RealType m_DirectedHausdorffDistance;
182 RealType m_AverageHausdorffDistance;
183 bool m_UseImageSpacing;
187 #ifndef ITK_MANUAL_INSTANTIATION
188 #include "itkDirectedHausdorffDistanceImageFilter.hxx"
Array class with size defined at construction time.
TInputImage2::ConstPointer InputImage2ConstPointer
TInputImage1::SizeType SizeType
Light weight base class for most itk classes.
DirectedHausdorffDistanceImageFilter Self
SmartPointer< Self > Pointer
TInputImage2::PixelType InputImage2PixelType
SmartPointer< const Self > ConstPointer
TInputImage1::RegionType RegionType
TInputImage1::ConstPointer InputImage1ConstPointer
TInputImage1::IndexType IndexType
SizeValueType IdentifierType
~DirectedHausdorffDistanceImageFilter()
NumericTraits< InputImage1PixelType >::RealType RealType
TInputImage1 InputImage1Type
Perform more precise accumulation of floating point numbers.
TInputImage2::Pointer InputImage2Pointer
unsigned int ThreadIdType
TInputImage2 InputImage2Type
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
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
ImageToImageFilter< TInputImage1, TInputImage1 > Superclass