public sealed class Matrix : IMessage<Document.Types.Page.Types.Matrix>, IEquatable<Document.Types.Page.Types.Matrix>, IDeepCloneable<Document.Types.Page.Types.Matrix>, IBufferMessage, IMessage
Representation for transformation matrix, intended to be compatible and
used with OpenCV format for image manipulation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage provides documentation for the `Matrix` class, which is part of the `Google.Cloud.DocumentAI.V1` namespace and is used to represent a transformation matrix compatible with OpenCV for image manipulation."],["The `Matrix` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, indicating its capabilities for serialization, comparison, deep cloning, and buffer management."],["The class offers two constructors: a default constructor (`Matrix()`) and a copy constructor (`Matrix(Document.Types.Page.Types.Matrix other)`), allowing for object creation from scratch or by copying an existing matrix."],["The `Matrix` class includes four properties: `Cols`, `Data`, `Rows`, and `Type`, which define the dimensions, the raw data, and the data type of the matrix, respectively, with `Type` linking to OpenCV data types."],["The page provides links to the `Matrix` class documentation across various versions of the Google Cloud Document AI, ranging from version 1.0.0 all the way up to the latest version, 3.19.0."]]],[]]