18 #ifndef itkContourDirectedMeanDistanceImageFilter_h
19 #define itkContourDirectedMeanDistanceImageFilter_h
62 template<
typename TInputImage1,
typename TInputImage2 >
97 static constexpr
unsigned int ImageDimension = TInputImage1::ImageDimension;
115 itkGetConstMacro(ContourDirectedMeanDistance,
RealType);
118 itkSetMacro( UseImageSpacing,
bool );
119 itkGetConstMacro( UseImageSpacing,
bool );
122 #ifdef ITK_USE_CONCEPT_CHECKING
132 void PrintSelf(std::ostream & os,
Indent indent)
const override;
136 void AllocateOutputs()
override;
139 void BeforeThreadedGenerateData()
override;
143 void AfterThreadedGenerateData()
override;
147 outputRegionForThread,
152 itkExceptionMacro(
"This class requires threadId so it must use classic multi-threading model");
156 void GenerateInputRequestedRegion()
override;
159 void EnlargeOutputRequestedRegion(
DataObject *data)
override;
173 #ifndef ITK_MANUAL_INSTANTIATION
174 #include "itkContourDirectedMeanDistanceImageFilter.hxx"
Light weight base class for most itk classes.
Define numeric traits for std::vector.
typename TInputImage1::Pointer InputImage1Pointer
Array< IdentifierType > m_Count
RealType m_ContourDirectedMeanDistance
Array< RealType > m_MeanDistance
typename NumericTraits< InputImage1PixelType >::RealType RealType
void DynamicThreadedGenerateData(const RegionType &) override
DistanceMapType::Pointer m_DistanceMap
typename TInputImage2::ConstPointer InputImage2ConstPointer
ImageBaseType::SizeType SizeType
ImageBaseType::IndexType IndexType
typename TInputImage1::PixelType InputImage1PixelType
typename TInputImage1::RegionType RegionType
TInputImage1 InputImage1Type
Computes the directed Mean distance between the boundaries of non-zero pixel regions of two images...
TInputImage2 InputImage2Type
unsigned int ThreadIdType
typename TInputImage1::IndexType IndexType
typename TInputImage1::ConstPointer InputImage1ConstPointer
typename TInputImage2::PixelType InputImage2PixelType
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
typename TInputImage1::SizeType SizeType
ImageBaseType::RegionType RegionType
#define itkConceptMacro(name, concept)
typename TInputImage2::Pointer InputImage2Pointer
Base class for all data objects in ITK.
Templated n-dimensional image class.