1. An image processing apparatus comprising: an obtaining unit configured to obtain an image; a generating unit configured to generate a plurality of feature maps for a plurality of features of the image, wherein each of the feature maps corresponds to one of the features of the image; an imaging situation determining unit configured to determine an imaging situation of the image; a weighting unit configured to weight the feature maps in accordance with the imaging situation; and a detector configured to detect a region of interest from the image based on feature distributions of the weighted feature maps.