digiKam
|
Functions | |
void | cvmattostdmat (const cv::Mat &dst, std::vector< std::vector< float > > &src) |
float | determinant (const std::vector< std::vector< float > > &u) |
std::vector< std::vector< float > > | inv2 (const std::vector< std::vector< float > > &mat) |
std::vector< std::vector< float > > | pinv (const std::vector< std::vector< float > > &mat) |
template<typename T > | |
T | pythag (const T &a, const T &b) |
template<typename T > | |
T | signdlib (const T &a, const T &b) |
void | stdmattocvmat (const std::vector< std::vector< float > > &src, cv::Mat &dst) |
void | svd (const std::vector< std::vector< float > > &m, std::vector< std::vector< float > > &u, std::vector< std::vector< float > > &w, std::vector< std::vector< float > > &v) |
bool | svd3 (std::vector< std::vector< float > > &a, std::vector< float > &w, std::vector< std::vector< float > > &v, std::vector< float > &rv1) |
float | trace (const std::vector< std::vector< float > > &src) |
void | transpose (std::vector< std::vector< float > > &src, std::vector< std::vector< float > > &dst) |
void Digikam::MatrixOperations::cvmattostdmat | ( | const cv::Mat & | dst, |
std::vector< std::vector< float > > & | src | ||
) |
float Digikam::MatrixOperations::determinant | ( | const std::vector< std::vector< float > > & | u | ) |
Referenced by Digikam::findSimilarityTransform().
std::vector< std::vector< float > > Digikam::MatrixOperations::inv2 | ( | const std::vector< std::vector< float > > & | mat | ) |
Referenced by Digikam::inv().
std::vector< std::vector< float > > Digikam::MatrixOperations::pinv | ( | const std::vector< std::vector< float > > & | mat | ) |
Referenced by Digikam::findAffineTransform().
Referenced by svd3().
void Digikam::MatrixOperations::stdmattocvmat | ( | const std::vector< std::vector< float > > & | src, |
cv::Mat & | dst | ||
) |
void Digikam::MatrixOperations::svd | ( | const std::vector< std::vector< float > > & | m, |
std::vector< std::vector< float > > & | u, | ||
std::vector< std::vector< float > > & | w, | ||
std::vector< std::vector< float > > & | v | ||
) |
References svd3().
Referenced by Digikam::findSimilarityTransform().
bool Digikam::MatrixOperations::svd3 | ( | std::vector< std::vector< float > > & | a, |
std::vector< float > & | w, | ||
std::vector< std::vector< float > > & | v, | ||
std::vector< float > & | rv1 | ||
) |
References pythag(), and signdlib().
Referenced by svd().
float Digikam::MatrixOperations::trace | ( | const std::vector< std::vector< float > > & | src | ) |
Referenced by Digikam::findSimilarityTransform().
void Digikam::MatrixOperations::transpose | ( | std::vector< std::vector< float > > & | src, |
std::vector< std::vector< float > > & | dst | ||
) |
Referenced by Digikam::findSimilarityTransform().