You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
588 B
C++
24 lines
588 B
C++
#ifndef COLOSSUSBASE_H
|
|
#define COLOSSUSBASE_H
|
|
|
|
#include "cv.h"
|
|
#include "QtGui\qimage.h"
|
|
#include "QGraphicsView"
|
|
#include "QLabel"
|
|
#include "lpImgViewer.h"
|
|
|
|
namespace ColossusBase
|
|
{
|
|
cv::Mat QImage2cvMat(QImage image);
|
|
QImage* convMat2QImage(cv::Mat & img);
|
|
QImage *imgScale(QImage *img, int nWidth = 480, int nHeight = 360);
|
|
QImage *imgScale(QImage &img, int nWidth = 480, int nHeight = 360);
|
|
bool showImage(cv::Mat & src, lpImgViewer *pImgViewer);
|
|
bool showImage(QImage& img, lpImgViewer *pImgViewer);
|
|
bool showImage(cv::Mat & src, QLabel *pLabel);
|
|
}
|
|
|
|
|
|
|
|
#endif // COLOSSUSBASE_H
|