CvMat2hlsWindow


Synopsis

template<int ROWS, int COLS, typename T>
void CvMat2hlsWindow( CvMat* cvmat,
                      hls::Window<ROWS, COLS, T>& window );

Parameters

  • cvmat – input 2D windowpointer to OpenCV CvMat format.
  • window – output 2D window in hls::Window format.

Description


Converts data from OpenCV CvMat format to hls::Windowformat.
Image data must be stored in cvmat, and window must be empty before invocations.
cvmat and window must be single-channel, and have the same size. This function is mainly for converting image processing kernels.