| 292 | } |
| 293 | |
| 294 | bool FeatureTracking::InImageBorder(const cv::Point2f& pt, const cv::Mat& img, int borderSize) { |
| 295 | int col = img.cols, row = img.rows; |
| 296 | int imgX = cvRound(pt.x), imgY = cvRound(pt.y); |
| 297 | return borderSize <= imgX && imgX < col - borderSize && borderSize <= imgY && |
| 298 | imgY < row - borderSize; |
| 299 | } |
| 300 | |
| 301 | std::pair<cv::Mat, FeatureMap> FeatureTracking::MakeTrackedFeatUniform( |
| 302 | const FeatureMap& feats, |
nothing calls this directly
no outgoing calls
no test coverage detected