This application relates to the field of
image processing technology, and discloses a method, apparatus, and
computer device for estimating the radial
distortion coefficient of an image. The method performs discrete sampling within a preset range of radial
distortion coefficients to generate an ordered sequence of
distortion coefficients. For each coefficient in the sequence, a parameter traversal operation is performed: trial correction is performed based on the coefficient and the original image size; straight lines are detected and filtered in the corrected image; intersection points of straight lines are randomly sampled and outliers are cleaned; and statistics describing the dispersion of the intersection point distribution are calculated in the X and Y directions. After traversal, two corresponding statistical sequences are formed. A convexity trend test is performed on both sequences sequentially, and a
correlation test is performed on the sequences that pass the test. The distortion coefficient corresponding to the global minimum point in the statistical sequences that pass all tests is determined as the optimal estimate. This application achieves automatic
estimation without calibration or manual intervention, and has the advantages of strong robustness and wide adaptability.