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\u003eIt offers two constructors: a default constructor \u003ccode\u003eMatrix()\u003c/code\u003e and an overloaded constructor \u003ccode\u003eMatrix(Document.Types.Page.Types.Matrix other)\u003c/code\u003e for creating a new matrix based on another one.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \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, data content, and data type encoding of the matrix, respectively.\u003c/p\u003e\n"],["\u003cp\u003eMultiple versions of the \u003ccode\u003eMatrix\u003c/code\u003e class are available, ranging from version 1.0.0 to the latest version 3.19.0, each with corresponding documentation links.\u003c/p\u003e\n"]]],[],null,[]]