A paper accepted to Pattern Recognition Letters (PRL), 2024