A method to discover what keypoints are removed when descriptors are computed. (Feature #1148)


Added by Hordur Johannsson over 13 years ago. Updated over 9 years ago.


Status:Open Start date:
Priority:Normal Due date:
Assignee:Maria Dimashova % Done:

0%

Category:features2d
Target version:-
Difficulty: Pull request:

Description

When calling DescriptorExtractor::compute it will remove the keypoints for which a descriptor cannot be computed. This can
be inconvenient if you need to associate the Descriptors to some
auxillary structure.

For example, if you have detected keypoints and computed disparity of the points at some later stage. If the keypoints are removed then the original structure needs to be searched to find the disparity.

If ordering is preserved then the search might not be too hard to do.

Possible solutions would be:

  • Template the Keypoint allowing for custom keypoints, e.g. storing all extra information or a reference to the original structure.
  • Have the remove optional and instead return a vector of bools specifying which descriptors are valid. Or a list of the id's to original vector.

Associated revisions

Revision 1c35f121
Added by Roman Donchenko over 11 years ago

Merge pull request #1148 from StevenPuttemans:patch_3125

History

Updated by Alexander Shishkov about 13 years ago

  • Description changed from When calling [[DescriptorExtractor]]::compute it will remove the keypoints fo... to When calling DescriptorExtractor::compute it will remove the keypoints for wh... More

Updated by Maksim Shabunin over 9 years ago

Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4281

Also available in: Atom PDF