Function lib3d::qimage2cvMat
Defined in File visualization.hpp
Function Documentation
-
inline cv::Mat lib3d::qimage2cvMat(const QImage &img, int requiredMatType = CV_8UC(uint(0)), MatColorOrder requiredOrder = MCO_BGR)
-
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.