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

Đang mở
#152 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@Haralishev77 đang làm issue này rồi.

Từ ngày 17/5/2026.

  • #224 của @kasivabara — đã đóng, không merge

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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

Ngôn ngữ chính
Python
Star
11
Fork
11
Merge trung bình
1 ngày 16 giờ
Pull request đã merge (30 ngày)
12

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CAVISE/OpenCDA

Tất cả issue của CAVISE/OpenCDA

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.