oevislib_net  0.14.3.0
Loading...
Searching...
No Matches
Basics

Functions

 oevislib_net.Matrix.Matrix ()
 Constructs an empty Matrix object.
 oevislib_net.Matrix.Matrix (int inRows, int inCols, float[] inData, bool inDeepCopy=true)
 Constructs a new Matrix object, from existing data.
int oevislib_net.Matrix.GetWidth ()
 Returns the width of the matrix.
int oevislib_net.Matrix.GetHeight ()
 Returns the height of the matrix.
Size oevislib_net.Matrix.GetSize ()
 Returns a Size object containing the matrix's width and height.
float[] oevislib_net.Matrix.GetData ()
 Returns the pointer to the data inside the matrix.
bool oevislib_net.Matrix.IsEmpty ()
 Checks if the matrix is empty.
ByteBuffer oevislib_net.Matrix.Serialize ()
 Serialize the Matrix object using flatbuffers.
static Matrix oevislib_net.Matrix.Deserialize (ByteBuffer inBuffer)
 De-serialize a Matrix buffer.
override object oevislib_net.Matrix.Clone ()
 Returns a clone of the image.

Detailed Description

Function Documentation

◆ Clone()

override object oevislib_net.Matrix.Clone ( )
inline

Returns a clone of the image.

Returns
Image's clone.

◆ Deserialize()

Matrix oevislib_net.Matrix.Deserialize ( ByteBuffer inBuffer)
inlinestatic

De-serialize a Matrix buffer.

Parameters
inBufferBuffer containing the object.
Returns
Deserialized object.

◆ GetData()

float[] oevislib_net.Matrix.GetData ( )
inline

Returns the pointer to the data inside the matrix.

Returns
Data pointer.

◆ GetHeight()

int oevislib_net.Matrix.GetHeight ( )
inline

Returns the height of the matrix.

Returns
Height.

◆ GetSize()

Size oevislib_net.Matrix.GetSize ( )
inline

Returns a Size object containing the matrix's width and height.

Returns
Size.

◆ GetWidth()

int oevislib_net.Matrix.GetWidth ( )
inline

Returns the width of the matrix.

Returns
Width.

◆ IsEmpty()

bool oevislib_net.Matrix.IsEmpty ( )
inline

Checks if the matrix is empty.

Returns
true if the matrix is empty, false otherwise.

◆ Matrix() [1/2]

oevislib_net.Matrix.Matrix ( )
inline

Constructs an empty Matrix object.

◆ Matrix() [2/2]

oevislib_net.Matrix.Matrix ( int inRows,
int inCols,
float[] inData,
bool inDeepCopy = true )
inline

Constructs a new Matrix object, from existing data.

Parameters
inRowsNumber of rows. Range: [0, +inf).
inColsNumber of columns. Range: [0, +inf).
inDataData pointer.
inDeepCopyWhether to make a deep copy of the data or to use the current pointer.

◆ Serialize()

ByteBuffer oevislib_net.Matrix.Serialize ( )
inline

Serialize the Matrix object using flatbuffers.

Returns
Buffer where the object is stored.