Mercurial Hosting > traffic-intelligence
comparison include/Motion.hpp @ 933:8ac7f61c6e4f
major rework of homography calibration, no in ideal points if correcting for distortion
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Fri, 14 Jul 2017 02:11:21 -0400 |
parents | 045d05cef9d0 |
children |
comparison
equal
deleted
inserted
replaced
932:66f382852e61 | 933:8ac7f61c6e4f |
---|---|
50 void movingAverage(const unsigned int& nFramesSmoothing); | 50 void movingAverage(const unsigned int& nFramesSmoothing); |
51 | 51 |
52 void write(TrajectoryDBAccess<cv::Point2f>& trajectoryDB, const std::string& positionsTableName, const std::string& velocitiesTableName) const; | 52 void write(TrajectoryDBAccess<cv::Point2f>& trajectoryDB, const std::string& positionsTableName, const std::string& velocitiesTableName) const; |
53 | 53 |
54 #ifdef USE_OPENCV | 54 #ifdef USE_OPENCV |
55 void draw(cv::Mat& img, const cv::Mat& homography, const cv::Scalar& color) const; | 55 void draw(cv::Mat& img, const cv::Mat& homography, const cv::Mat& intrinsicCameraMatrix, const cv::Scalar& color) const; |
56 #endif | 56 #endif |
57 | 57 |
58 friend std::ostream& operator<<(std::ostream& out, const FeatureTrajectory& ft); | 58 friend std::ostream& operator<<(std::ostream& out, const FeatureTrajectory& ft); |
59 | 59 |
60 protected: | 60 protected: |