|
| Scalar_ () |
| various constructors More...
|
|
| Scalar_ (_Tp v0, _Tp v1, _Tp v2=0, _Tp v3=0) |
|
| Scalar_ (_Tp v0) |
|
template<typename _Tp2 , int cn> |
| Scalar_ (const Vec< _Tp2, cn > &v) |
|
Matx< _Tp, m, 1 > | col (int i) const |
| extract the matrix column More...
|
|
Scalar_< _Tp > | conj () const |
|
Vec | cross (const Vec &v) const |
| cross product of the two 3D vectors. More...
|
|
double | ddot (const Matx< _Tp, m, n > &v) const |
| dot product computed in double-precision arithmetics More...
|
|
diag_type | diag () const |
| extract the matrix diagonal More...
|
|
Matx< _Tp, m, n > | div (const Matx< _Tp, m, n > &a) const |
| divide two matrices element-wise More...
|
|
_Tp | dot (const Matx< _Tp, m, n > &v) const |
| dot product computed with the default precision More...
|
|
Matx< _Tp, m1, n1 > | get_minor (int i, int j) const |
| extract part of the matrix More...
|
|
Matx< _Tp, n, m > | inv (int method=DECOMP_LU, bool *p_is_ok=NULL) const |
| invert the matrix More...
|
|
bool | isReal () const |
|
Matx< _Tp, m, n > | mul (const Matx< _Tp, m, n > &a) const |
| multiply two matrices element-wise More...
|
|
Vec | mul (const Vec< _Tp, cn > &v) const |
| per-element multiplication More...
|
|
Scalar_< _Tp > | mul (const Scalar_< _Tp > &a, double scale=1) const |
| per-element product More...
|
|
| operator Matx< T2, m, n > () const |
| conversion to another data type More...
|
|
template<typename T2 > |
| operator Scalar_< T2 > () const |
| conversion to another data type More...
|
|
| operator Vec< T2, cn > () const |
| conversion to another data type More...
|
|
const _Tp & | operator() (int i, int j) const |
| element access More...
|
|
_Tp & | operator() (int i, int j) |
|
const _Tp & | operator() (int i) const |
|
_Tp & | operator() (int i) |
|
const _Tp & | operator[] (int i) const |
| element access More...
|
|
_Tp & | operator[] (int i) |
|
Matx< _Tp, m1, n1 > | reshape () const |
| change the matrix shape More...
|
|
Matx< _Tp, 1, n > | row (int i) const |
| extract the matrix row More...
|
|
Matx< _Tp, n, l > | solve (const Matx< _Tp, m, l > &rhs, int flags=DECOMP_LU) const |
| solve linear system More...
|
|
Vec< _Tp, n > | solve (const Vec< _Tp, m > &rhs, int method) const |
|
Matx< _Tp, n, m > | t () const |
| transpose the matrix More...
|
|
template<typename _Tp>
class cv::Scalar_< _Tp >
Template class for a 4-element vector derived from Vec.
Being derived from Vec<Tp, 4> , Scalar and Scalar can be used just as typical 4-element vectors. In addition, they can be converted to/from CvScalar . The type Scalar is widely used in OpenCV to pass pixel values.