Azure Kinect Sensor SDK
refs/heads/master
Documentation for https://github.com/Microsoft/Azure-Kinect-Sensor-SDK
|
|
related |
Create an image.
format | The format of the image that will be stored in this image container. |
width_pixels | Width in pixels. |
height_pixels | Height in pixels. |
stride_bytes | The number of bytes per horizontal line of the image. If set to 0, the stride will be set to the minimum size given the format and width_pixels . |
image_handle | Pointer to store image handle in. |
height_pixels
* stride_bytes
. Buffers K4A_IMAGE_FORMAT_COLOR_NV12 format will allocate an additional height_pixels
/ 2 set of lines (each of stride_bytes
). This function cannot be used to allocate K4A_IMAGE_FORMAT_COLOR_MJPG buffers.