adas_opencv_create_mat_from_pixel_buffer()
Create an OpenCV Mat instance from an ADAS pixel buffer
Synopsis:
#include <adas/adas_opencv.h>adas_error_t adas_opencv_create_mat_from_pixel_buffer(
adas_pixel_buffer_handle_t pixel_buffer_handle,
cv::Mat &mat)Arguments:
- pixel_buffer_handle
- The pixel buffer to convert.
- mat
- On success, the referenced field gets set to the Mat instance created.
Library:
libadasDescription:
The Mat instance created by this function must be deleted in OpenCV when it is no longer required.
Returns:
ADAS_EOK when the function successfully completes, otherwise another adas_error_t value that provides the reason that the call failed.
Page updated:
