Table of Contents

Struct Vec3b

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

3-Tuple of byte (System.Byte)

public record struct Vec3b : IEquatable<Vec3b>
Implements
Inherited Members

Constructors

Vec3b(byte, byte, byte)

3-Tuple of byte (System.Byte)

Fields

Item0

The value of the first component of this object.

Item1

The value of the second component of this object.

Item2

The value of the third component of this object.

Properties

this[int]

Indexer

Methods

Add(Vec3b)

this + other

AsSpan()

Returns a Span<T> over the 3 elements of this vector.

Divide(double)

this / alpha

Multiply(double)

this * alpha

Subtract(Vec3b)

this - other

ToVec3d()
ToVec3f()
ToVec3i()
ToVec3s()
ToVec3w()

Operators

operator +(Vec3b, Vec3b)
operator /(Vec3b, double)
operator *(Vec3b, double)
operator -(Vec3b, Vec3b)