Azure Kinect Sensor SDK  refs/heads/master
Documentation for https://github.com/Microsoft/Azure-Kinect-Sensor-SDK

◆ GetPixels< TPixel >() [1/2]

Memory<TPixel> Microsoft.Azure.Kinect.Sensor.Image.GetPixels< TPixel > ( )
inline

Gets the pixels of the image.

Template Parameters
TPixelThe type of the pixel.

If the image pixels are not in contiguous memory, this method will throw an exception.

Returns
The contiguous memory of the image pixels.
Type Constraints
TPixel :unmanaged