Patent ID: 8233736

Claim:
A digital photographing apparatus, comprising: a data obtainer that obtains first data about a first image of a subject through long exposure, and second data about a second image of the subject through short exposure; a third data generator that generates third data about a third image by warping the first data obtained by the data obtainer so that the subject of the first image according to the first data obtained by the data obtainer and the subject of the second image according to the second data obtained by the data obtainer are matched together; and a second data amender which, when a third data value at a pixel (x, y) of the third image according to the third data generated by the third data generator is W(x, y) and a second data value at a pixel (x, y) of the second image according to the second data obtained by the data obtainer is S(x, y), and when |W(x, y)−S(x, y)| or a value obtained by processing |W(x, y)−S(x, y)| with regard to the pixel (x, y) of the second image satisfies a predetermined condition for amending the second data, amends the second data so that the second data value S(x, y) at the pixel (x, y) of the second image has the third data value W(x, y) at the pixel (x, y) of the third image, wherein the second data amender determines whether the second data is amended, at each pixel (x, y) of the second image according to the second data obtained by the data obtainer, only when the corresponding third data value W(x, y) at the pixel (x, y) of the third image according to the third data generated by the third data generator exists.