CvMat2hlsMat


Synopsis

template<int ROWS, int COLS, int T>
void CvMat2hlsMat( CvMat* cvmat,
                   hls::Mat<ROWS, COLS, T>& mat );

Parameters

  • cvmat – input image pointer to OpenCV CvMat format.
  • mat – output image in hls::Mat format.

Description


Converts data from OpenCV CvMat format to hls::Mat format.
Image data must be stored in cvmat, and mat must be empty before invocations.
cvmat and mat must have the same size and number of channels.