Skip to content

itk::ParticleShapeLinearRegressionMatrixAttribute

More...

Inherits from itk::ParticleShapeMatrixAttribute< T, VDimension >, vnl_matrix< T >, itk::ParticleAttribute< VDimension >

Public Types

Name
typedef T DataType
typedef ParticleShapeLinearRegressionMatrixAttribute Self
typedef ParticleShapeMatrixAttribute< T, VDimension > Superclass
typedef SmartPointer< Self > Pointer
typedef SmartPointer< const Self > ConstPointer
typedef WeakPointer< const Self > ConstWeakPointer

Public Functions

Name
itkNewMacro(Self )
itkTypeMacro(ParticleShapeLinearRegressionMatrixAttribute , ParticleShapeMatrixAttribute )
void UpdateMeanMatrix()
vnl_vector< double > ComputeMean(double k) const
void ResizeParameters(unsigned int n)
virtual void ResizeMeanMatrix(int rs, int cs)
void ResizeExplanatory(unsigned int n)
virtual void DomainAddEventCallback(Object * , const EventObject & e)
virtual void PositionAddEventCallback(Object * o, const EventObject & e)
virtual void PositionSetEventCallback(Object * o, const EventObject & e)
virtual void PositionRemoveEventCallback(Object * , const EventObject & )
void SetDomainsPerShape(int i)
int GetDomainsPerShape() const
void SetExplanatory(std::vector< double > v)
void SetExplanatory(unsigned int i, double q)
const double & GetExplanatory(unsigned int i) const
double & GetExplanatory(unsigned int i)
const vnl_vector< double > & GetSlope() const
const vnl_vector< double > & GetIntercept() const
void SetSlope(const std::vector< double > & v)
void SetIntercept(const std::vector< double > & v)
void EstimateParameters()
void Initialize()
virtual void BeforeIteration()
void SetRegressionInterval(int i)
int GetRegressionInterval() const

Protected Functions

Name
ParticleShapeLinearRegressionMatrixAttribute()
virtual ~ParticleShapeLinearRegressionMatrixAttribute()
void PrintSelf(std::ostream & os, Indent indent) const

Additional inherited members

Public Functions inherited from itk::ParticleShapeMatrixAttribute< T, VDimension >

Name
virtual void ResizeMatrix(int rs, int cs)
void PrintMatrix()
bool CheckForNans()
virtual void AfterIteration()
virtual void SetMatrix(const vnl_matrix< T > & m)

Protected Functions inherited from itk::ParticleShapeMatrixAttribute< T, VDimension >

Name
ParticleShapeMatrixAttribute()
virtual ~ParticleShapeMatrixAttribute()

Protected Attributes inherited from itk::ParticleShapeMatrixAttribute< T, VDimension >

Name
int m_DomainsPerShape

Public Classes inherited from itk::ParticleAttribute< VDimension >

Name
struct DefinedCallbacksStruct

Public Functions inherited from itk::ParticleAttribute< VDimension >

Name
virtual void EventCallback(Object * , const EventObject & )
virtual void EventWithIndexCallback(Object * , const EventObject & )
virtual void TransformSetEventCallback(Object * , const EventObject & )
virtual void PrefixTransformSetEventCallback(Object * , const EventObject & )
virtual void NeighborhoodSetEventCallback(Object * , const EventObject & )

Protected Functions inherited from itk::ParticleAttribute< VDimension >

Name
ParticleAttribute()
virtual ~ParticleAttribute()

Public Attributes inherited from itk::ParticleAttribute< VDimension >

Name
DefinedCallbacksStruct m_DefinedCallbacks

Detailed Description

template <class T ,
unsigned int VDimension>
class itk::ParticleShapeLinearRegressionMatrixAttribute;

Public Types Documentation

typedef DataType

typedef T itk::ParticleShapeLinearRegressionMatrixAttribute< T, VDimension >::DataType;

Standard class typedefs

typedef Self

typedef ParticleShapeLinearRegressionMatrixAttribute itk::ParticleShapeLinearRegressionMatrixAttribute< T, VDimension >::Self;

typedef Superclass

