LuminanceFrame

LuminanceFrame class

Represents an 8-bit grayscale image frame. Each pixel is represented by one byte containing its luminance value.

The LuminanceFrame type exposes the following members:

Constructors

NameDescription
LuminanceFrame(data, width, height, rotation_degrees)Initializes a new instance of the LuminanceFrame class
LuminanceFrame(data, width, height, row_stride, rotation_degrees)Initializes a new instance of the LuminanceFrame class

Properties

NameDescription
dataGets the luminance data.
widthGets the frame width in pixels.
heightGets the frame height in pixels.
row_strideGets the distance in bytes between the beginnings
of two adjacent rows.
rotation_degreesGets the number of degrees the frame must be rotated clockwise to have the correct orientation.

See Also