I want to display 3 channel cv::Mat on Qt interface and usually I use this expressions: e QImage qImage = QImage( (uchar*)cvImage.data, cvImage.cols, cvImage.rows, cvImage.cols*3, QImage::Format_RGB888 );
QPixmap pixmap = QPixmap::fromImage(qImage); myLabel.setPixmap(pixmap);
But conversion to QPixmap is slow enough. Do you know guys how to avoid the conversion? May be the function setImage can help, but I don't know how to use it...