18#ifndef itkImageMomentsCalculator_h
19#define itkImageMomentsCalculator_h
25#include "vnl/vnl_vector_fixed.h"
26#include "vnl/vnl_matrix_fixed.h"
27#include "vnl/vnl_diag_matrix.h"
59template <
typename TImage>
237#ifndef ITK_MANUAL_INSTANTIATION
238# include "itkImageMomentsCalculator.hxx"
VectorType GetCenterOfGravity() const
MatrixType GetCentralMoments() const
typename AffineTransformType::Pointer AffineTransformPointer
ImageMomentsCalculator< TImage > Self
virtual void SetSpatialObjectMask(const SpatialObject< Self::ImageDimension > *so)
Matrix< ScalarType, Self::ImageDimension, Self::ImageDimension > MatrixType
SpatialObjectConstPointer m_SpatialObjectMask
MatrixType GetPrincipalAxes() const
void PrintSelf(std::ostream &os, Indent indent) const override
VectorType GetFirstMoments() const
static constexpr unsigned int ImageDimension
~ImageMomentsCalculator() override=default
SmartPointer< const Self > ConstPointer
typename SpatialObjectType::ConstPointer SpatialObjectConstPointer
typename SpatialObjectType::Pointer SpatialObjectPointer
AffineTransform< double, Self::ImageDimension > AffineTransformType
virtual void SetImage(const ImageType *image)
typename ImageType::Pointer ImagePointer
SmartPointer< Self > Pointer
VectorType GetPrincipalMoments() const
AffineTransformPointer GetPhysicalAxesToPrincipalAxesTransform() const
ImageConstPointer m_Image
typename ImageType::ConstPointer ImageConstPointer
AffineTransformPointer GetPrincipalAxesToPhysicalAxesTransform() const
ScalarType GetTotalMass() const
MatrixType GetSecondMoments() const
SpatialObject< Self::ImageDimension > SpatialObjectType
Vector< ScalarType, Self::ImageDimension > VectorType
Control indentation during Print() invocation.
A templated class holding a M x N size Matrix.
virtual void Modified() const
Implements transparent reference counting.
Implementation of the composite pattern.
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
A templated class holding a n-Dimensional vector.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....