Files
dock_pattern_detector/test
duongtd 95c7df9055 feat(reflector_pair): split multi-core bright runs and allow an empty gap between strips
Narrow strips (3 cm wide, 9 cm between centres) leave a 6 cm wall gap that
bloom can fill, so one bright run may hold both strip cores and the middle
wall group may have no dark rays at all.

- Split a bright run with several cores at the darkest ray between them
  (middle of an equal-minimum region); each core becomes its own candidate.
  Ties were rejected before.
- Compare the middle wall group only when it has at least
  wall_min_points_each_side dark rays; the outer groups are still required.
- Document wall_max_gap / wall_merge_distance for the masked narrow gap.
- Tests: 3/9 cm strips at 0.5-1.5 m, a gap bridged by bloom, an occluder in
  the masked gap, a third strip making the result ambiguous.
2026-11-12 13:44:04 +07:00
..