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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-19 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eMatrix\u003c/code\u003e class, which is part of the \u003ccode\u003eGoogle.Cloud.DocumentAI.V1\u003c/code\u003e namespace and is used to represent a transformation matrix compatible with OpenCV for image manipulation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMatrix\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its capabilities for serialization, comparison, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors: a default constructor (\u003ccode\u003eMatrix()\u003c/code\u003e) and a copy constructor (\u003ccode\u003eMatrix(Document.Types.Page.Types.Matrix other)\u003c/code\u003e), allowing for object creation from scratch or by copying an existing matrix.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMatrix\u003c/code\u003e class includes four properties: \u003ccode\u003eCols\u003c/code\u003e, \u003ccode\u003eData\u003c/code\u003e, \u003ccode\u003eRows\u003c/code\u003e, and \u003ccode\u003eType\u003c/code\u003e, which define the dimensions, the raw data, and the data type of the matrix, respectively, with \u003ccode\u003eType\u003c/code\u003e linking to OpenCV data types.\u003c/p\u003e\n"],["\u003cp\u003eThe page provides links to the \u003ccode\u003eMatrix\u003c/code\u003e 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.\u003c/p\u003e\n"]]],[],null,[]]