ReUseX  0.0.1
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
ReUseX::vision::common::tensor Namespace Reference

Classes

struct  Image
 Lightweight, non-owning view of a BGR image buffer. More...

Functions

Image cvimg (const cv::Mat &image)
 Create an Image view that wraps an OpenCV Mat (zero-copy).

Function Documentation

◆ cvimg()

Image ReUseX::vision::common::tensor::cvimg ( const cv::Mat & image)

Create an Image view that wraps an OpenCV Mat (zero-copy).

Parameters
imageA BGR OpenCV Mat. The Mat must outlive the returned Image.
Returns
An Image pointing at the Mat's data buffer.