Patent ID: 8593537

Claim:
An image sensing apparatus comprising: an image sensing unit having an image sensor which photoelectrically converts an object image formed via an imaging lens; an optical member which is arranged in front of the image sensor; a foreign substance detection unit which detects foreign substance information from a foreign substance detection image including an image of a foreign substance adhered to a surface of the optical member, the foreign substance information serving as information on at least a position and size of the foreign substance; a lens information obtaining unit which obtains lens information of the imaging lens, the lens information serving as information on at least an aperture value and a pupil position of the imaging lens; a memory unit which stores foreign substance position correction data including the foreign substance information and lens information obtained when the foreign substance information is detected; and a recording unit which, when shooting a moving image, records moving image data generated based on image signals successively output from the image sensing unit, and records the moving image data in association with the foreign substance position correction data; wherein when a user changes the aperture value or the pupil position during moving image shooting, the lens information obtaining unit updates the lens information of the foreign substance position correction data and the foreign substance information of the foreign substance position correction data is not updated, and wherein the recording unit records the moving image data in association with updated foreign substance position correction data including the foreign substance information recorded when the moving image shooting is started and the updated lens information.