separation between image localisation and chi computation
Former-commit-id: 9c98f34432381ec84126888568d31a1f33c42714