Plane
readonly struct NatML.Devices.CameraImage.Plane
The Plane
defines a plane buffer within a planar or semi-planar image.
Accessing the Pixel Buffer
The buffer
contains the pixel data for this plane.
Inspecting the Plane Size
Camera image planes provide information about their size:
Plane Width
The plane width.
Plane Height
The plane height.
Inspecting the Row Stride
The buffer
might contain padding bytes to satisfy alignment requirements, so the rowStride
defines the byte size of each scan line in the plane data.
Inspecting the Pixel Stride
For semi-planar images, the planeStride
determines the stride of the plane pixels in bytes.
Last updated