Patent ID: 7773828
Filing Date: 2010-08-10
Classification: G06T,H04N

Abstract:
1. A blur correction method comprising causing a processor to perform the steps of: selecting a first image and a second image; selecting at least two blocks from the first image; calculating position vectors related to positions of the blocks and motion vectors indicative of relative motions of the blocks between the first and the second images; selecting weight coefficients for the blocks based on degrees of confidence of the motion vectors with respect to the blur; calculating coefficients of an affine transformation from the position vectors, the motion vectors, and the weight coefficients; and subjecting the first image to the affine transformation to correct the blur, wherein the affine transformation comprises a rotation, of which a rotational angle can be expressed as a combination of at least the following expressions: 1) the weight coefficients; 2) a relative position vector as a difference of one of the position vectors with a center-of-gravity position vector; and 3) a relative motion vector as a difference of one of the motion vectors with a center-of-gravity motion vector, wherein the center-of-gravity position vector is indicative of a weighted center of gravity of the position vectors weighted in relation with the weight coefficients, wherein the center-of-gravity motion vector is indicative of a weighted center of gravity of the motion vectors weighted in relation with the weight coefficients; rotating the first image around a position indicated by the center-of-gravity position vector by an amount given by the rotational angle; and shifting the first image by a shifting vector amount derived from the center-of-gravity motion vector, wherein the selected blocks comprise a first block and a second block both of which are taken from two different peripheral areas of the first image, characterized in that: 1) the center-of-gravity position vector points at the first block; 2) the weight coefficient of the second block is selected to be significantly smaller than that of the first block; and 3) the relative motion vector is given by a difference of the motion vectors of the first and the second blocks.