摘要 |
PROBLEM TO BE SOLVED: To enable the exact alignment of an image by adding mutual correlation coefficients in the longitudinal and lateral directions of a search area and defining a position, where these added values respectively become maximum values, as a matching position. SOLUTION: Concerning the search area in an input image divided into the blocks of M×N picture elements, inside that search area, mutual correlation coefficients C (a, b) at respective positions are operated according to a specified expression. Then, the operated results of the mutual correlation coefficients are stored in arrangement R (a, b) (S1). Next, the arrangement R (a, b) is added in (x) direction, SX(1) to SX(M-X+1) are added in (y) direction, and SY(1) to SY(N-Y+1) are respectively provided (S2). Then, among the SX(1) to SX(M-X+1) and among the SY (1) to SY(N-Y+1), the positions to respectively take the maximum values, namely, a column number x0 and a row number y0 are extracted (S3). Finally, the column number x0 and the row number y0 are decided as the matching position (S4).
|