Class cv::viz::Color#
This class represents color in BGR order.
#include <opencv2/viz/types.hpp>Collaboration diagram for cv::viz::Color:
Public Types#
Public Types inherited from cv::Vec
Return |
Name |
Description |
|---|---|---|
|
Public Member Functions#
Public Member Functions inherited from cv::Scalar_
Public Member Functions inherited from cv::Vec
Return |
Name |
Description |
|---|---|---|
default constructor |
||
1-element vector constructor |
||
2-element vector constructor |
||
3-element vector constructor |
||
4-element vector constructor |
||
5-element vector constructor |
||
6-element vector constructor |
||
|
7-element vector constructor |
|
|
8-element vector constructor |
|
|
9-element vector constructor |
|
|
10-element vector constructor |
|
14-element vector constructor |
||
|
||
|
||
|
||
conjugation (makes sense for complex numbers and quaternions) |
||
per-element multiplication |
||
conversion to another data type |
||
|
||
|
||
|
||
|
Public Member Functions inherited from cv::Matx
Return |
Name |
Description |
|---|---|---|
default constructor |
||
1x1 matrix |
||
1x2 or 2x1 matrix |
||
1x3 or 3x1 matrix |
||
1x4, 2x2 or 4x1 matrix |
||
1x5 or 5x1 matrix |
||
1x6, 2x3, 3x2 or 6x1 matrix |
||
|
1x7 or 7x1 matrix |
|
|
1x8, 2x4, 4x2 or 8x1 matrix |
|
|
1x9, 3x3 or 9x1 matrix |
|
|
1x10, 2x5 or 5x2 or 10x1 matrix |
|
1x12, 2x6, 3x4, 4x3, 6x2 or 12x1 matrix |
||
1x14, 2x7, 7x2 or 14x1 matrix |
||
1x16, 4x4 or 16x1 matrix |
||
initialize from a plain array |
||
|
||
|
||
|
||
|
||
|
||
|
||
initialize from an initializer list |
||
|
extract the matrix column |
|
|
|
|
|
copy & convert |
|
|
dot product computed in double-precision arithmetics |
|
extract the matrix diagonal |
||
|
divide two matrices element-wise |
|
|
dot product computed with the default precision |
|
|
extract part of the matrix |
|
|
invert the matrix |
|
|
multiply two matrices element-wise |
|
conversion to another data type |
||
|
||
|
1D element access |
|
|
||
|
element access |
|
|
change the matrix shape |
|
|
extract the matrix row |
|
|
|
solve linear system |
|
||
|
transpose the matrix |
Static Public Member Functions#
Static Public Member Functions inherited from cv::Scalar_
Return |
Name |
Description |
|---|---|---|
|
returns a scalar with all elements set to v0 |
Static Public Member Functions inherited from cv::Vec
Static Public Member Functions inherited from cv::Matx
Return |
Name |
Description |
|---|---|---|
|
||
|
||
|
||
|
||
|
Generates normally distributed random numbers. |
|
|
Generates uniformly distributed random numbers. |
|
|
Public Attributes#
Detailed Description#
This class represents color in BGR order.
Constructor & Destructor Documentation#
Color()#
Color()#
Color()#
cv::viz::Color::Color(
double blue,
double green,
double red )
Color()#
cv::viz::Color::Color(double gray)
The three channels will have the same value equal to gray.
Member Function Documentation#
operator Vec3b()#
amethyst()#
apricot()#
azure()#
black()#
bluberry()#
blue()#
brown()#
celestial_blue()#
chartreuse()#
cherry()#
cyan()#
gold()#
gray()#
green()#
indigo()#
lime()#
magenta()#
maroon()#
mlab()#
not_set()#
olive()#
orange()#
orange_red()#
pink()#
purple()#
raspberry()#
red()#
rose()#
silver()#
teal()#
turquoise()#
violet()#
white()#
yellow()#
Source file#
The documentation for this class was generated from the following file:
opencv2/viz/types.hpp