Mercurial Hosting > traffic-intelligence
diff 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 |
line wrap: on
line diff
--- a/include/cvutils.hpp Wed Aug 17 01:25:13 2011 -0400 +++ b/include/cvutils.hpp Wed Aug 17 02:44:28 2011 -0400 @@ -10,7 +10,7 @@ //static const int flipImage = CV_CVTIMG_FLIP; -void keyPoints2Points(const std::vector<cv::KeyPoint>& kpts, std::vector<cv::Point2f>& pts); +void keyPoints2Points(const std::vector<cv::KeyPoint>& kpts, std::vector<cv::Point2f>& pts, const bool& clearPts = true); /** Allocates a new IplImage. */ IplImage* allocateImage(const int& width, const int& height, const int& depth, const int& channels);