Classes | |
class | cv::BufferPoolController |
class | cv::DualQuat< _Tp > |
class | cv::QuatEnum |
class | cv::Quat< _Tp > |
Typedefs | |
using | cv::DualQuatd = DualQuat< double > |
using | cv::DualQuatf = DualQuat< float > |
using | cv::Quatd = Quat< double > |
using | cv::Quatf = Quat< float > |
Enumerations | |
enum | cv::QuatAssumeType { cv::QUAT_ASSUME_NOT_UNIT , cv::QUAT_ASSUME_UNIT } |
Unit quaternion flag. More... | |
enum | cv::CovarFlags { cv::COVAR_SCRAMBLED = 0 , cv::COVAR_NORMAL = 1 , cv::COVAR_USE_AVG = 2 , cv::COVAR_SCALE = 4 , cv::COVAR_ROWS = 8 , cv::COVAR_COLS = 16 } |
Covariation flags. More... | |
Functions | |
template<typename _Tp > | |
std::ostream & | cv::operator<< (std::ostream &, const DualQuat< _Tp > &) |
template<typename _Tp > | |
std::ostream & | cv::operator<< (std::ostream &, const Quat< _Tp > &) |
template<typename T > | |
Quat< T > | cv::inv (const Quat< T > &q, QuatAssumeType assumeUnit=QUAT_ASSUME_NOT_UNIT) |
template<typename T > | |
Quat< T > | cv::sinh (const Quat< T > &q) |
template<typename T > | |
Quat< T > | cv::cosh (const Quat< T > &q) |
template<typename T > | |
Quat< T > | cv::tanh (const Quat< T > &q) |
template<typename T > | |
Quat< T > | cv::sin (const Quat< T > &q) |
template<typename T > | |
Quat< T > | cv::cos (const Quat< T > &q) |
template<typename T > | |
Quat< T > | cv::tan (const Quat< T > &q) |
template<typename T > | |
Quat< T > | cv::asinh (const Quat< T > &q) |
template<typename T > | |
Quat< T > | cv::acosh (const Quat< T > &q) |
template<typename T > | |
Quat< T > | cv::atanh (const Quat< T > &q) |
template<typename T > | |
Quat< T > | cv::asin (const Quat< T > &q) |
template<typename T > | |
Quat< T > | cv::acos (const Quat< T > &q) |
template<typename T > | |
Quat< T > | cv::atan (const Quat< T > &q) |
template<typename T > | |
Quat< T > | cv::power (const Quat< T > &q, const Quat< T > &p, QuatAssumeType assumeUnit=QUAT_ASSUME_NOT_UNIT) |
template<typename T > | |
Quat< T > | cv::exp (const Quat< T > &q) |
template<typename T > | |
Quat< T > | cv::log (const Quat< T > &q, QuatAssumeType assumeUnit=QUAT_ASSUME_NOT_UNIT) |
template<typename T > | |
Quat< T > | cv::power (const Quat< T > &q, const T x, QuatAssumeType assumeUnit=QUAT_ASSUME_NOT_UNIT) |
template<typename T > | |
Quat< T > | cv::crossProduct (const Quat< T > &p, const Quat< T > &q) |
template<typename S > | |
Quat< S > | cv::sqrt (const Quat< S > &q, QuatAssumeType assumeUnit=QUAT_ASSUME_NOT_UNIT) |
template<typename T > | |
Quat< T > | cv::operator* (const T, const Quat< T > &) |
template<typename T > | |
Quat< T > | cv::operator* (const Quat< T > &, const T) |
template<typename S > | |
std::ostream & | cv::operator<< (std::ostream &, const Quat< S > &) |
CV_EXPORTS void | cv::swap (Mat &a, Mat &b) |
Swaps two matrices. More... | |
CV_EXPORTS void | cv::swap (UMat &a, UMat &b) |
using cv::DualQuatd = typedef DualQuat<double> |
using cv::DualQuatf = typedef DualQuat<float> |
enum cv::CovarFlags |
Covariation flags.
Enumerator | |
---|---|
COVAR_SCRAMBLED | The output covariance matrix is calculated as:
The covariance matrix will be nsamples x nsamples. Such an unusual covariance matrix is used for fast PCA of a set of very large vectors (see, for example, the EigenFaces technique for face recognition). Eigenvalues of this "scrambled" matrix match the eigenvalues of the true covariance matrix. The "true" eigenvectors can be easily calculated from the eigenvectors of the "scrambled" covariance matrix. |
COVAR_NORMAL | The output covariance matrix is calculated as:
covar will be a square matrix of the same size as the total number of elements in each input vector. One and only one of COVAR_SCRAMBLED and COVAR_NORMAL must be specified. |
COVAR_USE_AVG | If the flag is specified, the function does not calculate mean from the input vectors but, instead, uses the passed mean vector. This is useful if mean has been pre-calculated or known in advance, or if the covariance matrix is calculated by parts. In this case, mean is not a mean vector of the input sub-set of vectors but rather the mean vector of the whole set. |
COVAR_SCALE | If the flag is specified, the covariance matrix is scaled. In the "normal" mode, scale is 1./nsamples . In the "scrambled" mode, scale is the reciprocal of the total number of elements in each input vector. By default (if the flag is not specified), the covariance matrix is not scaled ( scale=1 ). |
COVAR_ROWS | If the flag is specified, all the input vectors are stored as rows of the samples matrix. mean should be a single-row vector in this case. |
COVAR_COLS | If the flag is specified, all the input vectors are stored as columns of the samples matrix. mean should be a single-column vector in this case. |
enum cv::QuatAssumeType |
Unit quaternion flag.
For example
Quat<T> cv::inv | ( | const Quat< T > & | q, |
QuatAssumeType | assumeUnit = QUAT_ASSUME_NOT_UNIT |
||
) |
q | a quaternion. |
assumeUnit | if QUAT_ASSUME_UNIT, quaternion q assume to be a unit quaternion and this function will save some computations. |
For example
Quat<T> cv::log | ( | const Quat< T > & | q, |
QuatAssumeType | assumeUnit = QUAT_ASSUME_NOT_UNIT |
||
) |
where
q | a quaternion. |
assumeUnit | if QUAT_ASSUME_UNIT, q assume to be a unit quaternion and this function will save some computations. |
For example
std::ostream& cv::operator<< | ( | std::ostream & | , |
const DualQuat< _Tp > & | |||
) |
std::ostream& cv::operator<< | ( | std::ostream & | , |
const Quat< _Tp > & | |||
) |
std::ostream& cv::operator<< | ( | std::ostream & | , |
const Quat< S > & | |||
) |
Quat<T> cv::power | ( | const Quat< T > & | q, |
const Quat< T > & | p, | ||
QuatAssumeType | assumeUnit = QUAT_ASSUME_NOT_UNIT |
||
) |
p | base quaternion of power function. |
q | index quaternion of power function. |
assumeUnit | if QUAT_ASSUME_UNIT, quaternion assume to be a unit quaternion and this function will save some computations. |
For example
Quat<T> cv::power | ( | const Quat< T > & | q, |
const T | x, | ||
QuatAssumeType | assumeUnit = QUAT_ASSUME_NOT_UNIT |
||
) |
q | a quaternion. |
x | index of exponentiation. |
assumeUnit | if QUAT_ASSUME_UNIT, quaternion q assume to be a unit quaternion and this function will save some computations. |
For example
Quat<S> cv::sqrt | ( | const Quat< S > & | q, |
QuatAssumeType | assumeUnit = QUAT_ASSUME_NOT_UNIT |
||
) |
CV_EXPORTS void cv::swap | ( | Mat & | a, |
Mat & | b | ||
) |
Swaps two matrices.
CV_EXPORTS void cv::swap | ( | UMat & | a, |
UMat & | b | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.