Learning Perspective Distortion Correction in Cone-Beam X-Ray Transmission Imaging