Abstract
In this paper, a least squares method is proposed to process the adaptive correction of two-dimensional image deviation. The two-dimensional images obtained in the image are biased, so the two-dimensional image must be adjusted to achieve the correct correction. Then the image is pre-processed and extracted the edge contour of the two-dimensional image. It uses the least squares method to fit these feature points into a straight line and uses bilinear interpolation to correct the deviation of the two-dimensional image. The experimental results showed that the method is fast and strong anti-noise, which can improve the accuracy of the adaptive correction method.