An image processing apparatus comprising: an inputting unit (101, 102) for inputting: image data including image data shot using a bracket shooting function; and an instruction for a correction processing out of various correction processing types on the image data; a storage unit (1102, 1103, 1104) for storing the input image data, characterised in that the apparatus further comprises: a determining unit for: determining the bracket shooting function corresponding to the correction type of the instruction for correction processing input by the inputting unit by using a correspondence table containing a correspondence between the various correction processing types and a plurality of bracket shooting functions; and determining whether or not the image data shot using said corresponding bracket shooting function is stored in the storage unit; a selecting unit for, in a case where it is determined by the determining unit that image data stored in the storage unit is image data that has been shot using a bracket shooting function corresponding to the correction processing instruction, selecting (S406, S407) the image data shot using the bracket shooting function corresponding to the correction processing instruction from the image data stored in the storage unit; and a processing unit for, in a case where it is determined by the determining unit that there is no image data in the storage unit shot using a bracket shooting function that corresponds to the correction processing instruction, performing the correction processing on the image data input by the inputting unit. an inputting unit (101, 102) for inputting: image data including image data shot using a bracket shooting function; and an instruction for a correction processing out of various correction processing types on the image data; a storage unit (1102, 1103, 1104) for storing the input image data, characterised in that the apparatus further comprises: a determining unit for: determining the bracket shooting function corresponding to the correction type of the instruction for correction processing input by the inputting unit by using a correspondence table containing a correspondence between the various correction processing types and a plurality of bracket shooting functions; and determining whether or not the image data shot using said corresponding bracket shooting function is stored in the storage unit; a selecting unit for, in a case where it is determined by the determining unit that image data stored in the storage unit is image data that has been shot using a bracket shooting function corresponding to the correction processing instruction, selecting (S406, S407) the image data shot using the bracket shooting function corresponding to the correction processing instruction from the image data stored in the storage unit; and a processing unit for, in a case where it is determined by the determining unit that there is no image data in the storage unit shot using a bracket shooting function that corresponds to the correction processing instruction, performing the correction processing on the image data input by the inputting unit. a determining unit for: determining the bracket shooting function corresponding to the correction type of the instruction for correction processing input by the inputting unit by using a correspondence table containing a correspondence between the various correction processing types and a plurality of bracket shooting functions; and determining whether or not the image data shot using said corresponding bracket shooting function is stored in the storage unit; a selecting unit for, in a case where it is determined by the determining unit that image data stored in the storage unit is image data that has been shot using a bracket shooting function corresponding to the correction processing instruction, selecting (S406, S407) the image data shot using the bracket shooting function corresponding to the correction processing instruction from the image data stored in the storage unit; and a processing unit for, in a case where it is determined by the determining unit that there is no image data in the storage unit shot using a bracket shooting function that corresponds to the correction processing instruction, performing the correction processing on the image data input by the inputting unit.