Mercurial Hosting > traffic-intelligence
view include/Feature.hpp @ 130:2a6e7a9a5c53
changed to goodFeaturesToTrack instead of generic detectors
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Wed, 17 Aug 2011 17:30:30 -0400 |
parents | 4742b2b6d851 |
children | 45c64e68053c |
line wrap: on
line source
#ifndef FEATURE_HPP #define FEATURE_HPP #include "opencv2/core/core.hpp" #include "src/Trajectory.h" class FeatureTrajectory { void addPoint(const int& frameNum, const cv::Point2f& p); protected: Trajectory<cv::Point2f> positions; Trajectory<cv::Point2f> velocities; std::vector<float> displacementDistances; void computeMotionData(const int& frameNum); }; #endif