1. An image pickup apparatus, comprising: an image pickup portion configured to capture an image; a detecting portion configured to detect a first manipulation and a second manipulation made on a display surface of a display portion, when the captured image is displayed on the display portion, the first manipulation corresponding to a correction area of the captured image; a luminance range setting portion configured to set a luminance range corresponding to an input time period of the second manipulation detected by said detecting portion; another detecting portion configured to detect a pixel group of the correction area belonging to the set luminance range as a pixel group of a foreign substance; and a foreign substance removing portion configured to remove an image of the foreign substance, when the captured image of the foreign substance is included in the captured image by executing image processing based on a position of the first manipulation detected by said detecting portion and the pixel group detected by said another detecting portion.