1. An image processing apparatus comprising: a composition setting section 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 category of the input image, wherein the input image is classified into one of a predetermined scene categories; and a crop region determining section configured to determine at least one of a plurality of crop regions 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.