1. An image processing apparatus comprising: a setting module configured to set a composition pattern corresponding to an input image, on the basis of the number of regions to which attention is directed in the input image, and a scene of the input image; and a determining module configured to determine a plurality of candidates of a crop region in the input image which is optimal for an image to be cropped in the composition pattern from the input image, on the basis of the composition pattern set.