Qt-5-and-OpenCV-4-Computer-Vision-Projects 学习笔记 - 编辑图像
blurImagevoidMainWindow::blurImage(){if(currentImage==nullptr){QMessageBox::information(this,"Information","Noimagetoedit.");return;}//将`QImage`转换为`Mat`,但是这里有些复杂。我们正在打开的图像可以是任何格式-它可以是单色图像,灰度图像或深度不同的彩色