IplImage2hlsMat


Synopsis

template<int ROWS, int COLS, int T>
void IplImage2hlsMat( IplImage* img,
                      hls::Mat<ROWS, COLS, T>& mat );

Parameters

  • img – input image header in OpenCV IplImage format.
  • mat – output image in hls::Mat format.

Description


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