摘要 |
An image processing device includes an input unit that receives a first image and a second image that are taken from different positions. A first cutting unit cuts a first block from the first image. A second cutting unit moves a second block by P pixels in a row direction, in a moving limit set in a processing area of the second image, and cuts the second block from the second image. A correlation value calculating unit calculates a correlation value between the first and second blocks. A deviation amount calculating unit calculates an amount of deviation between the first and second images based on a largest value of the correlation value. The setting unit narrows the moving limit based on the correlation value calculated in the N-th row when the amount of deviation is calculated in the (N+1)-th row of the first image. |