18#ifndef itkSpatialObjectToImageStatisticsCalculator_h
19#define itkSpatialObjectToImageStatisticsCalculator_h
36template <
typename TInputImage,
typename TInputSpatialObject,
unsigned int TSampleDimension = 1>
62 using SizeType =
typename RegionType::SizeType;
70 static constexpr unsigned int ObjectDimension = TInputSpatialObject::ObjectDimension;
85 itkSetMacro(SampleDirection,
unsigned int);
86 itkGetConstMacro(SampleDirection,
unsigned int);
149#ifndef ITK_MANUAL_INSTANTIATION
150# include "itkSpatialObjectToImageStatisticsCalculator.hxx"
Templated n-dimensional image class.
Control indentation during Print() invocation.
A templated class holding a M x N size Matrix.
Implements transparent reference counting.
Matrix< double, TSampleDimension, TSampleDimension > MatrixType
const MatrixType & GetCovarianceMatrix() const
const VectorType & GetMean() const
typename TInputImage::ConstPointer ImageConstPointer
ModifiedTimeType m_InternalSpatialObjectTime
SpatialObjectPointer m_SpatialObject
typename NumericTraits< PixelType >::AccumulateType AccumulateType
typename TInputImage::IndexType IndexType
ModifiedTimeType m_InternalImageTime
SpatialObjectToImageStatisticsCalculator Self
ImageConstPointer m_Image
TInputSpatialObject SpatialObjectType
typename SpatialObjectType::Pointer SpatialObjectPointer
typename SpatialObjectType::ConstPointer SpatialObjectConstPointer
unsigned int m_SampleDirection
AccumulateType GetSum() const
static constexpr unsigned int ObjectDimension
static constexpr unsigned int ImageDimension
typename TInputImage::RegionType RegionType
typename TInputImage::PointType PointType
~SpatialObjectToImageStatisticsCalculator() override=default
SmartPointer< Self > Pointer
static constexpr unsigned int SampleDimension
typename TInputImage::Pointer ImagePointer
void PrintSelf(std::ostream &os, Indent indent) const override
Vector< double, TSampleDimension > VectorType
typename TInputImage::PixelType PixelType
typename RegionType::SizeType SizeType
SpatialObjectToImageStatisticsCalculator()
MatrixType m_CovarianceMatrix
SizeValueType m_NumberOfPixels
itk::Statistics::ListSample< VectorType > SampleType
SmartPointer< const Self > ConstPointer
SampleType::Pointer m_Sample
Implementation of the composite pattern.
This class is the native implementation of the a Sample with an STL container.
SmartPointer< Self > Pointer
Generate a unique, increasing time value.
A templated class holding a n-Dimensional vector.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType
SizeValueType ModifiedTimeType