Method of iteratively compensating projective image distortions