37 #ifndef _LINEAR_ALGEBRA_CV_H_ 38 #define _LINEAR_ALGEBRA_CV_H_ 40 #include "opencv/cv.h" 68 bool bAllowModifyA =
false,
bool bReturnUTransposed =
false,
bool bReturnVTransposed =
false);
102 bool bAllowModifyA =
false,
bool bReturnUTransposed =
false,
bool bReturnVTransposed =
false);
void SolveLinearLeastSquaresSimple(const CFloatMatrix *A, const CFloatVector *b, CFloatVector *x)
void Transpose(const CFloatMatrix *A, const CFloatMatrix *pResultMatrix)
void CalculateCovarianceMatrix(const CFloatMatrix *pMatrix, CFloatMatrix *pCovarianceMatrix)
Data structure for the representation of a vector of values of the data type double.
void Invert(const CFloatMatrix *A, const CFloatMatrix *pResultMatrix)
Data structure for the representation of a matrix of values of the data type float.
bool DetermineHomography(const Vec2d *pSourcePoints, const Vec2d *pTargetPoints, int nPoints, Mat3d &A, bool bUseSVD=false)
Obsolete (encapsulated OpenCV calls). Use LinearAlgebra instead.
void Multiply(const CFloatMatrix *A, const CFloatMatrix *B, CFloatMatrix *pResultMatrix, bool bTransposeB=false)
Data structure for the representation of a vector of values of the data type float.
void SelfProduct(const CFloatMatrix *pMatrix, CFloatMatrix *pResultMatrix, bool bTransposeSecond=false)
void SVD(const CFloatMatrix *A, CFloatMatrix *W, CFloatMatrix *U=0, CFloatMatrix *V=0, bool bAllowModifyA=false, bool bReturnUTransposed=false, bool bReturnVTransposed=false)
Data structure for the representation of a 2D vector.
Data structure for the representation of a matrix of values of the data type double.
void SolveLinearLeastSquaresSVD(const CFloatMatrix *A, const CFloatVector *b, CFloatVector *x)
bool DetermineAffineTransformation(const Vec2d *pSourcePoints, const Vec2d *pTargetPoints, int nPoints, Mat3d &A, bool bUseSVD=false)
Data structure for the representation of a 3x3 matrix.
void SolveLinearLeastSquaresHomogeneousSVD(const CFloatMatrix *A, CFloatVector *x)
void CalculatePseudoInverseSVD(const CFloatMatrix *pInputMatrix, CFloatMatrix *pOutputMatrix)
void PCA(const CFloatMatrix *pData, CFloatMatrix *pTransformationMatrix, CFloatMatrix *pTransformedData, int nTargetDimension)
void CalculatePseudoInverseSimple(const CFloatMatrix *pInputMatrix, CFloatMatrix *pResultMatrix)