This class a represents BGR color. More...
#include "types.hpp"
Public Types | |
enum | |
enum | |
typedef Matx< double, shortdim, 1 > | diag_type |
typedef Matx< double, m, n > | mat_type |
typedef double | value_type |
Public Member Functions | |
Color () | |
Color (double gray) | |
Color (double blue, double green, double red) | |
Color (const Scalar &color) | |
Matx< double, m, 1 > | col (int i) const |
extract the matrix column More... | |
Scalar_< double > | conj () const |
Vec | cross (const Vec &v) const |
cross product of the two 3D vectors. More... | |
double | ddot (const Matx< double, m, n > &v) const |
dot product computed in double-precision arithmetics More... | |
diag_type | diag () const |
extract the matrix diagonal More... | |
Matx< double, m, n > | div (const Matx< double, m, n > &a) const |
divide two matrices element-wise More... | |
double | dot (const Matx< double, m, n > &v) const |
dot product computed with the default precision More... | |
Matx< double, m1, n1 > | get_minor (int i, int j) const |
extract part of the matrix More... | |
Matx< double, n, m > | inv (int method=DECOMP_LU, bool *p_is_ok=NULL) const |
invert the matrix More... | |
bool | isReal () const |
Matx< double, m, n > | mul (const Matx< double, m, n > &a) const |
multiply two matrices element-wise More... | |
Vec | mul (const Vec< double, cn > &v) const |
per-element multiplication More... | |
Scalar_< double > | mul (const Scalar_< double > &a, double scale=1) const |
per-element product More... | |
operator Matx< T2, m, n > () const | |
conversion to another data type More... | |
operator Scalar_< T2 > () const | |
conversion to another data type More... | |
operator Vec3b () const | |
operator Vec< T2, cn > () const | |
conversion to another data type More... | |
const double & | operator() (int i, int j) const |
element access More... | |
double & | operator() (int i, int j) |
const double & | operator() (int i) const |
double & | operator() (int i) |
const double & | operator[] (int i) const |
element access More... | |
double & | operator[] (int i) |
Matx< double, m1, n1 > | reshape () const |
change the matrix shape More... | |
Matx< double, 1, n > | row (int i) const |
extract the matrix row More... | |
Matx< double, n, l > | solve (const Matx< double, m, l > &rhs, int flags=DECOMP_LU) const |
solve linear system More... | |
Vec< double, n > | solve (const Vec< double, m > &rhs, int method) const |
Matx< double, n, m > | t () const |
transpose the matrix More... | |
Static Public Member Functions | |
static Scalar_< double > | all (doublev0) |
returns a scalar with all elements set to v0 More... | |
static Color | amethyst () |
static Color | apricot () |
static Color | azure () |
static Color | black () |
static Color | bluberry () |
static Color | blue () |
static Color | brown () |
static Color | celestial_blue () |
static Color | chartreuse () |
static Color | cherry () |
static Color | cyan () |
static Matx | diag (const diag_type &d) |
static Matx | eye () |
static Color | gold () |
static Color | gray () |
static Color | green () |
static Color | indigo () |
static Color | lime () |
static Color | magenta () |
static Color | maroon () |
static Color | mlab () |
static Color | navy () |
static Color | not_set () |
static Color | olive () |
static Matx | ones () |
static Color | orange () |
static Color | orange_red () |
static Color | pink () |
static Color | purple () |
static Matx | randn (doublea, doubleb) |
static Matx | randu (doublea, doubleb) |
static Color | raspberry () |
static Color | red () |
static Color | rose () |
static Color | silver () |
static Color | teal () |
static Color | turquoise () |
static Color | violet () |
static Color | white () |
static Color | yellow () |
static Matx | zeros () |
Public Attributes | |
double | val [m *n] |
This class a represents BGR color.
|
inherited |
|
inherited |
|
inherited |
cv::viz::Color::Color | ( | ) |
cv::viz::Color::Color | ( | double | gray | ) |
cv::viz::Color::Color | ( | double | blue, |
double | green, | ||
double | red | ||
) |
cv::viz::Color::Color | ( | const Scalar & | color | ) |
|
staticinherited |
returns a scalar with all elements set to v0
Referenced by cv::cudev::gridFindMaxVal_(), cv::cudev::gridFindMinMaxVal_(), cv::cudev::gridFindMinVal_(), and cv::morphologyDefaultBorderValue().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
extract the matrix column
|
inherited |
cross product of the two 3D vectors.
For other dimensionalities the exception is raised
|
static |
dot product computed in double-precision arithmetics
|
inherited |
divide two matrices element-wise
dot product computed with the default precision
extract part of the matrix
|
static |
|
static |
|
static |
|
static |
|
inherited |
invert the matrix
|
inherited |
|
static |
|
static |
|
static |
|
static |
|
inherited |
multiply two matrices element-wise
per-element multiplication
|
inherited |
per-element product
|
static |
|
static |
|
static |
conversion to another data type
|
inherited |
conversion to another data type
cv::viz::Color::operator Vec3b | ( | ) | const |
|
inherited |
element access
|
inherited |
|
inherited |
|
inherited |
|
inherited |
element access
|
inherited |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
change the matrix shape
|
static |
|
static |
|
inherited |
solve linear system
|
inherited |
|
static |
|
static |
|
static |
|
static |
|
static |
|
inherited |