xvsdk  3.2.0
Public Types | Public Member Functions | Public Attributes | List of all members
xv::SgbmImage Struct Reference

SGBM data. More...

#include <xv-types.h>

Public Types

enum  Type { Disparity = 0, Depth, PointCloud }
 

Public Member Functions

 SgbmImage (Type t)
 
RgbImage toRgb () const
 Convert to a xv::RgbImage.
 

Public Attributes

const Type type
 
std::size_t width = 0
 width of the image (in pixel)
 
std::size_t height = 0
 height of the image (in pixel)
 
std::shared_ptr< const std::uint8_t > data = nullptr
 
unsigned int dataSize = 0
 data of SGBM
 
double hostTimestamp = std::numeric_limits<double>::infinity()
 host timestamp of the physical measurement (in second based on the std::chrono::steady_clock).
 
std::int64_t edgeTimestampUs = (std::numeric_limits<std::int64_t>::min)()
 timestamp of the physical measurement (in microsecond based on edge clock).
 

Detailed Description

SGBM data.

Note
Length, width and depth are in millimeters.

The documentation for this struct was generated from the following file: