Scanbot SDK
|
Utilities for bridging OpenCV cv::Mat's to the Scanbot SDK. More...
Go to the source code of this file.
Functions | |
scanbotsdk_image_t | toImage (const cv::Mat &image) |
Wraps the data of the given cv::Mat in a scanbotsdk_image_t struct. | |
Utilities for bridging OpenCV cv::Mat's to the Scanbot SDK.
|
inline |
Wraps the data of the given cv::Mat in a scanbotsdk_image_t struct.
The resulting struct does not own the data, so the cv::Mat must remain valid while the scanbotsdk_image_t is used.
image | The cv::Mat to wrap. |