Ask Your Question

how do I remove outliers from goodFeaturesToTrack?

asked 2015-04-16 08:31:50 -0500

215 gravatar image

I looking for some kind of method in which i can remove outlying points or spurious features retrieved from the goodFeatureToTrack function in openCv?

Any suggestion?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-04-16 11:19:27 -0500

littlie gravatar image

You can try several heuristics once you get the features. Some ideas:

  1. Discard items that are too long/short. Maybe calculate the mean and standard deviation and discard features that are more than mean + 2standard deviation or less than mean - 2standard deviation.
  2. If you have a sequence, tracking vector from N to N+1 should be similar to N-1 to N.
  3. Try different feature tracking by OpenCV - FAST, SIFT, SURF etc. Each one has advantages/disadvantages based on the features you are trying to track.
edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-04-16 08:31:50 -0500

Seen: 1,545 times

Last updated: Apr 16 '15