18 #ifndef itkContourDirectedMeanDistanceImageFilter_h
19 #define itkContourDirectedMeanDistanceImageFilter_h
62 template<
typename TInputImage1,
typename TInputImage2 >
88 typedef typename TInputImage1::SizeType
SizeType;
95 itkStaticConstMacro(ImageDimension,
unsigned int,
96 TInputImage1::ImageDimension);
114 itkGetConstMacro(ContourDirectedMeanDistance,
RealType);
117 itkSetMacro( UseImageSpacing,
bool );
118 itkGetConstMacro( UseImageSpacing,
bool );
121 #ifdef ITK_USE_CONCEPT_CHECKING
131 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
135 void AllocateOutputs() ITK_OVERRIDE;
138 void BeforeThreadedGenerateData() ITK_OVERRIDE;
142 void AfterThreadedGenerateData() ITK_OVERRIDE;
145 void ThreadedGenerateData(const RegionType &
146 outputRegionForThread,
150 void GenerateInputRequestedRegion() ITK_OVERRIDE;
153 void EnlargeOutputRequestedRegion(
DataObject *data) ITK_OVERRIDE;
160 typename DistanceMapType::
Pointer m_DistanceMap;
164 RealType m_ContourDirectedMeanDistance;
165 bool m_UseImageSpacing;
169 #ifndef ITK_MANUAL_INSTANTIATION
170 #include "itkContourDirectedMeanDistanceImageFilter.hxx"
Array class with size defined at construction time.
Light weight base class for most itk classes.
TInputImage1::ConstPointer InputImage1ConstPointer
TInputImage2::Pointer InputImage2Pointer
TInputImage2 InputImage2Type
NumericTraits< InputImage1PixelType >::RealType RealType
~ContourDirectedMeanDistanceImageFilter()
TInputImage1::SizeType SizeType
TInputImage1::PixelType InputImage1PixelType
TInputImage2::ConstPointer InputImage2ConstPointer
TInputImage1::IndexType IndexType
SizeValueType IdentifierType
TInputImage2::PixelType InputImage2PixelType
Computes the directed Mean distance between the boundaries of non-zero pixel regions of two images...
unsigned int ThreadIdType
ContourDirectedMeanDistanceImageFilter Self
TInputImage1 InputImage1Type
SmartPointer< const Self > ConstPointer
TInputImage1::Pointer InputImage1Pointer
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
Define additional traits for native types such as int or float.
#define itkConceptMacro(name, concept)
ImageToImageFilter< TInputImage1, TInputImage1 > Superclass
TInputImage1::RegionType RegionType
Base class for all data objects in ITK.
Templated n-dimensional image class.
SmartPointer< Self > Pointer