Image Manager (CVCImg.dll) 14.1
TMatrix Struct Reference

Defines a 2x2 transformation matrix. More...

Data Fields

double A11
 Top left coefficient.
 
double A12
 Top right coefficient.
 
double A21
 Bottom left coefficient.
 
double A22
 Bottom right coefficient.
 

Related Functions

(Note that these are not member functions.)

bool InverseMatrix (TMatrix A, TMatrix &AInv)
 Computes the inverse of matrix A, if possible. More...
 
double MatrixDeterminant (TMatrix A)
 Calculates the determinant of the given matrix A. More...
 
void MatrixITransform (cvbval_t Xin, cvbval_t Yin, TMatrix A, cvbval_t &Xout, cvbval_t &Yout)
 Calculates the transformation for the input vector (Xin, Yin) based on the matrix A. More...
 
void MatrixRTransform (double Xin, double Yin, TMatrix A, double &Xout, double &Yout)
 Calculates the transformation for the input vector (Xin, Yin) based on the matrix A. More...
 
void MultiplyMatrices (TMatrix A, TMatrix B, TMatrix &R)
 Multiplies two matrices A and B. More...
 
void RotationMatrix (double Angle, TMatrix &R)
 Calculates the rotation matrix coefficients for a given Angle. More...
 
void SetMatrix (double A11, double A12, double A21, double A22, TMatrix &A)
 Sets the components to a 2x2 matrix A. More...
 

Detailed Description

Defines a 2x2 transformation matrix.

The coefficients are labeled with first index being the row and the second being the column: