added ROI support in accuracy test of distanceToCenters