Open3D (C++ API)  0.18.0+80ae047
Public Member Functions | Data Fields
open3d::t::io::RGBDVideoMetadata Class Reference

RGBD video metadata. More...

#include <RGBDVideoMetadata.h>

Inheritance diagram for open3d::t::io::RGBDVideoMetadata:
open3d::utility::IJsonConvertible

Public Member Functions

bool ConvertToJsonValue (Json::Value &value) const override
 
bool ConvertFromJsonValue (const Json::Value &value) override
 
- Public Member Functions inherited from open3d::utility::IJsonConvertible
virtual ~IJsonConvertible ()
 
virtual std::string ToString () const
 Convert to a styled string representation of JSON data for display. More...
 

Data Fields

camera::PinholeCameraIntrinsic intrinsics_
 Shared intrinsics between RGB & depth. More...
 
std::string device_name_ = ""
 Capture device name. More...
 
std::string serial_number_ = ""
 Capture device serial number. More...
 
uint64_t stream_length_usec_ = 0
 Length of the video (usec). 0 for live capture. More...
 
int width_
 Width of the video frame. More...
 
int height_
 Height of the video frame. More...
 
double fps_
 Frame rate. More...
 
std::string color_format_
 Pixel format for color data. More...
 
std::string depth_format_
 Pixel format for depth data. More...
 
core::Dtype color_dt_
 Pixel Dtype for color data. More...
 
core::Dtype depth_dt_
 Pixel Dtype for depth data. More...
 
uint8_t color_channels_
 Number of color channels. More...
 
double depth_scale_
 

Additional Inherited Members

- Static Public Member Functions inherited from open3d::utility::IJsonConvertible
static bool EigenVector3dFromJsonArray (Eigen::Vector3d &vec, const Json::Value &value)
 
static bool EigenVector3dToJsonArray (const Eigen::Vector3d &vec, Json::Value &value)
 
static bool EigenVector4dFromJsonArray (Eigen::Vector4d &vec, const Json::Value &value)
 
static bool EigenVector4dToJsonArray (const Eigen::Vector4d &vec, Json::Value &value)
 
static bool EigenMatrix3dFromJsonArray (Eigen::Matrix3d &mat, const Json::Value &value)
 
static bool EigenMatrix3dToJsonArray (const Eigen::Matrix3d &mat, Json::Value &value)
 
static bool EigenMatrix4dFromJsonArray (Eigen::Matrix4d &mat, const Json::Value &value)
 
static bool EigenMatrix4dToJsonArray (const Eigen::Matrix4d &mat, Json::Value &value)
 
static bool EigenMatrix4dFromJsonArray (Eigen::Matrix4d_u &mat, const Json::Value &value)
 
static bool EigenMatrix4dToJsonArray (const Eigen::Matrix4d_u &mat, Json::Value &value)
 
static bool EigenMatrix6dFromJsonArray (Eigen::Matrix6d &mat, const Json::Value &value)
 
static bool EigenMatrix6dToJsonArray (const Eigen::Matrix6d &mat, Json::Value &value)
 
static bool EigenMatrix6dFromJsonArray (Eigen::Matrix6d_u &mat, const Json::Value &value)
 
static bool EigenMatrix6dToJsonArray (const Eigen::Matrix6d_u &mat, Json::Value &value)
 

Detailed Description

RGBD video metadata.

Member Function Documentation

◆ ConvertFromJsonValue()

bool open3d::t::io::RGBDVideoMetadata::ConvertFromJsonValue ( const Json::Value &  value)
overridevirtual

◆ ConvertToJsonValue()

bool open3d::t::io::RGBDVideoMetadata::ConvertToJsonValue ( Json::Value &  value) const
overridevirtual

Field Documentation

◆ color_channels_

uint8_t open3d::t::io::RGBDVideoMetadata::color_channels_

Number of color channels.

◆ color_dt_

core::Dtype open3d::t::io::RGBDVideoMetadata::color_dt_

Pixel Dtype for color data.

◆ color_format_

std::string open3d::t::io::RGBDVideoMetadata::color_format_

Pixel format for color data.

◆ depth_dt_

core::Dtype open3d::t::io::RGBDVideoMetadata::depth_dt_

Pixel Dtype for depth data.

◆ depth_format_

std::string open3d::t::io::RGBDVideoMetadata::depth_format_

Pixel format for depth data.

◆ depth_scale_

double open3d::t::io::RGBDVideoMetadata::depth_scale_

Number of depth units per meter (depth in m = depth_pixel_value/depth_scale).

◆ device_name_

std::string open3d::t::io::RGBDVideoMetadata::device_name_ = ""

Capture device name.

◆ fps_

double open3d::t::io::RGBDVideoMetadata::fps_

Frame rate.

We assume both color and depth streams have the same frame rate.

◆ height_

int open3d::t::io::RGBDVideoMetadata::height_

Height of the video frame.

◆ intrinsics_

camera::PinholeCameraIntrinsic open3d::t::io::RGBDVideoMetadata::intrinsics_

Shared intrinsics between RGB & depth.

We assume depth image is always warped to the color image system.

◆ serial_number_

std::string open3d::t::io::RGBDVideoMetadata::serial_number_ = ""

Capture device serial number.

◆ stream_length_usec_

uint64_t open3d::t::io::RGBDVideoMetadata::stream_length_usec_ = 0

Length of the video (usec). 0 for live capture.

◆ width_

int open3d::t::io::RGBDVideoMetadata::width_

Width of the video frame.


The documentation for this class was generated from the following files: