integrated homography and perspective projection