1. An image processing apparatus comprising: a processor; and a memory storing instructions which, when executed by the processor, cause the image processing apparatus to function as: a creating unit configured to create a plurality of subsets, wherein each of the plurality of subsets is created by selecting, from a plurality of learning images, one or more learning images; a learning unit configured to learn an area discriminator for discriminating a class of each area obtained by dividing the learning images, for each subset created by the creating unit; a learning discriminating unit configured to discriminate a class of each area obtained by dividing a plurality of learning evaluation images, by using the plurality of area discriminators learned by the learning unit; and an identification learning unit configured to learn an integrated identifier based on a discrimination result for each area of the plurality of learning evaluation images discriminated by the learning discriminating unit and scene information associated with each of the plurality of learning evaluation images.