asmOpenCV icon indicating copy to clipboard operation
asmOpenCV copied to clipboard

Simple methods to convert between OpenCV's cv::Mat and Qt's QImage and QPixmap

asmOpenCV

Simple methods to convert between OpenCV's cv::Mat and Qt's QImage and QPixmap.

The simple example shows how to use the methods to apply Gaussian blur to an image. Note that you will need to change OPENCV_INSTALL in example/example.pro to point at your OpenCV files.

See my blog post for details: https://asmaloney.com/2013/11/code/converting-between-cvmat-and-qimage-or-qpixmap

24 July 2016
Andy Maloney
https://asmaloney.com