[Feature]: Change AdvCP removal semantics from IoU-based target matching to region-based center containment

Aperta
#152 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Haralishev77 ci sta già lavorando.

Dal 17/5/2026.

  • #224 di @kasivabara — chiusa senza merge

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

AdvCP attack CoP enhancement
Problem or motivation

AdvCP late-fusion removal currently removes attacker detections by comparing IoU between predicted boxes and configured removal / target boxes.

This is counterintuitive when the configured removal box is intended to represent a removal region rather than an exact target box. For example, if a user configures a very large removal box, such as a kilometer-wide region, the IoU with a normal vehicle bbox becomes tiny. As a result, no detections may be removed even though their centers clearly lie inside the intended removal area.

This makes the removal behavior hard to reason about and limits experiments where the attacker should suppress detections within a broader spatial region.

Proposed solution

Change removal semantics so the configured removal box is treated as a spatial region.

For each predicted bbox from the attacker:

  • Compute the predicted bbox center.
  • Check whether the center lies inside any configured removal region.
  • Remove the prediction if its center is inside the region.
  • Keep the prediction otherwise.

For rotated removal regions, the check should be performed in the local coordinate frame of the removal box:

  • Translate the predicted center relative to the removal box center.
  • Rotate by -yaw.
  • Check whether abs(local_x) <= length / 2 and abs(local_y) <= width / 2.

Initial implementation can use BEV / XY containment only. Z filtering can be added later as an optional parameter if needed.

Area

Cooperative perception

Alternatives considered

No response

Additional context

No response

Lingua principale
Python
Stelle
11
Fork
11
Merge medio
1g 16h
PR unite (30g)
12

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di CAVISE/OpenCDA

Tutte le issue di CAVISE/OpenCDA

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.