Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bounds check for FAST Nonmax #3357

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jlaxson
Copy link

@jlaxson jlaxson commented Jan 24, 2023

This bounds check was broken in two ways:

  1. It happened after memory access already occurred, meaning it didn't really protect anything
  2. It swapped x/y checks in the dimension order.

The result was fast (and orb) features would not be returned for the entire image if the input image wasn't square.

Checklist

  • Rebased on latest master
  • Code compiles
  • Tests pass
  • Functions added to unified API
  • Functions documented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants