COcvImage.h
Go to the documentation of this file.
1 #ifndef iocv_COcvImage_included
2 #define iocv_COcvImage_included
3 
4 
5 // OpenCV includes
6 #include <opencv/cv.h>
7 #include <opencv/highgui.h>
8 #undef min
9 #undef max
10 
11 // ACF includes
12 #include "iimg/CBitmapBase.h"
13 
14 
15 namespace iocv
16 {
17 
23 {
24 public:
25  COcvImage(const IplImage& image);
26 
30  static bool ConvertToBitmap(const IplImage& image, iimg::IBitmap& outputBitmap);
31 };
32 
33 
34 } // namespace iocv
35 
36 
37 #endif // !iocv_COcvImage_included
38 
39 
static bool ConvertToBitmap(const IplImage &image, iimg::IBitmap &outputBitmap)
Convert OpenCV image to standard ACF bitmap.
Wrapper for Ipl image.
Definition: COcvImage.h:22
COcvImage(const IplImage &image)

© 2007-2011 Witold Gantzke and Kirill Lepskiy