Function lib3d::cvMat2QImage
Defined in File visualization.hpp
Function Documentation
-
inline QImage lib3d::cvMat2QImage(const cv::Mat &mat, MatColorOrder order = MCO_BGR, QImage::Format formatHint = QImage::Format_Invalid)
-
cv::Mat
Supported channels
1 channel
3 channels (B G R), (R G B)
4 channels (B G R A), (R G B A), (A R G B)
Supported depth
CV_8U [0, 255]
CV_16U [0, 65535]
CV_32F [0, 1.0]
QImage
All of the formats of QImage are supported.