Patent attributes
An image processing apparatus includes a first determination unit configured to determine a group of candidate templates usable for a processing target double-page spread in accordance with the number of images allocated to the processing target double-page spread, a second determination unit configured to determine a determination condition for determining whether a template already used and a template included in the group of candidate templates are similar, on the basis of the number of images or the number of templates, a third determination unit configured to determine a to-be-used template to be used for the processing target double-page spread from among the templates excluding any template determined as a similar template with the determination condition, and a layout unit configured to lay out the images allocated to the processing target double-page spread on the to-be-used template.