MLDepthCameraFrame
Module: Pixel Sensors / Depth Camera
Structure to encapsulate output data for each camera sensor. More...
#include <ml_depth_camera.h>
Public Attributes
Type | Name |
---|---|
int64_t | frame_number |
MLTime | frame_timestamp |
MLDepthCameraFrameType | frame_type |
MLTransform | camera_pose |
MLDepthCameraIntrinsics | intrinsics |
MLDepthCameraDepthImage * | depth_image |
MLDepthCameraConfidenceBuffer * | confidence |
MLDepthCameraDepthFlagsBuffer * | flags |
MLDepthCameraAmbientRawDepthImage * | ambient_raw_depth_image Ambient raw depth image. The illuminator in the sensor is modulated with a system determined frequency. This is the raw sensor data captured when the illuminator is off. |
MLDepthCameraRawDepthImage * | raw_depth_image Raw depth image. The illuminator in the sensor is modulated with a system determined frequency. This is the raw sensor data captured when the illuminator is on. |
Detailed Description
struct MLDepthCameraFrame;
Structure to encapsulate output data for each camera sensor.
API Level:
- 29
Public Attributes Documentation
frame_number
int64_t frame_number;
A 64bit integer to index the frame number associated with this frame.
frame_timestamp
MLTime frame_timestamp;
Frame timestamp specifies the time at which the frame was captured.
frame_type
MLDepthCameraFrameType frame_type;
Type | Description |
---|---|
MLDepthCameraFrameType | Enumeration of camera stream used when capturing a frame. |
Depth camera stream used for capturing this frame.
camera_pose
MLTransform camera_pose;
Depth camera pose in the world co-ordinate system.
intrinsics
MLDepthCameraIntrinsics intrinsics;
Type | Description |
---|---|
MLDepthCameraIntrinsics | Depth camera intrinsic parameters. |
Camera intrinsic parameters.
depth_image
MLDepthCameraDepthImage * depth_image;
Type | Description |
---|---|
MLDepthCameraDepthImage * | Depth image. |
Depth image.
confidence
MLDepthCameraConfidenceBuffer * confidence;
Type | Description |
---|---|
MLDepthCameraConfidenceBuffer * | Confidence score. |
Confidence score.
flags
MLDepthCameraDepthFlagsBuffer * flags;
Type | Description |
---|---|
MLDepthCameraDepthFlagsBuffer * | Flags. |
Depth flags.
ambient_raw_depth_image
MLDepthCameraAmbientRawDepthImage * ambient_raw_depth_image;
Ambient raw depth image. The illuminator in the sensor is modulated with a system determined frequency. This is the raw sensor data captured when the illuminator is off.
Type | Description |
---|---|
MLDepthCameraAmbientRawDepthImage * | Ambient raw depth image. |
raw_depth_image
MLDepthCameraRawDepthImage * raw_depth_image;
Raw depth image. The illuminator in the sensor is modulated with a system determined frequency. This is the raw sensor data captured when the illuminator is on.
Type | Description |
---|---|
MLDepthCameraRawDepthImage * | Raw depth image. |