public sealed class Document.Types.Page.Types.Matrix : IMessage<Document.Types.Page.Types.Matrix>, IEquatable<Document.Types.Page.Types.Matrix>, IDeepCloneable<Document.Types.Page.Types.Matrix>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Document AI v1beta3 API class Document.Types.Page.Types.Matrix.
Representation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.
Implements
IMessageDocumentTypesPageTypesMatrix, IEquatableDocumentTypesPageTypesMatrix, IDeepCloneableDocumentTypesPageTypesMatrix, IBufferMessage, IMessageNamespace
Google.Cloud.DocumentAI.V1Beta3Assembly
Google.Cloud.DocumentAI.V1Beta3.dll
Constructors
Matrix()
public Matrix()
Matrix(Matrix)
public Matrix(Document.Types.Page.Types.Matrix other)
Parameter | |
---|---|
Name | Description |
other | DocumentTypesPageTypesMatrix |
Properties
Cols
public int Cols { get; set; }
Number of columns in the matrix.
Property Value | |
---|---|
Type | Description |
int |
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 |
int |
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 |
int |