public sealed class Matrix : IMessage<Document.Types.Page.Types.Matrix>, IEquatable<Document.Types.Page.Types.Matrix>, IDeepCloneable<Document.Types.Page.Types.Matrix>, IBufferMessage, IMessageRepresentation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.
Implements
IMessage<Document.Types.Page.Types.Matrix>, IEquatable<Document.Types.Page.Types.Matrix>, IDeepCloneable<Document.Types.Page.Types.Matrix>, IBufferMessage, IMessageNamespace
Google.Cloud.DocumentAI.V1Assembly
Google.Cloud.DocumentAI.V1.dll
Constructors
Matrix()
public Matrix()Matrix(Document.Types.Page.Types.Matrix)
public Matrix(Document.Types.Page.Types.Matrix other)| Parameter | |
|---|---|
| Name | Description |
other |
Document.Types.Page.Types.Matrix |
Properties
Cols
public int Cols { get; set; }Number of columns in the matrix.
| Property Value | |
|---|---|
| Type | Description |
Int32 |
|
Data
public ByteString Data { get; set; }The matrix data.
| Property Value | |
|---|---|
| Type | Description |
ByteString |
|
Rows
public int Rows { get; set; }Number of rows in the matrix.
| Property Value | |
|---|---|
| Type | Description |
Int32 |
|
Type
public int Type { get; set; }This encodes information about what data type the matrix uses. For example, 0 (CV_8U) is an unsigned 8-bit image. For the full list of OpenCV primitive data types, please refer to https://docs.opencv.org/4.3.0/d1/d1b/group__core__hal__interface.html
| Property Value | |
|---|---|
| Type | Description |
Int32 |
|