Mercurial Hosting > traffic-intelligence
comparison include/cvutils.hpp @ 127:d19d6e63dd77
simple feature tracking and drawing working
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Wed, 17 Aug 2011 01:25:13 -0400 |
parents | 336926453b28 |
children | 536510f60854 |
comparison
equal
deleted
inserted
replaced
126:336926453b28 | 127:d19d6e63dd77 |
---|---|
8 | 8 |
9 /// constant that indicates if the image should be flipped | 9 /// constant that indicates if the image should be flipped |
10 | 10 |
11 //static const int flipImage = CV_CVTIMG_FLIP; | 11 //static const int flipImage = CV_CVTIMG_FLIP; |
12 | 12 |
13 void keypPoints2Points(const std::vector<cv::KeyPoint>& kpts, std::vector<cv::Point2f>& points); | 13 void keyPoints2Points(const std::vector<cv::KeyPoint>& kpts, std::vector<cv::Point2f>& pts); |
14 | 14 |
15 /** Allocates a new IplImage. */ | 15 /** Allocates a new IplImage. */ |
16 IplImage* allocateImage(const int& width, const int& height, const int& depth, const int& channels); | 16 IplImage* allocateImage(const int& width, const int& height, const int& depth, const int& channels); |
17 | 17 |
18 IplImage* allocateImage(const CvSize& size, const int& depth, const int& channels); | 18 IplImage* allocateImage(const CvSize& size, const int& depth, const int& channels); |