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

A two-dimensional array of real numbers (float). More...

Inheritance diagram for oevislib_net.Matrix:

Public Member Functions

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

Static Public Member Functions

static Matrix Deserialize (ByteBuffer inBuffer)
 De-serialize a Matrix buffer.

Detailed Description

A two-dimensional array of real numbers (float).

A Matrix can be used for example for image convolution (Image::convolve) or a more generic transformation (Image::transform).