18#ifndef itkContourDirectedMeanDistanceImageFilter_h
19#define itkContourDirectedMeanDistanceImageFilter_h
63template <
typename TInputImage1,
typename TInputImage2>
97 static constexpr unsigned int ImageDimension = TInputImage1::ImageDimension;
119 itkGetConstMacro(ContourDirectedMeanDistance,
RealType);
122 itkSetMacro(UseImageSpacing,
bool);
123 itkGetConstMacro(UseImageSpacing,
bool);
124 itkBooleanMacro(UseImageSpacing);
127#ifdef ITK_USE_CONCEPT_CHECKING
160 itkExceptionMacro(
"This class requires threadId so it must use classic multi-threading model");
179 bool m_UseImageSpacing{
true };
183#ifndef ITK_MANUAL_INSTANTIATION
184# include "itkContourDirectedMeanDistanceImageFilter.hxx"
Computes the directed Mean distance between the boundaries of non-zero pixel regions of two images.
const InputImage2Type * GetInput2()
void ThreadedGenerateData(const RegionType &outputRegionForThread, ThreadIdType threadId) override
const InputImage1Type * GetInput1()
typename TInputImage1::Pointer InputImage1Pointer
typename TInputImage2::ConstPointer InputImage2ConstPointer
void GenerateInputRequestedRegion() override
void EnlargeOutputRequestedRegion(DataObject *data) override
TInputImage2 InputImage2Type
void BeforeThreadedGenerateData() override
ContourDirectedMeanDistanceImageFilter()
void SetInput1(const InputImage1Type *image)
typename TInputImage1::SizeType SizeType
void DynamicThreadedGenerateData(const RegionType &) override
typename TInputImage1::RegionType RegionType
typename TInputImage1::PixelType InputImage1PixelType
~ContourDirectedMeanDistanceImageFilter() override=default
void PrintSelf(std::ostream &os, Indent indent) const override
void AllocateOutputs() override
typename TInputImage2::Pointer InputImage2Pointer
typename TInputImage1::IndexType IndexType
typename TInputImage2::PixelType InputImage2PixelType
typename NumericTraits< InputImage1PixelType >::RealType RealType
TInputImage1 InputImage1Type
void AfterThreadedGenerateData() override
void SetInput2(const InputImage2Type *image)
typename TInputImage1::ConstPointer InputImage1ConstPointer
Base class for all data objects in ITK.
Base class for filters that take an image as input and produce an image as output.
Templated n-dimensional image class.
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Define additional traits for native types such as int or float.
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
#define itkConceptMacro(name, concept)
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned int ThreadIdType