The image reference class wraps the image description and data. More...
#include <slamtec_remote_objects.hxx>
Public Member Functions | |
RemoteImageRef (const slamtec_aurora_sdk_image_desc_t &desc, const void *data) | |
template<typename T > | |
std::enable_if< std::is_same< T, cv::Mat >::value, bool >::type | toMat (T &mat) const |
Convert the image to a cv::Mat object. More... | |
Public Attributes | |
const void * | _data |
The data pointer of the image. | |
const slamtec_aurora_sdk_image_desc_t & | _desc |
The image reference class wraps the image description and data.
This class is used to wrap the image description and data.
|
inline |
Convert the image to a cv::Mat object.
This function is used to convert the image to a cv::Mat object.
This function is only available when OpenCV headers are included.
[out] | mat | The cv::Mat object |