Skip to content

Release v2.0.0

Latest

Choose a tag to compare

@enpe enpe released this 09 Apr 21:48
· 106 commits to main since this release
Added PointDetector::refinePointPosition()

Summary:
Added a static helper function `refinePointPosition()` to `PointDetector` that refines a rough sub-pixel point position by snapping it to the nearest intensity peak in the image.

The function rounds the input position to the nearest pixel, then delegates to `PointPeakDetector::determinePrecisePosition()` which uses iterative gradient-based optimization on a 7x7 patch to find the precise sub-pixel center of a dot.

The `positiveSign` parameter controls whether the function looks for a dark dot on a bright background (positive) or a bright dot on a dark background (negative), matching the sign convention used throughout the calibration module.

This function is intended for use by the calibration board tracker to correct drift in frame-to-frame tracked points by anchoring them to actual image features each frame.

___

overriding_review_checks_triggers_an_audit_and_retroactive_review
Oncall Short Name: xrt_contextual_ai

landed-with-radar-review

Differential Revision: D100032802

fbshipit-source-id: d62aa63f453896b4e52b1c1baf7ea31a637269fa