#include <QtGui/QImage>
#include <QtGui/QColor>
#include <opencv2/core/core.hpp>
#include <rtabmap/utilite/UMath.h>
#include <rtabmap/utilite/UThread.h>
#include <stdio.h>
Go to the source code of this file.
Enumeration Type Documentation
- Enumerator:
uCvQtDepthWhiteToBlack |
|
uCvQtDepthBlackToWhite |
|
uCvQtDepthRedToBlue |
|
uCvQtDepthBlueToRed |
|
Definition at line 30 of file UCv2Qt.h.
Function Documentation
Convert a cv::Mat image to a QImage. Support depth (float32, uint16) image and RGB/BGR 8bits images.
- Parameters:
-
image | the cv::Mat image (can be 1 channel [CV_8U, CV_16U or CV_32F] or 3 channels [CV_U8]) |
isBgr | if 3 channels, it is BGR or RGB order. |
- Returns:
- the QImage
Definition at line 44 of file UCv2Qt.h.