|
static Json::Value | GetMetadataJson (const rs2::pipeline_profile &profile) |
| Get metadata for a streaming RealSense camera or bag file. More...
|
|
static void | GetPixelDtypes (const rs2::pipeline_profile &profile, RGBDVideoMetadata &metadata) |
|
static std::pair< core::Dtype, uint8_t > | get_dtype_channels (int rs2_format_enum) |
|
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) |
|
Configuration for a RealSense camera
See RealSense documentation for the set of configuration values. Supported configuration options will be specific to a device and other chosen options. https://intelrealsense.github.io/librealsense/doxygen/rs__option_8h.html https://intelrealsense.github.io/librealsense/doxygen/rs__sensor_8h.html
{
// Pick a specific device, leave empty to pick the first available
// device
{"serial": ""},
// pixel format for color frames
{"color_format": "RS2_FORMAT_ANY"},
// (width, height): Leave 0 to let RealSense pick a supported width or
// height
{"color_resolution": "0,0"},
// pixel format for depth frames
{"depth_format": "RS2_FORMAT_ANY"},
// (width, height): Leave 0 to let RealSense pick a supported width or
// height
{"depth_resolution": "0,0"},
// framerate for both color and depth streams. Leave 0 to let RealSense
// pick a supported framerate
{"fps": "0"},
// Controls depth computation on the device. Supported values are
// specific to device family (SR300, RS400, L500). Leave empty to pick
// the default.
{"visual_preset": ""}
}