18#ifndef itkSpatialObjectToImageStatisticsCalculator_h
19#define itkSpatialObjectToImageStatisticsCalculator_h
36template <
typename TInputImage,
typename TInputSpatialObject,
unsigned int TSampleDimension = 1>
66 static constexpr unsigned int ImageDimension = ImageType::ImageDimension;
68 static constexpr unsigned int SampleDimension = TSampleDimension;
70 static constexpr unsigned int ObjectDimension = TInputSpatialObject::ObjectDimension;
85 itkSetMacro(SampleDirection,
unsigned int);
86 itkGetConstMacro(SampleDirection,
unsigned int);
106 return m_CovarianceMatrix;
140 unsigned int m_SampleDirection{};
149#ifndef ITK_MANUAL_INSTANTIATION
150# include "itkSpatialObjectToImageStatisticsCalculator.hxx"
Templated n-dimensional image class.
Control indentation during Print() invocation.
Light weight base class for most itk classes.
A templated class holding a M x N size Matrix.
Define additional traits for native types such as int or float.
Base class for most ITK classes.
const MatrixType & GetCovarianceMatrix() const
const VectorType & GetMean() const
typename TInputImage::ConstPointer ImageConstPointer
typename NumericTraits< PixelType >::AccumulateType AccumulateType
typename TInputImage::IndexType IndexType
TInputSpatialObject SpatialObjectType
typename SpatialObjectType::Pointer SpatialObjectPointer
typename SpatialObjectType::ConstPointer SpatialObjectConstPointer
AccumulateType GetSum() const
typename TInputImage::RegionType RegionType
typename TInputImage::PointType PointType
~SpatialObjectToImageStatisticsCalculator() override=default
typename TInputImage::Pointer ImagePointer
void PrintSelf(std::ostream &os, Indent indent) const override
typename TInputImage::PixelType PixelType
typename RegionType::SizeType SizeType
SpatialObjectToImageStatisticsCalculator()
Implementation of the composite pattern.
This class is the native implementation of the a Sample with an STL container.
Generate a unique, increasing time value.
A templated class holding a n-Dimensional vector.
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::PointType PointType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
SizeValueType ModifiedTimeType
unsigned long SizeValueType