In this paper, the change characteristics of sagittal parameters of the patient’s body before and after anterior cervical surgery and rehabilitation effect were analyzed. The rotation transformation and perspective projection transformation were applied to construct a positive and lateral position (PLP) matching-based three-dimensional reconstruction (PLP-3DR) algorithm, which was compared with the marching cubes (MC) algorithm and gravity point (GP) algorithm. PLP-3DR was adopted in X-ray image diagnosis of 124 cervical spondylosis patients. Results showed that sensitivity, specificity, and accuracy of PLP-3DR were markedly higher than those of MC and GP (
P
<
0.05
). The postoperative C2-7 Cobbs’s angle (C2-7Cobb) (11.27 ± 8.41°) was smaller than that before the surgery (15.03 ± 7.39°) (
P
<
0.05
), while the postoperative cervical sagittal vertical axis (cSVA) (21.33 ± 10.38 mm) and Japanese Orthopaedic Association (JOA) scores (16.95 ± 6.07 points) were greater than those before the surgery (14.66 ± 9.68 mm and 11.39 ± 4.28 points) (
P
<
0.05
). Besides, the improvement rate of patients from the cSVA >25 mm group (68.31%) was greater than the rate of the cSVA <15 mm group (45.88%) and the cSVA within 15–25 mm group (47.29%) (
P
<
0.05
). In conclusion, PLP-3DR could effectively improve the diagnostic effect of spine X-ray film images, with high sensitivity and specificity. Anterior cervical surgery had a good curative effect for patients with cervical spondylosis and was closely related to cervical parameters (cSVA, T1 slope, and C2-7Cobb). In addition, patients with cSVA>25 mm could have the best postoperative rehabilitation effect.