Patent Document ID: 8781207
Application ID: 13211318
Patent Status: 1

Claim One:
1. A computer-based image correction method being performed by execution of computer readable program code by a processor of a computing device, the method comprising: reading a reference image of a printed circuit board (PCB) from a design of the PCB, and reading a real-time image of the PCB captured by a camera by the processor; determining feature points and feature information of the feature points in the reference image using a mathematic algorithm by the processor; determining feature point pairs of the reference image and the real-time image based on the feature information of the feature points, wherein a feature point pair consists of a feature point in the reference image and a corresponding feature point in the real-time image by the processor; creating two 1×N matrices based on the feature point pairs, and determining a mapping matrix based on the two 1×N matrices by the processor; reading coordinates of base points that define a reference region in the reference image, and determining matching points in the real-time image based on the coordinates of the base points and the mapping matrix by the processor; determining a matching region in the real-time image based on all the matching points, and determining an angle between the matching region and an X-axis of a coordinate system by the processor; determining the real-time image is tilted on condition that the angle does not equal zero by the processor; and correcting the real-time image to obtain a corrected image by taking a center of the real-time image as a turning pivot to rotate the real-time image until the angle equals zero.