CQTImageConvertor.h
Go to the documentation of this file.
00001 /*
00002  * CQTImageConvertor.h
00003  *
00004  *  Created on: 23.07.2010
00005  *      Author: grigorescu
00006  */
00007 
00008 #ifndef CQTIMAGECONVERTOR_H_
00009 #define CQTIMAGECONVERTOR_H_
00010 
00011 //#include "QT_TYPES.h"
00012 //#include "../common_utils/ROVIS_TYPES.h"
00013 #include <QLabel>
00014 #include <QImage>
00015 #include "cv_bridge/CvBridge.h"
00016 
00017 class CQTImageConvertor
00018 {
00019 public:
00020         CQTImageConvertor();
00021         virtual ~CQTImageConvertor();
00022 
00023 public:
00024         static void showQTImage(QImage* image, QLabel* label);
00025 
00026         static void showQTImage(const IplImage* image, QLabel* label);
00027 
00028         static void showQTImage(cv::Mat image, QLabel* label);
00029 
00030         static void IplImage2QImage(const IplImage *iplImg, QImage* qimg);
00031 
00032         static void IplImage2QImage(cv::Mat iplImg, QImage* qimg);
00033 
00034         static void showQTImage(const IplImage* image, QPixmap &pixmap);
00035 };
00036 
00037 #endif /* CQTIMAGECONVERTOR_H_ */


zbar_qt_ros
Author(s): banacer
autogenerated on Mon Oct 6 2014 10:57:25