77 #ifndef _CVWRAPPER_HPP_
78 #define _CVWRAPPER_HPP_
80 #ifndef _NOT_USE_OPENCV_
81 #include <opencv2\core\core.hpp>
106 #ifndef _NOT_USE_OPENCV_
111 static void crTocv(std::vector<cv::Point2f> & lhs,
const std::vector<CRPoint> & rhs)
113 lhs.resize(rhs.size());
114 std::vector<CRPoint>::const_iterator i = rhs.begin();
115 std::vector<cv::Point2f>::iterator n = lhs.begin();
116 for(; i != rhs.end(); ++i, ++n)
126 static void cvTocr(std::vector<CRPoint> & lhs,
const std::vector<cv::Point2f> & rhs)
128 lhs.resize(rhs.size());
129 std::vector<cv::Point2f>::const_iterator i = rhs.begin();
130 std::vector<CRPoint>::iterator n = lhs.begin();
131 for(; i != rhs.end(); ++i, ++n)
CRPoint(const float _x, const float _y)
static void crTocv(std::vector< cv::Point2f > &lhs, const std::vector< CRPoint > &rhs)
CRPoint()
Default constructor.
static void cvTocr(std::vector< CRPoint > &lhs, const std::vector< cv::Point2f > &rhs)