Patent ID: 8571345

Claim:
A correction-table generation device which generates a correction table to be used in generation of a corrected image by geometric correction of an input image, comprising: a receded-position-based light-direction vector obtaining unit which obtains a light-direction vector in an objective space corresponding to each pixel position on the corrected image, based on a first projection center which is located on a rear side of a second projection center with respect to a direction of an optical axis associated with the input image, where the second projection center is a projection center of the input image in the objective space; an origin-based light-direction vector obtaining unit which obtains an origin- based light-direction vector from the light-direction vector, where the origin-based light-direction vector is a vector indicating a direction from the second projection center in which a point corresponding to said each pixel position exists in the objective space; a resampling-position obtaining unit which obtains as a resampling position a position on the input image corresponding to the origin-based light-direction vector; and a resampling-position recording unit which records in the correction table the resampling position in correspondence with said each pixel position in the corrected image.