typedef ParticleShapeMatrixAttribute<T,VDimension> itk::ParticleShapeLinearRegressionMatrixAttribute< T, VDimension >::Superclass;

typedef Pointer

typedef SmartPointer<Self> itk::ParticleShapeLinearRegressionMatrixAttribute< T, VDimension >::Pointer;

typedef ConstPointer

typedef SmartPointer<const Self> itk::ParticleShapeLinearRegressionMatrixAttribute< T, VDimension >::ConstPointer;

typedef ConstWeakPointer

typedef WeakPointer<const Self> itk::ParticleShapeLinearRegressionMatrixAttribute< T, VDimension >::ConstWeakPointer;

Public Functions Documentation

function itkNewMacro

itkNewMacro(
    Self 
)

Method for creation through the object factory.

function itkTypeMacro

itkTypeMacro(
    ParticleShapeLinearRegressionMatrixAttribute ,
    ParticleShapeMatrixAttribute 
)

Run-time type information (and related methods).

function UpdateMeanMatrix

inline void UpdateMeanMatrix()

function ComputeMean

inline vnl_vector< double > ComputeMean(
    double k
) const

function ResizeParameters

inline void ResizeParameters(
    unsigned int n
)

function ResizeMeanMatrix

inline virtual void ResizeMeanMatrix(
    int rs,
    int cs
)

function ResizeExplanatory

inline void ResizeExplanatory(
    unsigned int n
)

function DomainAddEventCallback

inline virtual void DomainAddEventCallback(
    Object * ,
    const EventObject & e
)

Reimplements: itk::ParticleShapeMatrixAttribute::DomainAddEventCallback

Callbacks that may be defined by a subclass. If a subclass defines one of these callback methods, the corresponding flag in m_DefinedCallbacks should be set to true so that the ParticleSystem will know to register the appropriate event with this method.

function PositionAddEventCallback

inline virtual void PositionAddEventCallback(
    Object * o,
    const EventObject & e
)

Reimplements: itk::ParticleShapeMatrixAttribute::PositionAddEventCallback

function PositionSetEventCallback

inline virtual void PositionSetEventCallback(
    Object * o,
    const EventObject & e
)

Reimplements: itk::ParticleShapeMatrixAttribute::PositionSetEventCallback

function PositionRemoveEventCallback

inline virtual void PositionRemoveEventCallback(
    Object * ,
    const EventObject & 
)

Reimplements: itk::ParticleShapeMatrixAttribute::PositionRemoveEventCallback

function SetDomainsPerShape

inline void SetDomainsPerShape(
    int i
)

Set/Get the number of domains per shape. This can only be safely done before shapes are initialized with points!

function GetDomainsPerShape

inline int GetDomainsPerShape() const

function SetExplanatory

inline void SetExplanatory(
    std::vector< double > v
)

function SetExplanatory

inline void SetExplanatory(
    unsigned int i,
    double q
)

function GetExplanatory

inline const double & GetExplanatory(
    unsigned int i
) const

function GetExplanatory

inline double & GetExplanatory(
    unsigned int i
)

function GetSlope

inline const vnl_vector< double > & GetSlope() const

function GetIntercept

inline const vnl_vector< double > & GetIntercept() const

function SetSlope

inline void SetSlope(
    const std::vector< double > & v
)

function SetIntercept

inline void SetIntercept(
    const std::vector< double > & v
)

function EstimateParameters

inline void EstimateParameters()

function Initialize

inline void Initialize()

function BeforeIteration

inline virtual void BeforeIteration()

Reimplements: itk::ParticleShapeMatrixAttribute::BeforeIteration

function SetRegressionInterval

inline void SetRegressionInterval(
    int i
)

function GetRegressionInterval

inline int GetRegressionInterval() const

Protected Functions Documentation

function ParticleShapeLinearRegressionMatrixAttribute

inline ParticleShapeLinearRegressionMatrixAttribute()

function ~ParticleShapeLinearRegressionMatrixAttribute

inline virtual ~ParticleShapeLinearRegressionMatrixAttribute()

function PrintSelf

inline void PrintSelf(
    std::ostream & os,
    Indent indent
) const

Updated on 2022-07-23 at 17:50:03 -0600