Simple methods to convert between OpenCV's cv::Mat and Qt's QImage and QPixmap
- C++ 96.5%
- QMake 3.5%
| .github | Create FUNDING.yml | |
| example | Update qmake files to work with OpenCV 4.x | |
| test | Update qmake files to work with OpenCV 4.x | |
| .gitignore | Initial commit | |
| asmOpenCV.h | Better handling of QImage::Format_RGB32 -> CV_8UC3 conversion | |
| README.md | Initial commit | |
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