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
MatrixType GetSecondMoments() const
SmartPointer< const Self > ConstPointer
VectorType GetFirstMoments() const
AffineTransformPointer GetPhysicalAxesToPrincipalAxesTransform() const
virtual ~ImageMomentsCalculator()
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
static const unsigned int ImageDimension
VectorType GetCenterOfGravity() const
SpatialObjectType::Pointer SpatialObjectPointer
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
void operator=(const Self &) ITK_DELETE_FUNCTION
AffineTransform< double, itkGetStaticConstMacro(ImageDimension) > AffineTransformType
virtual void Modified() const
ImageType::ConstPointer ImageConstPointer
ImageType::Pointer ImagePointer
virtual void PrintSelf(std::ostream &os, Indent indent) const override
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