hlsMat2IplImage


Synopsis

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

Parameters

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

Description


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