Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / BilatTools_OpenCV / src / core / viewer / image / ImageViewerCV.h
1 #ifndef IMAGE_VIEVER_CV_H_
2 #define IMAGE_VIEVER_CV_H_
3
4 #include <string>
5 #include <opencv.hpp>
6 #include <highgui.hpp>
7
8 #include "Chronos.h"
9
10 using namespace cv;
11
12 /*----------------------------------------------------------------------*\
13 |* Declaration *|
14 \*---------------------------------------------------------------------*/
15
16 /*--------------------------------------*\
17 |* Public *|
18 \*-------------------------------------*/
19
20 class ImageVieverCV
21 {
22 /*--------------------------------------*\
23 |* Constructor *|
24 \*-------------------------------------*/
25
26 public:
27
28 ImageVieverCV(const string& titleFrame);
29 virtual ~ImageVieverCV(void);
30
31 /*--------------------------------------*\
32 |* Methodes *|
33 \*-------------------------------------*/
34
35 public:
36
37 /**
38 * Warning : call cvWaitKey(1) after,sinon frame bloquer
39 */
40 void show(Mat* ptrMatCapture);
41 int fps(void);
42
43 /*--------------------------------------*\
44 |* Attributs *|
45 \*-------------------------------------*/
46
47 private:
48 //Inputs
49 string titleFrame;
50
51 // Tools
52 int compteur;
53 Chronos chrono;
54
55 };
56
57 #endif
58
59 /*----------------------------------------------------------------------*\
60 |* End *|
61 \*---------------------------------------------------------------------*/