abs img, fix reversed index