hlsMat2cvMat


Synopsis

template<int ROWS, int COLS, int T>
void hlsMat2cvMat( hls::Mat<ROWS, COLS, T>& mat,
                   cv::Mat& cv_mat );

Parameters

  • mat – input image in hls::Mat format.
  • cv_mat – output image in OpenCV cv::Mat format.

Description


Converts data from hls::Mat format to OpenCV cv::Mat format.
Image data must be stored in mat. Invoking this function will consume the data in mat.
mat and cv_mat must have the same size and number of channels.