A class that represents an image from an imaging sensor in an Azure Kinect device.
More...
A class that represents an image from an imaging sensor in an Azure Kinect device.
Property Name | Type | R/W | Description
|
data | numpy.ndarray | R/W | The image data as a numpy ndarray.
|
image_format | EImageFormat | R | The format of the image.
|
size_bytes | int | R | The size in bytes of the data.
|
width_pixels | int | R | The width in pixels of the data.
|
height_pixels | int | R | The height in pixels of the data.
|
stride_bytes | int | R | The stride in bytes of the rows.
|
device_timestamp_usec | int | R/W | The device timestamp in microseconds.
- Timestamps are recorded by the device and represent the mid-point of exposure. They may be used for relative comparison, but their absolute value has no defined meaning.
- If the Image is invalid or if no timestamp was set for the image, this value will be 0. It is also possible for a 0 value to be a valid timestamp originating from the beginning of a recording or the start of streaming.
|
system_timestamp_nsec | int | R/W | The device timestamp in nanoseconds.
- The system timestamp is a high performance and increasing clock (from boot). The timestamp represents the time immediately after the image buffer was read by the host PC.
- Timestamps are recorded by the host. They may be used for relative comparision, as they are relative to the corresponding system clock. The absolute value is a monotonic count from an arbitrary point in the past.
- The system timestamp is captured at the moment host PC finishes receiving the image.
- On Linux the system timestamp is read from clock_gettime(CLOCK_MONOTONIC), which measures realtime and is not impacted by adjustments to the system clock. It starts from an arbitrary point in the past. On Windows the system timestamp is read from QueryPerformanceCounter(). It also measures realtime and is not impacted by adjustments to the system clock. It also starts from an arbitrary point in the past.
- If the Image is invalid or if no timestamp was set for the image, this value will be 0. It is also possible for a 0 value to be a valid timestamp originating from the beginning of a recording or the start of streaming.
|
exposure_usec | int | R/W | The image exposure in microseconds.
- This is only supported on color image formats.
- If the Image is invalid or if no exposure was set for the image, this value will be 0. An exposure time of 0 is considered invalid.
|
white_balance | int | R/W | The image white balance in Kelvin.
- This function is only valid for color captures, and not for depth or IR captures.
- If the Image is invalid or if no white balance was set for the image, this value will be 0. A white balance of 0 is considered invalid.
|
iso_speed | int | R/W | The image ISO speed.
- This function is only valid for color captures, and not for depth or IR captures.
- If the Image is invalid or if no white balance was set for the image, this value will be 0. If the image is read from the device and this value is 0, this indicates the ISO speed was not available or an error occurred. An ISO of 0 is considered invalid.
|
The documentation for this class was generated from the following file: