18 #ifndef __itkSpatialObjectToImageStatisticsCalculator_h
19 #define __itkSpatialObjectToImageStatisticsCalculator_h
36 template<
typename TInputImage,
typename TInputSpatialObject,
unsigned int TSampleDimension = 1 >
62 ImageType::ImageDimension);
68 TInputSpatialObject::ObjectDimension);
87 itkSetMacro(SampleDirection,
unsigned int);
88 itkGetConstMacro(SampleDirection,
unsigned int);
115 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
141 #ifndef ITK_MANUAL_INSTANTIATION
142 #include "itkSpatialObjectToImageStatisticsCalculator.hxx"
AccumulateType GetSum() const
itk::Statistics::ListSample< VectorType > SampleType
TInputImage::ConstPointer ImageConstPointer
static const unsigned int ImageDimension
Light weight base class for most itk classes.
SmartPointer< const Self > ConstPointer
Matrix< double, TSampleDimension, TSampleDimension > MatrixType
unsigned long ModifiedTimeType
void operator=(const Self &)
virtual void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
TInputImage::PixelType PixelType
TInputImage::Pointer ImagePointer
Vector< double, TSampleDimension > VectorType
virtual ~SpatialObjectToImageStatisticsCalculator()
unsigned long SizeValueType
SpatialObjectType::Pointer SpatialObjectPointer
SpatialObjectToImageStatisticsCalculator()
Iterates over a flood-filled spatial function with read-only access to pixels.
TInputImage::IndexType IndexType
MatrixType m_CovarianceMatrix
const MatrixType & GetCovarianceMatrix() const
ImageConstPointer m_Image
const VectorType & GetMean() const
Implementation of the composite pattern.
Generate a unique, increasing time value.
unsigned int m_SampleDirection
ModifiedTimeType m_InternalSpatialObjectTime
TInputSpatialObject SpatialObjectType
ModifiedTimeType m_InternalImageTime
itk::FloodFilledSpatialFunctionConditionalConstIterator< ImageType, SpatialObjectType > IteratorType
SmartPointer< Self > Pointer
This class is the native implementation of the a Sample with an STL container.
NumericTraits< PixelType >::AccumulateType AccumulateType
Control indentation during Print() invocation.
static const unsigned int SampleDimension
Define additional traits for native types such as int or float.
SpatialObjectToImageStatisticsCalculator Self
Base class for most ITK classes.
SpatialObjectPointer m_SpatialObject
SpatialObjectType::ConstPointer SpatialObjectConstPointer
SampleType::Pointer m_Sample
Templated n-dimensional image class.
static const unsigned int ObjectDimension
SizeValueType m_NumberOfPixels