Adding functionality for computing warped image scale