Back AAM-API documentation The AAM-Site

In file AAMLinearReg.h:

class CAAMLinearReg

Performs multi-variate linear regression on a set of experiments.

Inheritance:

CAAMLinearReg - CAAMObject


Public Methods

[more] CAAMLinearReg()
Constructor.
[more]int DoRegression( const CDMatrix &C, const CDMatrix &X, CDMatrix &R )
Calculates the regression matrix, R.
[more]int EstimateK( const CDMatrix &C, CDMatrix &EigenVec_k, CDMatrix &EigenVal_k )
Performs k-estimation.
[more] ~CAAMLinearReg()
Destructor.


Inherited from CAAMObject:

Public Methods

ovoid Dump( const char* szPath ) const
ovoid FromFile( const char* szFilename )
ovoid FromFile( FILE* fh )
ovoid ToFile( FILE* fh ) const
ovoid ToFile( const char* szFilename ) const


Documentation

Performs multi-variate linear regression on a set of experiments.

o CAAMLinearReg()

Constructor.

Returns:
Nothning.
Author:
Mikkel B. Stegmann
Version:
3-16-2001

o ~CAAMLinearReg()

Destructor.

Returns:
Nothning.
Author:
Mikkel B. Stegmann
Version:
3-16-2001

oint EstimateK( const CDMatrix &C, CDMatrix &EigenVec_k, CDMatrix &EigenVal_k )

Performs k-estimation.

Parameters:
- C The parameter matrix.
EigenVec_k - Output k eigenvectors.
EigenVal_k - Output k eigenvalues.
Returns:
k
Author:
Mikkel B. Stegmann
Version:
3-15-2000

oint DoRegression( const CDMatrix &C, const CDMatrix &X, CDMatrix &R )

Calculates the regression matrix, R from the set of experiments in C and X, obtaining the relationship: C = RX.

NOTE: Destroys X!!!

Parameters:
- C In the AAM case: the input parameters displacements.
X - In the AAM case: the input normalized pixel differences.
R - The output regression matrix.
Returns:
k
Author:
Mikkel B. Stegmann
Version:
3-15-2000


This class has no child classes.
Author:
Mikkel B. Stegmann
Version:
3-15-2000

Alphabetic index Hierarchy of classes


Back AAM-API documentation The AAM-Site