Image Number 8 for United States Patent #8228550.
When an image processing program runs on a PC to produce a layout image in which plural selected images are inserted separately into image display frames, a CPU functions as a browser controller, a face image counter, an average number calculator, a pattern selector, a table, and an image layout section. The face image counter counts face images in each selected image. The average number calculator calculates an average number of the face images in a single selected image. Plural layout patterns of the image display frames are established in the table, which also defines the number of the image display frames and a threshold number of the face images for each layout pattern. Comparing the average number with the threshold number, the pattern selector selects the layout pattern. The image layout section inserts the selected images into the image display frames in the selected layout pattern.