Mercurial > hg > nsaunier > traffic-intelligence
diff include/Motion.hpp @ 804:17e54690af8a dev
work in progress, not fully functional yet
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Wed, 01 Jun 2016 17:57:49 -0400 |
| parents | 045d05cef9d0 |
| children |
line wrap: on
line diff
--- a/include/Motion.hpp Wed Jun 01 01:55:45 2016 -0400 +++ b/include/Motion.hpp Wed Jun 01 17:57:49 2016 -0400 @@ -15,7 +15,7 @@ class FeatureTrajectory { public: - FeatureTrajectory(const unsigned int& frameNum, const cv::Point2f& p, const cv::Mat& homography); + FeatureTrajectory(const unsigned int& frameNum, const cv::Point2f& p); FeatureTrajectory(TrajectoryPoint2fPtr& _positions, TrajectoryPoint2fPtr& _velocities); @@ -43,7 +43,7 @@ /// computes the distance according to the Beymer et al. algorithm bool minMaxSimilarity(const FeatureTrajectory& ft, const int& firstInstant, const int& lastInstant, const float& connectionDistance, const float& segmentationDistance); - void addPoint(const unsigned int& frameNum, const cv::Point2f& p, const cv::Mat& homography); + void addPoint(const unsigned int& frameNum, const cv::Point2f& p); void shorten(void);
