Skip to content

*improve description of structure Simd::ShiftDetector. - #1010

Merged
ermig1979 merged 1 commit into
devfrom
cursor/improve-shiftdetector-docs-d191
Sep 23, 2026
Merged

ermig1979 merged 1 commit into
devfrom
cursor/improve-shiftdetector-docs-d191

Conversation

@ermig1979

Copy link
Copy Markdown
Owner

Improved the Doxygen comments of Simd::ShiftDetector in src/Simd/SimdShift.hpp from the special tests and the search implementation. Executable code is unchanged.

The comments now describe:

  • The Gray8 background and current pyramids, including TextureGray / TextureGrad and when SetBackground copies the buffer.
  • The half-open correlation window and the shift that moves it onto the matching background region (region.Shifted(Shift())).
  • The coarse-to-fine hill climb, the per-level shift limit, the hidden-area penalty, and REGION_CORRELATION_AREA_MIN.
  • RefinedShift, Stability, and Correlation for AbsDifference and SquaredDifference.

Release notes for 7.2.166 in docs/2026.html record the documentation update.

Open in Web Open in Cursor 

Document Simd::ShiftDetector from the special tests and the search
implementation: the Gray8 background pyramid, the half-open correlation
window, the coarse-to-fine hill climb, and the meaning of the integer
shift, refined shift, stability and correlation.

Co-authored-by: igor.ermolaev <igor.ermolaev@altezza.org>
@ermig1979
ermig1979 marked this pull request as ready for review September 23, 2026 13:10
@ermig1979
ermig1979 merged commit 5305549 into dev Sep 23, 2026
2 checks passed
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