The invention relates to the technical field of
image processing, in particular to an image-based
distortion removal method, which comprises the following steps of: S1, acquiring a distorted image, and performing image
feature extraction on the distorted image to obtain image feature information of the distorted image; s2, optical center calculation: firstly, obtaining a good distorted image by using a straight line
cutting equal method, enabling image
distortion to be approximately symmetrical about an image geometric center point, accurately obtaining a center coordinate of a dot on the edge of the distorted image by using an
image processing technology, and taking a
centroid coordinate in a dot region as the center coordinate of the dot; s3, solving an initial value of a
distortion coefficient; s4, optimizing and solving a distortion coefficient; and S5, distorted graph reconstruction: in order to obtain a good corrected image, gray reconstruction, namely gray interpolation, must be carried out on the corrected image, the method is simple, convenient and practical and does not depend on internal parameters of a
camera lens and a complex measuring device, and the corrected root-mean-
square error and the gray reconstruction root-mean-
square error both reach the sub-pixel level after correction.