Skip to content

Conversation

@griwodz
Copy link
Member

@griwodz griwodz commented Oct 23, 2025

Description

  • Remove unreachable code for extrema search in interpolated DoG planes

Extrema are searched from 3x3x3 blocks of pixels in the DoG pyramid. The dead code could search in interpolated pixels, which never made sense. The code was always #undef'ed.

  • Remove the narrow Gaussian filter option "--gauss-mode opencv"

OpenCV used quite narrow Gaussian filters when PopSift was first written. This computation was adopted for compatibility reasons, but the missing elements in the filter do actually have a noticable impact. The other modes are more accurate.

Features list

  • Remove unreachable code for extrema search in interpolated DoG planes
  • Remove the narrow Gaussian filter option "--gauss-mode opencv"

Implementation remarks

There are still Gaussian filter modes that should be retired. The fixed filter with width 9 provides bad quality, while the fixed filter with width 15 is needlessly slow.

Copy link
Member

@simogasp simogasp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@griwodz griwodz merged commit 5d273c5 into develop Oct 24, 2025
5 checks passed
@griwodz griwodz deleted the dev/remove-old-gaussian-span-computation branch October 24, 2025 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants