18 #ifndef itkSpatialObjectToImageStatisticsCalculator_h
19 #define itkSpatialObjectToImageStatisticsCalculator_h
35 template<
typename TInputImage,
typename TInputSpatialObject,
unsigned int TSampleDimension = 1 >
65 static constexpr
unsigned int ImageDimension = ImageType::ImageDimension;
67 static constexpr
unsigned int SampleDimension = TSampleDimension;
69 static constexpr
unsigned int ObjectDimension = TInputSpatialObject::ObjectDimension;
84 itkSetMacro(SampleDirection,
unsigned int);
85 itkGetConstMacro(SampleDirection,
unsigned int);
112 void PrintSelf(std::ostream & os,
Indent indent)
const override;
114 bool ComputeStatistics();
132 #ifndef ITK_MANUAL_INSTANTIATION
133 #include "itkSpatialObjectToImageStatisticsCalculator.hxx"
AccumulateType GetSum() const
typename TInputImage::IndexType IndexType
Light weight base class for most itk classes.
Define numeric traits for std::vector.
unsigned long SizeValueType
typename TInputImage::ConstPointer ImageConstPointer
typename TInputImage::PointType PointType
MatrixType m_CovarianceMatrix
ImageBaseType::SizeType SizeType
const MatrixType & GetCovarianceMatrix() const
ImageBaseType::IndexType IndexType
ImageConstPointer m_Image
const VectorType & GetMean() const
Implementation of the composite pattern.
typename TInputImage::Pointer ImagePointer
typename TInputImage::RegionType RegionType
Generate a unique, increasing time value.
unsigned int m_SampleDirection
unsigned long ModifiedTimeType
ModifiedTimeType m_InternalSpatialObjectTime
typename NumericTraits< PixelType >::AccumulateType AccumulateType
ModifiedTimeType m_InternalImageTime
typename SpatialObjectType::Pointer SpatialObjectPointer
This class is the native implementation of the a Sample with an STL container.
typename RegionType::SizeType SizeType
TInputSpatialObject SpatialObjectType
Control indentation during Print() invocation.
ImageBaseType::PointType PointType
typename TInputImage::PixelType PixelType
Base class for most ITK classes.
SpatialObjectPointer m_SpatialObject
ImageBaseType::RegionType RegionType
typename SpatialObjectType::ConstPointer SpatialObjectConstPointer
SampleType::Pointer m_Sample
Templated n-dimensional image class.
SizeValueType m_NumberOfPixels