FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix bounds check for FAST Nonmax by jlaxson · Pull Request #3357 · arrayfire/arrayfire · GitHub

Fix bounds check for FAST Nonmax - #3357

Open
jlaxson wants to merge 2 commits into
arrayfire:masterfrom
jlaxson:fix-cpu-fast-dims
Open

Fix bounds check for FAST Nonmax#3357
jlaxson wants to merge 2 commits into
arrayfire:masterfrom
jlaxson:fix-cpu-fast-dims

Conversation

jlaxson commented Jan 24, 2023
edited
Loading

Copy link
Copy Markdown

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

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL