Main MRPT website
>
C++ reference for MRPT 1.3.2
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
mrpt
otherlibs
do_opencv_includes.h
Go to the documentation of this file.
1
/* +---------------------------------------------------------------------------+
2
| Mobile Robot Programming Toolkit (MRPT) |
3
| http://www.mrpt.org/ |
4
| |
5
| Copyright (c) 2005-2015, Individual contributors, see AUTHORS file |
6
| See: http://www.mrpt.org/Authors - All rights reserved. |
7
| Released under BSD License. See details in http://www.mrpt.org/License |
8
+---------------------------------------------------------------------------+ */
9
10
#ifndef MRPT_DO_OPENCV_INCL_H
11
#define MRPT_DO_OPENCV_INCL_H
12
13
// By including this file you make sure of #including all the relevant OpenCV
14
// headers, from OpenCV 1.0 up to the latest version.
15
16
#include <mrpt/config.h>
17
18
#if MRPT_HAS_OPENCV
19
// OPENCV HEADERS
20
# define CV_NO_CVV_IMAGE // Avoid CImage name crash
21
22
# if MRPT_OPENCV_VERSION_NUM>=0x211
23
# if !defined(__cplusplus)
24
# include <opencv2/core/core_c.h>
25
# include <opencv2/highgui/highgui_c.h>
26
# include <opencv2/imgproc/imgproc_c.h>
27
# else
28
# include <opencv2/core/core.hpp>
29
# include <opencv2/core/core_c.h>
30
# include <opencv2/highgui/highgui.hpp>
31
# include <opencv2/highgui/highgui_c.h>
32
# include <opencv2/imgproc/imgproc.hpp>
33
# include <opencv2/imgproc/imgproc_c.h>
34
# include <opencv2/features2d/features2d.hpp>
35
# include <opencv2/video/tracking.hpp>
36
# if MRPT_OPENCV_VERSION_NUM>=0x300
37
# include <opencv2/video/tracking_c.h>
38
# endif
39
# include <opencv2/calib3d/calib3d.hpp>
40
# include <opencv2/objdetect/objdetect.hpp>
41
//# include <opencv2/core/eigen.hpp> // Removed: opencv 2.3 had this file broken in Ubuntu (??)
42
# // These ones dissapeared in 3.0.0: <opencv2/legacy/{legacy,compat}.hpp> // CvImage
43
# if (MRPT_OPENCV_VERSION_NUM>=0x240) && MRPT_HAS_OPENCV_NONFREE
44
# include <opencv2/nonfree/nonfree.hpp>
45
# endif
46
# endif
47
# else
48
// For OpenCV <=2.1
49
# include <cv.h>
50
# include <highgui.h>
51
# include <cvaux.h>
52
# endif
53
54
# if defined(__cplusplus)
55
#include <
mrpt/utils/CImage.h
>
56
using
mrpt::utils::CImage
;
57
58
typedef
std::vector<CvPoint2D32f> CvPoint2D32fVector;
59
# endif
60
#endif // MRPT_HAS_OPENCV
61
62
#endif
mrpt::utils::CImage
A class for storing images as grayscale or RGB bitmaps.
Definition:
CImage.h:101
CImage.h
Page generated by
Doxygen 1.8.11
for MRPT 1.3.2 SVN:Unversioned directory at Sun May 1 08:45:24 UTC 2016