Gets typed linear access to the plane's pixels.
Namespace: Stemmer.Cvb
Assembly: Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax
Type Parameters
- T
- Structure for access a single plane's pixel.
Return Value
Type: LinearAccessDataTData structure with the values for accessing the pixels
Exceptions
Exception | Condition |
---|---|
FormatException | If the plane's pixels are not accessible linearly |
ObjectDisposedException | If Parent has already been disposed |
InvalidOperationException | Thrown if the size of T and BytesPerPixel are unequal. |
Remarks
See TryGetLinearAccessT(LinearAccessDataT). Unlike it, GetLinearAccess will throw an exception if linear access is not possible on this plane.
Attention: Do not use reference types in T as this will leak memory!
See Also