OpenCV for Unity 2.6.3
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.10.0/index.html ) for the details of the argument of the method.
|
Template class for a 4-element vector derived from Vec. More...
Public Member Functions | |
Scalar (double v0, double v1, double v2, double v3) | |
Scalar (double v0, double v1, double v2) | |
Scalar (double v0, double v1) | |
Scalar (double v0) | |
Scalar (double[] vals) | |
void | set (double[] vals) |
Scalar | clone () |
Scalar | mul (Scalar it, double scale) |
Scalar | mul (Scalar it) |
Scalar | conj () |
bool | isReal () |
override int | GetHashCode () |
override bool | Equals (Object obj) |
override string | ToString () |
Scalar (in Vec4d vals) | |
Scalar (in(double v0, double v1, double v2, double v3) vals) | |
void | set (in Vec4d vals) |
void | set (in(double v0, double v1, double v2, double v3) vals) |
Vec4d | cloneAsVec4d () |
double double double double v3 | cloneAsValueTuple () |
Vec4d | mulAsVec4d (in Vec4d it, double scale) |
double double double double v3 | mulAsValueTuple (in(double v0, double v1, double v2, double v3) it, double scale) |
Vec4d | mulAsVec4d (Vec4d it) |
double double double double v3 | mulAsValueTuple (in(double v0, double v1, double v2, double v3) it) |
Vec4d | conjAsVec4d () |
double double double double v3 | conjAsValueTuple () |
double double double double v3 | ToValueTuple () |
Vec4d | ToVec4d () |
bool | Equals (Scalar a) |
Static Public Member Functions | |
static Scalar | all (double v) |
static Vec4d | allAsVec4d (double v) |
static double double double double v3 | allAsValueTuple (double v) |
static | operator Vec4d (Scalar scalar) |
static | operator (double v0, double v1, double v2, double v3)(Scalar scalar) |
static | operator Scalar (in(double v0, double v1, double v2, double v3) valueTuple) |
static Scalar | operator- (Scalar a) |
static Scalar | operator+ (Scalar a, Scalar b) |
static Scalar | operator- (Scalar a, Scalar b) |
static Scalar | operator* (Scalar a, Scalar b) |
static Scalar | operator* (Scalar a, double alpha) |
static Scalar | operator* (double alpha, Scalar a) |
static Scalar | operator/ (Scalar a, Scalar b) |
static Scalar | operator/ (Scalar a, double alpha) |
static Scalar | operator/ (double a, Scalar b) |
static bool | operator== (Scalar a, Scalar b) |
static bool | operator!= (Scalar a, Scalar b) |
Public Attributes | |
double[] | val |
double | v0 |
double double | v1 |
double double double | v2 |
Static Public Attributes | |
static double | v0 |
static double double | v1 |
static double double double | v2 |
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.
C++: cv::Scalar_<_Tp> Class Template Reference
OpenCVForUnity.CoreModule.Scalar.Scalar | ( | double | v0, |
double | v1, | ||
double | v2, | ||
double | v3 ) |
OpenCVForUnity.CoreModule.Scalar.Scalar | ( | double | v0, |
double | v1, | ||
double | v2 ) |
OpenCVForUnity.CoreModule.Scalar.Scalar | ( | double | v0, |
double | v1 ) |
OpenCVForUnity.CoreModule.Scalar.Scalar | ( | double | v0 | ) |
OpenCVForUnity.CoreModule.Scalar.Scalar | ( | double[] | vals | ) |
OpenCVForUnity.CoreModule.Scalar.Scalar | ( | in Vec4d | vals | ) |
|
static |
returns a scalar with all elements set to v0
|
static |
|
static |
returns a scalar with all elements set to v0
Scalar OpenCVForUnity.CoreModule.Scalar.clone | ( | ) |
double double double double v3 OpenCVForUnity.CoreModule.Scalar.cloneAsValueTuple | ( | ) |
Vec4d OpenCVForUnity.CoreModule.Scalar.cloneAsVec4d | ( | ) |
Scalar OpenCVForUnity.CoreModule.Scalar.conj | ( | ) |
returns (v0, -v1, -v2, -v3)
double double double double v3 OpenCVForUnity.CoreModule.Scalar.conjAsValueTuple | ( | ) |
Vec4d OpenCVForUnity.CoreModule.Scalar.conjAsVec4d | ( | ) |
returns (v0, -v1, -v2, -v3)
override bool OpenCVForUnity.CoreModule.Scalar.Equals | ( | Object | obj | ) |
bool OpenCVForUnity.CoreModule.Scalar.Equals | ( | Scalar | a | ) |
override int OpenCVForUnity.CoreModule.Scalar.GetHashCode | ( | ) |
bool OpenCVForUnity.CoreModule.Scalar.isReal | ( | ) |
returns true iff v1 == v2 == v3 == 0
double double double double v3 OpenCVForUnity.CoreModule.Scalar.mulAsValueTuple | ( | in(double v0, double v1, double v2, double v3) | it | ) |
double double double double v3 OpenCVForUnity.CoreModule.Scalar.mulAsValueTuple | ( | in(double v0, double v1, double v2, double v3) | it, |
double | scale ) |
|
explicitstatic |
|
explicitstatic |
|
explicitstatic |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
void OpenCVForUnity.CoreModule.Scalar.set | ( | double[] | vals | ) |
void OpenCVForUnity.CoreModule.Scalar.set | ( | in Vec4d | vals | ) |
override string OpenCVForUnity.CoreModule.Scalar.ToString | ( | ) |
double double double double v3 OpenCVForUnity.CoreModule.Scalar.ToValueTuple | ( | ) |
Vec4d OpenCVForUnity.CoreModule.Scalar.ToVec4d | ( | ) |
|
static |
returns a scalar with all elements set to v0
per-element product
returns (v0, -v1, -v2, -v3)
double OpenCVForUnity.CoreModule.Scalar.v0 |
per-element product
returns (v0, -v1, -v2, -v3)
|
static |
double double OpenCVForUnity.CoreModule.Scalar.v1 |
|
static |
double double double OpenCVForUnity.CoreModule.Scalar.v2 |
double [] OpenCVForUnity.CoreModule.Scalar.val |