Orbbec SDK K4A Wrapper
|
Enumeration types used by APIs.
enum k4a_buffer_result_t |
Result code returned by Azure Kinect APIs.
Enumerator | |
---|---|
K4A_BUFFER_RESULT_SUCCEEDED | The result was successful |
K4A_BUFFER_RESULT_FAILED | The result was a failure |
K4A_BUFFER_RESULT_TOO_SMALL | The input buffer was too small |
Definition at line 231 of file k4atypes.h.
Calibration model type.
The model used interpret the calibration parameters.
Definition at line 684 of file k4atypes.h.
Calibration types.
Specifies a type of calibration.
Definition at line 661 of file k4atypes.h.
Color sensor control commands
Enumerator | |
---|---|
K4A_COLOR_CONTROL_EXPOSURE_TIME_ABSOLUTE | Exposure time setting. May be set to K4A_COLOR_CONTROL_MODE_AUTO or K4A_COLOR_CONTROL_MODE_MANUAL. The Azure Kinect supports a limited number of fixed expsore settings. When setting this, expect the exposure to be rounded up to the nearest setting. Exceptions are 1) The last value in the table is the upper limit, so a value larger than this will be overridden to the largest entry in the table. 2) The exposure time cannot be larger than the equivelent FPS. So expect 100ms exposure time to be reduced to 30ms or 33.33ms when the camera is started. The most recent copy of the table 'device_exposure_mapping' is in https://github.com/microsoft/Azure-Kinect-Sensor-SDK/blob/develop/src/color/color_priv.h Exposure time is measured in microseconds. |
K4A_COLOR_CONTROL_AUTO_EXPOSURE_PRIORITY | Exposure or Framerate priority setting. May only be set to K4A_COLOR_CONTROL_MODE_MANUAL. Value of 0 means framerate priority. Value of 1 means exposure priority. Using exposure priority may impact the framerate of both the color and depth cameras. Deprecated starting in 1.2.0. Please discontinue usage, firmware does not support this. |
K4A_COLOR_CONTROL_BRIGHTNESS | Brightness setting. May only be set to K4A_COLOR_CONTROL_MODE_MANUAL. The valid range is 0 to 100. The default value is 50. |
K4A_COLOR_CONTROL_CONTRAST | Contrast setting. May only be set to K4A_COLOR_CONTROL_MODE_MANUAL. |
K4A_COLOR_CONTROL_SATURATION | Saturation setting. May only be set to K4A_COLOR_CONTROL_MODE_MANUAL. |
K4A_COLOR_CONTROL_SHARPNESS | Sharpness setting. May only be set to K4A_COLOR_CONTROL_MODE_MANUAL. |
K4A_COLOR_CONTROL_WHITEBALANCE | White balance setting. May be set to K4A_COLOR_CONTROL_MODE_AUTO or K4A_COLOR_CONTROL_MODE_MANUAL. The unit is degrees Kelvin. The setting must be set to a value evenly divisible by 10 degrees. |
K4A_COLOR_CONTROL_BACKLIGHT_COMPENSATION | Backlight compensation setting. May only be set to K4A_COLOR_CONTROL_MODE_MANUAL. Value of 0 means backlight compensation is disabled. Value of 1 means backlight compensation is enabled. |
K4A_COLOR_CONTROL_GAIN | Gain setting. May only be set to K4A_COLOR_CONTROL_MODE_MANUAL. |
K4A_COLOR_CONTROL_POWERLINE_FREQUENCY | Powerline frequency setting. May only be set to K4A_COLOR_CONTROL_MODE_MANUAL. Value of 1 sets the powerline compensation to 50 Hz. Value of 2 sets the powerline compensation to 60 Hz. |
Definition at line 506 of file k4atypes.h.
Color sensor control mode
Enumerator | |
---|---|
K4A_COLOR_CONTROL_MODE_AUTO | set the associated k4a_color_control_command_t to auto |
K4A_COLOR_CONTROL_MODE_MANUAL | set the associated k4a_color_control_command_t to manual |
Definition at line 625 of file k4atypes.h.
Color sensor resolutions.
Definition at line 309 of file k4atypes.h.
enum k4a_depth_mode_t |
Depth sensor capture modes.
Definition at line 290 of file k4atypes.h.
enum k4a_firmware_build_t |
Firmware build type.
Enumerator | |
---|---|
K4A_FIRMWARE_BUILD_RELEASE | Production firmware. |
K4A_FIRMWARE_BUILD_DEBUG | Pre-production firmware. |
Definition at line 705 of file k4atypes.h.
Firmware signature type.
Enumerator | |
---|---|
K4A_FIRMWARE_SIGNATURE_MSFT | Microsoft signed firmware. |
K4A_FIRMWARE_SIGNATURE_TEST | Test signed firmware. |
K4A_FIRMWARE_SIGNATURE_UNSIGNED | Unsigned firmware. |
Definition at line 719 of file k4atypes.h.
enum k4a_fps_t |
Color and depth sensor frame rate.
Enumerator | |
---|---|
K4A_FRAMES_PER_SECOND_5 | 5 FPS |
K4A_FRAMES_PER_SECOND_15 | 15 FPS |
K4A_FRAMES_PER_SECOND_30 | 30 FPS |
K4A_FRAMES_PER_SECOND_25 | 25 FPS |
Definition at line 478 of file k4atypes.h.
enum k4a_image_format_t |
Image format type.
Enumerator | |
---|---|
K4A_IMAGE_FORMAT_COLOR_MJPG | Color image type MJPG. The buffer for each image is encoded as a JPEG and can be decoded by a JPEG decoder. Because the image is compressed, the stride parameter for the k4a_image_t is not applicable. Each MJPG encoded image in a stream may be of differing size depending on the compression efficiency. |
K4A_IMAGE_FORMAT_COLOR_NV12 | Color image type NV12. NV12 images separate the luminance and chroma data such that all the luminance is at the beginning of the buffer, and the chroma lines follow immediately after. Stride indicates the length of each line in bytes and should be used to determine the start location of each line of the image in memory. Chroma has half as many lines of height and half the width in pixels of the luminance. Each chroma line has the same width in bytes as a luminance line. |
K4A_IMAGE_FORMAT_COLOR_YUY2 | Color image type YUY2. YUY2 stores chroma and luminance data in interleaved pixels. Stride indicates the length of each line in bytes and should be used to determine the start location of each line of the image in memory. |
K4A_IMAGE_FORMAT_COLOR_BGRA32 | Color image type BGRA32. Each pixel of BGRA32 data is four bytes. The first three bytes represent Blue, Green, and Red data. The fourth byte is the alpha channel and is unused in the Azure Kinect APIs. Stride indicates the length of each line in bytes and should be used to determine the start location of each line of the image in memory. The Azure Kinect device does not natively capture in this format. Requesting images of this format requires additional computation in the API. |
K4A_IMAGE_FORMAT_DEPTH16 | Depth image type DEPTH16. Each pixel of DEPTH16 data is two bytes of little endian unsigned depth data. The unit of the data is in millimeters from the origin of the camera. Stride indicates the length of each line in bytes and should be used to determine the start location of each line of the image in memory. |
K4A_IMAGE_FORMAT_IR16 | Image type IR16. Each pixel of IR16 data is two bytes of little endian unsigned depth data. The value of the data represents brightness. This format represents infrared light and is captured by the depth camera. Stride indicates the length of each line in bytes and should be used to determine the start location of each line of the image in memory. |
K4A_IMAGE_FORMAT_CUSTOM8 | Single channel image type CUSTOM8. Each pixel of CUSTOM8 is a single channel one byte of unsigned data. Stride indicates the length of each line in bytes and should be used to determine the start location of each line of the image in memory. |
K4A_IMAGE_FORMAT_CUSTOM16 | Single channel image type CUSTOM16. Each pixel of CUSTOM16 is a single channel two bytes of little endian unsigned data. Stride indicates the length of each line in bytes and should be used to determine the start location of each line of the image in memory. |
K4A_IMAGE_FORMAT_CUSTOM | Custom image format. Used in conjunction with user created images or images packing non-standard data. See the originator of the custom formatted image for information on how to interpret the data. |
Definition at line 332 of file k4atypes.h.
enum k4a_log_level_t |
Verbosity levels of debug messaging
Definition at line 261 of file k4atypes.h.
enum k4a_result_t |
Result code returned by Azure Kinect APIs.
Enumerator | |
---|---|
K4A_RESULT_SUCCEEDED | The result was successful |
K4A_RESULT_FAILED | The result was a failure |
Definition at line 217 of file k4atypes.h.
enum k4a_stream_result_t |
Transformation interpolation type.
Enumerator | |
---|---|
K4A_TRANSFORMATION_INTERPOLATION_TYPE_NEAREST | Nearest neighbor interpolation |
K4A_TRANSFORMATION_INTERPOLATION_TYPE_LINEAR | Linear interpolation |
Definition at line 459 of file k4atypes.h.
enum k4a_wait_result_t |
Result code returned by Azure Kinect APIs.
Enumerator | |
---|---|
K4A_WAIT_RESULT_SUCCEEDED | The result was successful |
K4A_WAIT_RESULT_FAILED | The result was a failure |
K4A_WAIT_RESULT_TIMEOUT | The operation timed out |
Definition at line 246 of file k4atypes.h.
Synchronization mode when connecting two or more devices together.
Definition at line 639 of file k4atypes.h.