ahojnnes · GitHub

@ahojnnes

…ity presets
Quality presets previously set absolute max_image_size values (1000/1600/2400) tuned for SIFT's default of 3200. For ALIKED (default 1280), the medium and high presets would actually increase beyond ALIKED's design point, requiring a workaround that reset max_image_size = -1 and discarded quality scaling entirely.
Instead, quality modifiers now scale relative to each extractor's own default via EffMaxImageSize(), preserving the intended quality ratios across feature types:
- Reorder automatic_reconstruction.cc to set the feature type before calling quality modifiers, so EffMaxImageSize() returns the correct type-specific default
- Replace absolute max_image_size assignments in quality modifiers with proportional scaling (0.3125x / 0.5x / 0.75x)
- Remove the max_image_size = -1 workaround for ALIKED
SIFT values are unchanged. ALIKED now gets proportional scaling (Low=500, Medium=800, High=1200, Extreme=1600) instead of always falling back to the default.

Read the original on github.com ↗