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"
59 template<
typename TImage >
77 TImage::ImageDimension);
208 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
212 void operator=(const
Self &) ITK_DELETE_FUNCTION;
228 #ifndef ITK_MANUAL_INSTANTIATION
229 #include "itkImageMomentsCalculator.hxx"
SpatialObjectType::ConstPointer SpatialObjectConstPointer
MatrixType GetPrincipalAxes() const
A templated class holding a M x N size Matrix.
SmartPointer< Self > Pointer
Light weight base class for most itk classes.
MatrixType GetSecondMoments() const
SmartPointer< const Self > ConstPointer
VectorType GetFirstMoments() const
AffineTransformPointer GetPhysicalAxesToPrincipalAxesTransform() const
virtual ~ImageMomentsCalculator()
static const unsigned int ImageDimension
VectorType GetCenterOfGravity() const
SpatialObjectType::Pointer SpatialObjectPointer
virtual void PrintSelf(std::ostream &os, Indent indent) const override
virtual void SetSpatialObjectMask(const SpatialObject< itkGetStaticConstMacro(ImageDimension) > *so)
VectorType GetPrincipalMoments() const
SpatialObjectConstPointer m_SpatialObjectMask
Matrix< ScalarType, itkGetStaticConstMacro(ImageDimension), itkGetStaticConstMacro(ImageDimension) > MatrixType
Compute moments of an n-dimensional image.
Implementation of the composite pattern.
SpatialObject< itkGetStaticConstMacro(ImageDimension) > SpatialObjectType
MatrixType GetCentralMoments() const
AffineTransform< double, itkGetStaticConstMacro(ImageDimension) > AffineTransformType
virtual void Modified() const
ImageType::ConstPointer ImageConstPointer
ImageType::Pointer ImagePointer
ScalarType GetTotalMass() const
ImageMomentsCalculator< TImage > Self
Control indentation during Print() invocation.
ImageConstPointer m_Image
AffineTransformType::Pointer AffineTransformPointer
AffineTransformPointer GetPrincipalAxesToPhysicalAxesTransform() const
virtual void SetImage(const ImageType *image)
Base class for most ITK classes.
Vector< ScalarType, itkGetStaticConstMacro(ImageDimension) > VectorType