Shapeworks Studio
2.1
Shape analysis software suite
|
Public Types | |
typedef T | DataType |
typedef PSMRegressionShapeMatrixAttribute | Self |
typedef PSMShapeMatrixAttribute< T, VDimension > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef WeakPointer< const Self > | ConstWeakPointer |
Public Types inherited from itk::PSMShapeMatrixAttribute< T, VDimension > | |
typedef T | DataType |
typedef PSMShapeMatrixAttribute | Self |
typedef PSMAttribute< VDimension > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef WeakPointer< const Self > | ConstWeakPointer |
Public Types inherited from itk::PSMAttribute< VDimension > | |
typedef PSMAttribute | Self |
typedef DataObject | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef WeakPointer< const Self > | ConstWeakPointer |
Public Member Functions | |
itkNewMacro (Self) | |
itkTypeMacro (PSMRegressionShapeMatrixAttribute, PSMShapeMatrixAttribute) | |
virtual 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 | SetVariables (const std::vector< double > &v) |
void | SetExplanatory (const std::vector< double > &v) |
void | SetExplanatory (unsigned int i, double q) |
const vnl_vector< double > & | GetVariables () const |
const vnl_vector< double > & | GetExplanatory () const |
vnl_vector< double > & | GetExplanatory () |
const double & | GetExplanatory (unsigned int i) const |
double & | GetExplanatory (unsigned int i) |
const vnl_matrix< double > & | GetMeanMatrix () const |
vnl_matrix< double > & | GetMeanMatrix () |
const vnl_vector< double > & | GetSlope () const |
vnl_vector< double > & | GetSlope () |
const vnl_vector< double > & | GetIntercept () const |
vnl_vector< double > | GetIntercept () |
void | SetSlope (const std::vector< double > &v) |
void | SetSlope (const vnl_vector< double > &v) |
void | SetIntercept (const std::vector< double > &v) |
void | SetIntercept (const vnl_vector< double > &v) |
virtual void | EstimateParameters () |
virtual void | Initialize () |
virtual void | BeforeIteration () |
void | SetRegressionInterval (int i) |
int | GetRegressionInterval () const |
Public Member Functions inherited from itk::PSMShapeMatrixAttribute< T, VDimension > | |
itkNewMacro (Self) | |
itkTypeMacro (PSMShapeMatrixAttribute, PSMAttribute) | |
virtual void | ResizeMatrix (int, int) |
void | SetDomainsPerShape (int i) |
int | GetDomainsPerShape () const |
virtual void | AfterIteration () |
virtual void | SetMatrix (const vnl_matrix< T > &m) |
Public Member Functions inherited from itk::PSMAttribute< VDimension > | |
itkNewMacro (Self) | |
itkTypeMacro (PSMAttribute, DataObject) | |
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 Member Functions | |
void | PrintSelf (std::ostream &os, Indent indent) const |
Protected Member Functions inherited from itk::PSMShapeMatrixAttribute< T, VDimension > | |
void | PrintSelf (std::ostream &os, Indent indent) const |
Protected Member Functions inherited from itk::PSMAttribute< VDimension > | |
void | PrintSelf (std::ostream &os, Indent indent) const |
Additional Inherited Members | |
Public Attributes inherited from itk::PSMAttribute< VDimension > | |
DefinedCallbacksStruct | m_DefinedCallbacks |
Protected Attributes inherited from itk::PSMShapeMatrixAttribute< T, VDimension > | |
int | m_DomainsPerShape |
Definition at line 33 of file itkPSMRegressionShapeMatrixAttribute.h.
typedef T itk::PSMRegressionShapeMatrixAttribute< T, VDimension >::DataType |
Standard class typedefs
Definition at line 38 of file itkPSMRegressionShapeMatrixAttribute.h.
|
virtual |
Invoked before an iteration of an optimization that depends on this class.
Reimplemented from itk::PSMShapeMatrixAttribute< T, VDimension >.
Definition at line 270 of file itkPSMRegressionShapeMatrixAttribute.hxx.
|
inline |
Return the mean value for a given explanatory variable.
Definition at line 55 of file itkPSMRegressionShapeMatrixAttribute.h.
|
virtual |
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 PSMParticleSystem will know to register the appropriate event with this method.
Reimplemented from itk::PSMShapeMatrixAttribute< T, VDimension >.
Definition at line 99 of file itkPSMRegressionShapeMatrixAttribute.hxx.
|
virtual |
Estimates the linear regression parameters (slope and intercept) in shape space.
Definition at line 211 of file itkPSMRegressionShapeMatrixAttribute.hxx.
|
inline |
Returns the intercept (in shape space) of the regression line.
Definition at line 127 of file itkPSMRegressionShapeMatrixAttribute.h.
|
inline |
Returns the slope (in shape space) of the regression line.
Definition at line 121 of file itkPSMRegressionShapeMatrixAttribute.h.
|
virtual |
Initialize some parameters. This method should be invoked before any optimization is run that depends on this class.
Reimplemented from itk::PSMShapeMatrixAttribute< T, VDimension >.
Definition at line 244 of file itkPSMRegressionShapeMatrixAttribute.hxx.
itk::PSMRegressionShapeMatrixAttribute< T, VDimension >::itkNewMacro | ( | Self | ) |
Method for creation through the object factory.
itk::PSMRegressionShapeMatrixAttribute< T, VDimension >::itkTypeMacro | ( | PSMRegressionShapeMatrixAttribute< T, VDimension > | , |
PSMShapeMatrixAttribute | |||
) |
Run-time type information (and related methods).
|
virtual |
Callback defining actions when a position is added to a ParticleSystem. This method will likely be called from itkParticleSystem with the event ParticleAddEvent.
Reimplemented from itk::PSMShapeMatrixAttribute< T, VDimension >.
Definition at line 115 of file itkPSMRegressionShapeMatrixAttribute.hxx.
|
inlinevirtual |
Unimplemented. Reserved for future.
Reimplemented from itk::PSMShapeMatrixAttribute< T, VDimension >.
Definition at line 78 of file itkPSMRegressionShapeMatrixAttribute.h.
|
virtual |
Callback for defining actions when a position value is set – usually from ParticleSystem.
Reimplemented from itk::PSMShapeMatrixAttribute< T, VDimension >.
Definition at line 151 of file itkPSMRegressionShapeMatrixAttribute.hxx.
|
inline |
Set/Get the number of domains per shape. This can only be safely done before shapes are initialized with points!
Definition at line 85 of file itkPSMRegressionShapeMatrixAttribute.h.
void itk::PSMRegressionShapeMatrixAttribute< T, VDimension >::SetIntercept | ( | const std::vector< double > & | v | ) |
Sets the intercept (in shape space) of the regression line.
Definition at line 199 of file itkPSMRegressionShapeMatrixAttribute.hxx.
|
inline |
Set / Get the interval between estimations of the regression model. The units are number of optimizer iterations. For example, if you are running an optimization in which you only want this class to update every 10 iterations, then you would set this value to 10.
Definition at line 163 of file itkPSMRegressionShapeMatrixAttribute.h.
void itk::PSMRegressionShapeMatrixAttribute< T, VDimension >::SetSlope | ( | const std::vector< double > & | v | ) |
Sets the slope (in shape space) of the regression line.
Definition at line 188 of file itkPSMRegressionShapeMatrixAttribute.hxx.
|
inline |
Set/Get the explanatory variables (e.g. time). There should be one variable per domain.
Definition at line 92 of file itkPSMRegressionShapeMatrixAttribute.h.