|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkContourDirectedMeanDistanceImageFilter_h
19 #define itkContourDirectedMeanDistanceImageFilter_h
63 template <
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
137 PrintSelf(std::ostream & os,
Indent indent)
const override;
142 AllocateOutputs()
override;
146 BeforeThreadedGenerateData()
override;
151 AfterThreadedGenerateData()
override;
160 itkExceptionMacro(
"This class requires threadId so it must use classic multi-threading model");
165 GenerateInputRequestedRegion()
override;
169 EnlargeOutputRequestedRegion(
DataObject * data)
override;
183 #ifndef ITK_MANUAL_INSTANTIATION
184 # include "itkContourDirectedMeanDistanceImageFilter.hxx"
TInputImage1 InputImage1Type
Array< IdentifierType > m_Count
ImageBaseType::SizeType SizeType
typename TInputImage1::PixelType InputImage1PixelType
Control indentation during Print() invocation.
Array< RealType > m_MeanDistance
typename TInputImage2::PixelType InputImage2PixelType
typename TInputImage2::ConstPointer InputImage2ConstPointer
TInputImage2 InputImage2Type
unsigned int ThreadIdType
ImageBaseType::IndexType IndexType
Base class for filters that take an image as input and produce an image as output.
Computes the directed Mean distance between the boundaries of non-zero pixel regions of two images.
DistanceMapType::Pointer m_DistanceMap
typename NumericTraits< InputImage1PixelType >::RealType RealType
Light weight base class for most itk classes.
ImageBaseType::RegionType RegionType
typename TInputImage1::RegionType RegionType
typename TInputImage1::ConstPointer InputImage1ConstPointer
typename TInputImage1::IndexType IndexType
Define additional traits for native types such as int or float.
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
typename TInputImage1::SizeType SizeType
void DynamicThreadedGenerateData(const RegionType &) override
Templated n-dimensional image class.
typename TInputImage2::Pointer InputImage2Pointer
RealType m_ContourDirectedMeanDistance
typename TInputImage1::Pointer InputImage1Pointer
Base class for all data objects in ITK.