Mercurial Hosting > traffic-intelligence
diff include/cvutils.hpp @ 407:5eeb3b9fb568
commented problem code (opencv 2.4.6)
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Mon, 12 Aug 2013 22:50:42 -0400 |
parents | 0089fb29cd26 |
children | b6ad86ee7033 |
line wrap: on
line diff
--- a/include/cvutils.hpp Wed Aug 07 11:42:34 2013 -0400 +++ b/include/cvutils.hpp Mon Aug 12 22:50:42 2013 -0400 @@ -23,14 +23,14 @@ 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); +// IplImage* allocateImage(const int& width, const int& height, const int& depth, const int& channels); -IplImage* allocateImage(const CvSize& size, const int& depth, const int& channels); +// IplImage* allocateImage(const CvSize& size, const int& depth, const int& channels); /** Goes to the target frame number, by querying frame, supposing the video input is currently at current frame number. Returns the frame number that was reached.*/ -int goToFrameNum(CvCapture* inputVideo, const int& currentFrameNum, const int& targetFrameNum); +// int goToFrameNum(CvCapture* inputVideo, const int& currentFrameNum, const int& targetFrameNum); /// Pre-defined colors class Colors {