Tracking features over time with BRISK

asked 2015-08-13 03:55:19 -0500

NickDepal gravatar image

For visual odometry, I want to track features over a sequence of frames.

I tried tracking features with cv::calcOpticalFlowPyrLK in OpenCV 2.4, but I have the problem that these features drift (e.g. as the camera moves left, the features also slowly move to the left), because I start the search for the feature at the last feature location and thus I am biased to find the feature closer to where it actually was.

Thus, I want to use a feature descriptor such as BRISK.

The problem that I have is that with BRISK, or any other feature descriptor, I have to look for features in both images and then match them. However, I already have one feature descriptor (as well as an approximate location where the feature might be) and would like to just look for this feature. What I do is, I extract features in a region of interest around the most recent feature location and then take the best match. Unfortunately, the best match is not always actually the same feature, even if the subsequent images are identical. The problem is that I have to just hope that the feature extractor (I use FAST) finds the same feature interesting in the new image. If it doesn't, I end up with a match that is a few pixels off, or no match at all. This causes me to lose features very often, even if they are still very visible and the view point has not changed at all.

What is the recommended approach for this? Ideally I would like to search for a specific feature descriptor and not have to blindly look for features and hope that one of them is the one I am looking for.

Thank you for your help

edit retag flag offensive close merge delete

Comments

I'm not sure to understand your problem but I have try to match Orb descriptor using my webcam. As my camera is very noisy Descriptor are not stable. I have to use a filter to improve strabilty but that's not an answer because image is blurred when there is motion. Small black cross are keypoint matches

LBerger gravatar imageLBerger ( 2015-08-14 10:21:07 -0500 )edit

Thanks for your input. I do indeed have the problem that the descriptors are not stable, i.e. my matches tend to jump around. I would like to avoid having to do much filtering as I'm already close to my computational limits.

NickDepal gravatar imageNickDepal ( 2015-08-17 06:13:55 -0500 )edit

Have you try to use opencl or cuda?

LBerger gravatar imageLBerger ( 2015-08-17 07:30:02 -0500 )edit

I have not. However, I am working on an Odroid, which I don't believe has any GPU to speak of.

NickDepal gravatar imageNickDepal ( 2015-08-18 02:22:10 -0500 )edit