nms_on_detection_maps¶

nms_on_detection_maps(detection_maps, min_distance)[source]¶

Apply NMS to pre-processed peak maps to handle cross-channel conflicts.

Parameters:
  • detection_maps (np.ndarray) – (H, W, C) where pixels are already local peaks.

  • min_distance (int) – Minimum distance required between ANY detections.

Returns:

The filtered maps with cross-channel suppression applied.

Return type:

np.ndarray