Mercurial > hg > nsaunier > traffic-intelligence
comparison include/cvutils.hpp @ 128:536510f60854
new features generated as needed
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Wed, 17 Aug 2011 02:44:28 -0400 |
| parents | d19d6e63dd77 |
| children | 3a11dba30655 |
comparison
equal
deleted
inserted
replaced
| 127:d19d6e63dd77 | 128:536510f60854 |
|---|---|
| 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 keyPoints2Points(const std::vector<cv::KeyPoint>& kpts, std::vector<cv::Point2f>& pts); | 13 void keyPoints2Points(const std::vector<cv::KeyPoint>& kpts, std::vector<cv::Point2f>& pts, const bool& clearPts = true); |
| 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); |
