Patent ID: 8180176
Filing Date: 2012-05-15
Classification: G06T,H04N

Abstract:
1. An image processing device for correcting a captured image composed of a plurality of pixel blocks, each pixel block of the plurality of pixel blocks being composed of a predetermined number of horizontal and vertical pixels, the captured image being corrected using luminances each relating to a corresponding one pixel of the horizontal and vertical pixels, the image processing device comprising: a judgment unit operable to, for each pixel block of the plurality of pixel blocks, (i) perform a calculation by substituting pairs of values in an equation for obtaining a directional distribution, each of the pairs of values being composed of a value indicating a position of each of pixels that compose the pixel block, and a value indicating one of the luminances that is associated with the indicated position, and (ii) judge whether or not the pixel block is suitable for estimating a tilt angle of a part of the captured image that corresponds to the pixel block, based on the obtained directional distribution, the directional distribution showing a distribution of directions each characterized by a part or all of an edge of an object included in the part of the captured image, the part or all of the edge corresponding to linearly-arranged two or more of the pixels; a selection unit operable to select one or more pixel blocks of the plurality of pixel blocks that have been judged affirmatively; and a correction unit operable to obtain a tilt angle of the captured image with respect to a reference axis using one or more of the directional distributions obtained for the selected one or more pixel blocks of the plurality of pixel blocks, and to perform the correction based on the obtained tilt angle of the captured image.