A container for 1-,2-,3- or 4-tuples of numbers
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The CvScalar type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CvScalar(Double) |
Constructor
| |
CvScalar(Double, Double) |
Constructor
| |
CvScalar(Double, Double, Double) |
Constructor
| |
CvScalar(Double, Double, Double, Double) |
Constructor
|
Properties
Name | Description | |
---|---|---|
Item |
Indexer
|
Methods
Name | Description | |
---|---|---|
Equals(Object) |
Specifies whether this object contains the same members as the specified Object.
(Overrides ValueTypeEquals(Object).) | |
Equals(CvScalar) |
Specifies whether this object contains the same members as the specified Object.
| |
GetHashCode |
Returns a hash code for this object.
(Overrides ValueTypeGetHashCode.) | |
GetType | (Inherited from Object.) | |
RealScalar |
Initializes val[0] with val0, val[1]...val[3] with zeros
| |
ScalarAll |
Initializes val[0]...val[3] with val0123
| |
ToString |
Converts this object to a human readable string.
(Overrides ValueTypeToString.) |
Operators
Name | Description | |
---|---|---|
Equality |
Compares two CvPoint objects. The result specifies whether the members of each object are equal.
| |
(Double to CvScalar) |
Creates a CvScalar with the members of the specified array.
| |
(CvScalar to Double) |
Creates a CvScalar with the specified double array.
| |
(Double to CvScalar) |
Creates a CvScalar with the specified double value like cvRealScalar.
| |
(CvScalar to Double) |
Returns a double value with the specified CvScalar's Val0.
| |
Inequality |
Compares two CvPoint objects. The result specifies whether the members of each object are unequal.
|
Fields
Name | Description | |
---|---|---|
SizeOf |
sizeof(CvScalar)
| |
Val0 |
1st element
| |
Val1 |
2nd element
| |
Val2 |
3rd element
| |
Val3 |
4th element
|
See Also