Skip to main content
Version: 20 Mar 2024

MLDepthCameraFrame

Module: Pixel Sensors / Depth Camera

Structure to encapsulate output data for each camera sensor. More...

#include <ml_depth_camera.h>

Public Attributes

TypeName
int64_tframe_number
MLTimeframe_timestamp
MLDepthCameraFrameTypeframe_type
MLTransformcamera_pose
MLDepthCameraIntrinsicsintrinsics
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;
TypeDescription
MLDepthCameraFrameTypeEnumeration 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;
TypeDescription
MLDepthCameraIntrinsicsDepth camera intrinsic parameters.

Camera intrinsic parameters.


depth_image

MLDepthCameraDepthImage * depth_image;
TypeDescription
MLDepthCameraDepthImage *Depth image.

Depth image.


confidence

MLDepthCameraConfidenceBuffer * confidence;
TypeDescription
MLDepthCameraConfidenceBuffer *Confidence score.

Confidence score.


flags

MLDepthCameraDepthFlagsBuffer * flags;
TypeDescription
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.

TypeDescription
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.

TypeDescription
MLDepthCameraRawDepthImage *Raw depth image.