Image editing apparatus and method and medium on which programs are recorded

Abstract: An image editing apparatus for laying out images input by an image input device includes a layout device for laying out a plurality of images within one page, and an evaluation unit for evaluating the layout result obtained by the layout unit. In addition, an image editing apparatus for laying out images input by an image input unit includes an effect designation unit for designating an arbitrary effect from at least one effect registered in advance, a condition setting unit for automatically setting layout conditions for the images on the basis of the condition designated by the effect designation unit, and a layout unit for laying out the images on the basis of the layout conditions set by the condition setting unit.

Description: BACKGROUND OF THE INVENTION The present invention relates to an image editing apparatus and method, such as an electronic album system, which output digital images, e.g., photographs, graphic patterns, and characters, upon laying out them in a desired form. In a conventional system, when, for example, image layout/edit processing is to be performed on a computer, the operator prepares a slot for the insertion of an image on a page displayed on the screen first, and then flows the image into the slot. When layout/edit processing is to be performed for a plurality of images, the operator arranges a plurality of slots and determines the positions and sizes of the slots by skillfully operating a mouse and a keyboard. In the above conventional system, however, the operator must adjust the positions and sizes of the slots by operating the mouse and the keyboard while visually checking them so as to neatly arrange the images within the page. This requires cumbersome operations and advanced skills. EP-A-0 528 084 describes a system and method for processing data representing stored images in which a plurality of images are laid out on one page to create a composite image, an initial layout is selected specifying the position of each image and a layout sequence of the plurality of images and the images are automatically laid out on the page according to the selected position and layout sequence with the size of each of the images being adjusted so that the images fit into their assigned layout regions. According to a first aspect of the present invention, there is provided an image editing apparatus as set out in claim 1. In a second aspect, the present invention provides an image editing method as set out in claim 6. An embodiment of the present invention provides an image layout apparatus and method for laying out images input by an image input means or the like, which can neatly and easily lay out images within a page. An embodiment of the present invention provides an image editing apparatus for laying out images input by an image input means or the like, which can attractively lay out images without complicating the operation performed by an operator and producing any monotonous layout result. Other aspects, features, and advantages of the present invention will become clear from the description thereof in the following specification and the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram showing the arrangement of an image layout apparatus; Fig. 2 is a flow chart showing the functional flow in the image layout apparatus shown in Fig. 1; Fig. 3 is a view showing an example of a window for selecting a template and the number of images to be laid out per page; Fig. 4 is a view showing an example of a window for selecting the images to be used for layout processing; Fig. 5 is a view showing an example of a window displaying a layout result; Fig. 6 is a flow chart showing in detail an example of automatic layout processing not falling within the scope of the claims; Figs. 7A to 7C are views for explaining rough arrangements used for initial layout processing in the automatic layout processing; Fig. 8 is a flow chart showing automatic layout processing in accordance with the present invention in detail: Fig. 9 is a view showing initial layout patterns; Fig. 10 is a view for explaining the moments of images; An embodiment of the present invention will be described in detail below with reference to the accompanying drawings. Fig. 1 is block diagram showing the arrangement of an image layout apparatus designed to automatically form an album by using images read from a film. Reference numeral 101 denotes an image count selection unit for designating the number of images to be laid out in one page by using a keyboard or mouse connected to an operation command input unit 111. Reference numeral 102 denotes an image selection unit for designating images to select the images to be laid out by using the keyboard or mouse connected to the operation command input unit 111; and 103, an image rotation designation unit for designating rotation of an arbitrary image, of the images selected by the image selection unit 102, in 90-degree increments by using the keyboard or mouse connected to the operation command input unit 111. Reference numeral 104 denotes an image rotation unit for rotating an image in accordance with a command from the image rotation designation unit 103; and 105, an automatic layout unit for automatically laying out the number of images designated by the image count selection unit 101 after rotation processing is performed by the image rotation unit 104. The automatic layout unit 105 is constituted by an initial layout unit 113, a layout evaluation unit 114, a layout adjustment unit 115, and the like. Reference numeral 106 denotes an image input unit for inputting images from an image input device such as a film scanner or flatbed scanner. Reference numeral 107 denotes a control unit which is constituted by a CPU (Central Processing Unit) and the like and performs overall control on all the constituent elements of the apparatus shown in Figure 1; and 108, a print unit for printing a layout result on a print sheet or a photographic film. The print unit 108 has the function of printing characters and images as sets of dots like a color ink-jet printer, a laser printer, or a film writer. Reference numeral 109 denotes a memory unit which is a memory device such as a memory for storing data necessary for various types of processing; and 110, an image storage unit for storing the image input by the image input unit 106. As the image storage unit 110, a storage device such as a hard disk, an MO, a ZIP, or a PD can be used. The operation command input unit 111 is used to input characters and numbers by using the keyboard or select a command or image by using a pointing device such as a mouse. Reference numeral 112 denotes a display unit for displaying a layout process or result on the screen of a monitor such as a CRT to allow the operator to recognize the process or result in real time; and 116, a ROM in which control programs for the control unit 107, the automatic layout unit 105, and the like are stored. The flow of processing to be controlled in accordance with the control programs stored in the ROM 116 in the image layout apparatus having the above arrangement will be described next with reference to Fig. 2. In step S201, a template is selected. Templates correspond to cardboard of an album. The templates include a template which is colored entirely, a template which has pictures and graphic patterns on the background, and the like. A plurality of types of such templates are prepared in advance. The operator selects a desired template from these prepared templates (sample templates). Fig. 3 shows the display unit 112 and a window for selecting a template by using the operation command input unit 111. The operator selects an arbitrary template from a plurality of sample templates 301 shown on the right side of the window in Fig. 3. As the initial setting, one predetermined template is selected. When a template is selected in this manner, the number of images to be displayed in one page is selected in step S202. The operator selects one of buttons "3", "4", and "5" of a Frame/Page button set 302. As the initial setting, button "3" is selected in advance. In step S203, the images used for layout processing are selected. Assume that images have been input by the image input unit 106 in Fig. 1, and a plurality of images are stored in the image storage unit 110 before the flow advances to step S203. Fig. 4 shows a window for selecting images. Referring to Fig. 4, a window 401 shown on the right side is called an image list window, in which a list of images input in the image storage unit 110 in advance are displayed as images. A window 402 shown on the left side is called an image selection window, in which the images to be laid out, selected from the image list window, are displayed. One line of the image selection window corresponds to one page. That is, the five images arranged on one line of the image selection window in Fig. 4 are automatically laid out in one page of the template (album) sequentially from the left end. Similarly, the second line corresponds to the second page. Referring to Fig. 4, since only two images are arranged on the third line, only the two images are automatically laid out in the third page. The operator selects an arbitrary image from the image list window on the right side by using the mouse, and moves the image to the image selection window on the left side by dragging and dropping (dragging the image and releasing it in a desired place). With this operation, the operator can place the image at an arbitrary position in an arbitrary page. In step S204, the sequence of the images to be arranged is changed by automatic layout processing (to be described later). In the image selection window in Fig. 4, the operator can move any image to an arbitrary position with the mouse by dragging and dropping. With the above processing, the images to be stored in each page of the template and the sequence of the images are determined. In step S205, an image rotation command is input. The images arranged in the image selection window 402 in Fig. 4 include images photographed in portrait orientation and images photographed in landscape orientation. Of these images, an image with an improper orientation must be rotated through 90° clockwise or counterclockwise. As indicated by the middle lower portion in Fig. 4, a button 403 for rotating an image trough 90° clockwise and a button 404 for rotating an image through 90° counterclockwise are displayed on the display unit 112 under the control of the control unit 107. The operator selects the image to be rotated from the images displayed in the image selection window by clicking on it with the mouse. The operator then selects the clockwise or counterclockwise rotation button with the mouse to rotate the display image. The result is quickly displayed in the image selection window. In step S206, automatic layout processing is performed by the automatic layout unit 105. The images displayed in the image selection window 402 in Fig. 4 are automatically laid out. As described with reference to step S203, the images arranged on one line of the image selection window are automatically laid out in one page. In step S207, the layout result is displayed on the display unit 112. Fig. 5 shows an example of the automatic layout result. A page turning button (NEXT button) 501 for sequentially displaying pages is displayed on the lower portion of the window to allow the operator to display and check an arbitrary page. With the above processing, the images are completely laid out. An example of automatic layout processing in step S206 not falling within the scope of the claims will be described in detail below with reference to the flow chart of Fig. 6. In automatic layout processing, first of all, initial layout processing is performed by the initial layout unit 113 in step S501. A rough sequence of arrangement on a page is prepared, and rough layout processing is performed in accordance with the sequence. Assume that in this example, the mode of laying out five images per page is selected. Fig. 7A shows the sequence of arrangement to be set when five images are laid out per page. In the initial layout processing, the images are uniformly laid out in the sequence shown in Fig. 7A. The images include images having different aspect ratios, and images with portrait and landscape orientations. In this initial layout stage, therefore, some images do not overlap, as shown in Fig. 7B, but some images greatly overlap each other, as shown in Fig. 7C. The images input from films include images having three different aspect ratios, namely "classic", "high-vision", and "panorama". In this example, optimal image sizes are determined in advance with respect to the respective aspect ratios and the numbers of images to be laid out per page. Table 1 shows the relationship between the aspect ratios of images, the numbers of images to be laid out per page, and the image sizes on the respective pages. Image Size (cm) 3 4 5 Classic 8.3 x 11.7 7.1 x 9.7 6.4 x 9.0 High-vision 7.6 x 12.9 6.5 x 11.0 5.8 x 9.9 Panorama 6.0 x 18.0 To cope with the above situation, a counter N is initialized to 0 in step S502. This counter N serves to count the number of times an image overlap amount is adjusted. In step S503, the layout is finely adjusted by the layout adjustment unit 115. More specifically, the layout adjustment unit 115 performs fine adjustment by moving the respective images to reduce the overlap areas of the respective images which are evaluated by the layout evaluation unit 114. This fine adjustment is performed as follows. In the initial layout processing, first of all, images 2 to 5 are fixed, and the first image is slightly moved in the X and Y directions, as shown in Fig. 7A. For example, this moving amount corresponding to 1 mm on a printout. When the overlap amount between the first image and the adjacent image after the movement becomes a proper value in terms of the sizes, positions, number, and the like of images, fine adjustment for the first image is complete. If the overlap amount is not proper, the first image is repeatedly moved little by little until the overlap amount becomes the proper value. If the overlap amount deviates from the proper value after the movement, the direction in which the image is slightly moved is changed. When fine adjustment for the first image is complete in this manner, images 1, 3, 4, and 5 are fixed, and fine adjustment for the second image is performed in the same manner as described above. Subsequently, fine adjustment is also executed for images 3, 4, and 5 in the same manner. It is then checked in step S504 whether the value of the counter N has reached a prescribed count T. In this example, the prescribed count T is determined in advance. For example, the count T is set to 500. If the value of the counter N is smaller than the count T, the flow advances to step S505 to perform overlap amount evaluation. If the value of the counter N becomes equal to the count T, the processing for this page is terminated. The layout of the page is then confirmed, and the flow advances to step S507. If it is determined in step S504 that the value of the counter N is smaller than the count T, the flow advances to step S505 to evaluate the overlap areas between the respective images on the page. The respective overlap areas are obtained first, and it is then checked whether each overlap area is larger than a predetermined value, thereby evaluating the overlap areas. If it is determined each overlap area is larger than the predetermined value, the flow advances to step S506 to increment the counter N. After the counter N is incremented by one, the flow advances to step S503. If it is determined in step S505 that each overlap area is smaller than the predetermined value, the fine adjustment processing for the layout of this page is terminated, and the layout of the page is confirmed. The flow then advances to step S507. When the layout is confirmed, parameters such as the coordinate values and sizes of the respective images are temporarily stored in the memory unit 109 to be read out for a display or print operation afterward. In step S507, it is checked whether automatic layout processing for all the pages is complete. If there is a page which has not undergone automatic layout processing, the flow advances to step S501 to perform automatic layout processing for the next unprocessed page. When layout processing is continuously performed for all the pages in the same manner as described above, and it is determined in step S507 that processing for all the pages is complete, the automatic layout processing is terminated. After this processing, when, for example, each page having undergone this layout processing is printed out by the print unit 108, automatically laid out image outputs can be obtained by a simple operation. As described above, a desired template is selected, and the images to be inserted in this template are simply selected from read images. Automatic layout processing for all pages is then terminated by simply designating the positions of the respective images. In addition, since this automatic layout result can be checked on the display screen of the display unit 112, layout processing can be easily performed without any special skill. As described above, the images to be laid out are selected in step S203. In some case, however, all input images may be laid out in the input order. In this case, the image selection unit 102 in Fig. 1 and steps S203 and S204 in Fig. 2 are not required. In the flow chart of Fig. 2, therefore, steps S203 and S204 are omitted. In this case, in the automatic layout processing in step S206, the input images are automatically laid out, in the input order, for the number of images designated in step S202 at a time, in units of pages. With this controlall images can be automatically laid more easily and display outputs for all the images can be obtained. When, for example, these outputs are printed out by a print unit 108, photographs can be output in the form of an album. As described above, the number of images to be laid out per page is designated in step S202. The operator may, however, wish to change the number of images to be laid out in units of pages. In such a case, the image count selection unit 101 in Fig. 1, and step S202 in Fig. 2 are not required. In the flow chart of Fig. 2, therefore, step S202 is omitted. In this case, in image selection in step S203, an arbitrary number of images can be allocated to one page in the image selection window in Fig. 4. In step S206 in Fig. 2, the image size is automatically increased or decreased in accordance with the number of images to be arranged on one page. With this control, layout processing corresponding to the operator's intention can be performed more easily and display outputs for all the images can be obtained. When, for example, these outputs are printed out by a print unit 108, photographs can be output in the form of an album. As described above, an image is rotated to adjust the position of the image in step S205. If, however, all images are input in proper positions, no image needs to be rotated. In this case, the image rotation designation unit 103 and the image rotation unit 104 in Fig. 1 and step S205 in the flow chart of Fig. 2 are omitted. As a result, desired images can be laid out more easily. When, for example, these images are printed out by a print unit 108, photographs can be output in the form of an album. As described above, input data from a film are used as input images. However, the present invention is not limited to this. As the input device, any type of image input device, e.g., a digital camera, a digital VTR, a flatbed scanner, an MO, a ZIP, a PD, a floppy disk, a laser disk, a DVD, or a network, can be connected to the apparatus. As the print unit 108 in Fig. 1, any type of image output device, e.g., a BJ printer, an LBP printer, a color laser copier, a film recorder, or a video printer, can be connected to the apparatus. In addition, as described above, the keyboard and the mouse are used as the operation command input unit 111 in Fig. 1. However, a pointing device such as a trackball or touch panel can be used in place of the mouse. Note that the present invention may be applied to either a system constituted by a plurality of equipments (e.g., a host computer, an interface device, a reader, a printer, and the like), or an apparatus consisting of a single equipment (e.g., a copying machine, a facsimile apparatus, or the like). The present invention may also be implemented by supplying a storage medium, which records a program code of a software program that can realize the above-mentioned functions of the system or apparatus, and reading out and executing the program code stored in the storage medium by a computer (or a CPU or MPU) of the system or apparatus. In this case, the program code itself read out from the storage medium realizes the above-mentioned functions, and the storage medium which stores the program code constitutes the present invention. As the storage medium for supplying the program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape nonvolatile memory card, ROM, and the like may be used. The above-mentioned functions may be realized not only by executing the readout program code by the computer but also by some or all of actual processing operations executed by an OS (operating system) running on the computer on the basis of an instruction of the program code. Furthermore, the above-mentioned functions may be realized by some or all of actual processing operations executed by a CPU or the like arranged in a function extension board or a function extension unit, which is inserted in or connected to the computer, after the program code read out from the storage medium is written in a memory of the extension board or unit. As described above, images can be neatly laid out automatically and easily as if a professional designer laid out the images. By evaluating the overlap amounts between the respective images of a layout result obtained by initial layout processing, a beautiful layout result can be easily obtained. EMBODIMENT As described above, the automatic layout processing in step S206 in Fig. 2 is performed in the manner shown in Fig. 6. In this embodiment of the present invention, this processing is performed in the manner shown in Fig. 8. As described above, as a layout evaluation parameter, the overlap amount between images is used. In this embodiment, various other parameters associated with layout positions are also used for overall evaluation of a layout, thereby further optimizing the layout. Referring to Fig. 8, in step S801, initial layout processing is performed by an initial layout unit 113. In the field of design, layout patterns for optimizing layouts are used to lay out images. There are a plurality of layout patterns based on the empirical rules in design. Fig. 9 shows the layout patterns used in this embodiment. Reference numerals 901 to 903 denote patterns each used to lay out three images on one page; and 904 and 905, patterns each used to lay out four to five images on one page. When the number of images is set to three as the initial setting, the pattern 901 is automatically selected. When the number of images is set to four or five as the initial setting, the pattern 904 is automatically selected. The operator can sequentially select the above layout patterns by clicking on an automatic layout button 502 in Fig. 5. The selected layout pattern is used as an initial layout. When the number of images is set to three, a layout pattern is set in the order of the layout patterns 901, 902, 903, 901,... every time the button is clicked. When the number of images is set to four or five, a layout pattern is set in the order of the layout patterns 904, 905, 904, .... Assume that in this embodiment, the mode of laying out five images per page is selected. In the initial layout processing, the centers of images are uniformly laid out according to the pattern 904. The images include images having different aspect ratios, and images with portrait and landscape orientations. In this initial layout stage, therefore, some images do not overlap, but some images greatly overlap each other. In step S802, a counter N is initialized to 0. This counter N is used to count the number of times image position adjustment is performed. In step S803, the cost of each layout result is obtained by a layout evaluation unit 114. Costs indicate the evaluation values of layout results which are evaluated in various respects. For example, evaluation items include the following: (1) image overlap amount (2) image gap amount (3) image gap amount deviation (4) image position offset amount The evaluation of an image overlap amount means the evaluation of the overlap area between images. As the total overlap area between the images on an entire layout window, a better layout can be obtained. The overlap area between the respective images is obtained, and the value obtained by dividing the overlap area by the total area of the original images is used as a cost. The evaluation of an image gap amount means the evaluation of the alignment of the edge portions of images. As edges are aligned, a better layout can be obtained. The gaps between the edges of images are obtained in the horizontal and vertical directions, respectively, and each obtained value is divided by a predetermined value to obtain a cost. The evaluation of an image gap amount deviation means the evaluation of the deviation of the gap between the edges of images when they do not overlap each other. As the gaps on an entire layout window become uniform in the horizontal or vertical direction, a better layout can be obtained. The gaps between the edges of images are obtained in the horizontal and vertical directions, respectively, and each deviation from the average value is obtained as a cost. The evaluation of an image position offset amount means the evaluation of the balance between the moments of images from the horizontal and vertical axes of a page calculated with the images being regarded as objects having masses. This evaluation will be described with reference to Fig. 10. Assume that n images are present on the upper and lower sides of the horizontal central axis. Letting Ai be the area of an image i, and di be the distance from the horizontal central axis to the center of the image, a total moment Mt on the upper side of the horizontal central axis is given by A total moment Mb on the lower side of the horizontal central axis is given by A cost Ch with respect to the horizontal central axis is given by Ch = |Mt - Mb| Since a cost Cv with respect to the vertical central axis is obtained in the same manner as described above, a description thereof will be omitted. Assume that n images are to be laid out, and the coordinates of the centers of the n images are represented by (x0,y0),..., (xn-1,yn-1). In this case, the evaluation functions of the image overlap amounts, the image gap amounts, the image gap amount deviations, and the image position offset amounts can be expressed as f1 = a*F_overlap(x0,y0,x1y1,..., xn-1,yn-1) f2 = b*F_edge(x0,y0,x1,y1,..., xn-1, yn-1) f3 = c*F_distribute(x0,y0,x1,y1,..., xn-1,yn-1) f4 = d*F_moment(x0,y0,x1,y1,..., xn-1,yn-1) where a , b, c, and d are the weighting coefficients for the respective evaluation functions. As these coefficients, the values determined in advance by experiment are used. The sum total of a , b, c, and d are normalized to a + b + c + d + e = 1.0 The values of the respective functions are also normalized to 0 <= F_overlap(),F_edge(),F_distribute(), F_moment() <= 1.0 In this case, a smaller value of each of the evaluation costs f1, f2,... indicates a better layout result. In step S804, an overall evaluation value, i.e., a total cost, is obtained. In this embodiment, a total cost Cost is given by Cost = f1 + f2 + f3 + f4 If, for example, m evaluation functions are set, the total cost is given by In this case, as each of evaluation costs f1, f2,... decreases, a better layout result can be obtained. That is, a smaller value of the total cost Cost indicates a better layout. In step S805, it is checked whether the value of the counter N has reached a prescribed count T. The prescribed count T is determined in advance. In this embodiment, the count T is set to 500. If the value of the counter N is smaller than the count T, the flow advances to step S806 to evaluate the cost. When the value of the counter N becomes equal to the count T, the processing is terminated, and the corresponding state is determined as the optimal layout. It is checked in step S806 whether the cost Cost obtained in step S804 is equal to or smaller than an evaluation reference value C as a target value, thereby performing cost evaluation. If the cost Cost is equal to or smaller than the value C, since it indicates the optimal layout, the processing is terminated. If the cost Cost is larger than the value C, the flow advances to step S807. In step S807, the counter N is incremented. After the counter N is incremented by one, the flow advances to step S808. In step S808, the position of the layout is adjusted by the layout adjustment unit 115. That is, each image is moved by a small amount. The moving direction of each image is determined by the change amount of the cost Cost obtained in step S803. More specifically, when the cost becomes smaller than the previous cost, each image is kept moved in the same direction to perform position adjustment. In contrast to this, when the cost becomes larger than the previous cost, each image is moved in a direction reverse or perpendicular to that in the previous operation. When position adjustment is complete, the flow returns to step S803. When the same processing as described above is performed for all the pages, and automatic layout processing is complete, the flow shifts to step S207. Note that the upper value N of the number of times of adjustment and the target value C of the total cost can be set by the user with an operation command input unit 111. The layout adjustment unit 115 need not always perform adjustment after evaluation is performed by the layout evaluation unit 114. For example, evaluation values may be displayed on the display unit 112 to allow the user to manually adjust an image layout in accordance with his/her preference. As described above, according to this embodiment, the initial layout is adjusted by performing overall evaluation using an image gap amount, a gap amount deviation, a moment, and the like as evaluation parameters for an image layout in addition to the overlap amount between images. With this processing, a more beautiful layout result can be obtained. Although a preferred embodiment of the present invention has been described above, the present invention is by no means limited to this, and various modifications and arrangements may be made without departing from the scope of the following claims.

Claims: An image editing apparatus for laying out a plurality of images in one page to create a composite image, comprising: designating means (111) for designating the plurality of images (401); selection mean (111) for selecting a template (301) for predefining an initial position of each image; and layout means (105) for laying out the plurality of images designated by said designating means according to the template selected by said selection means to produce a layout result, wherein said layout means (105) is arranged to adjust the position of each image until, for both the vertical and horizontal directions, a cost function Ch is smaller than a predetermined value, wherein: Ch=|Mt-Mb|, where Mt is the total moment on the one side of the central axis, and Mb is the total moment on the other side of the central axis: and , where Ai is the area of an image i, di is the distance from the central axis to the centre of the image i and n is the number of images on the upper and lower sides of the central axis. An apparatus according to claim 1, further comprising display means (112) for displaying the plurality of images laid out by said layout means as a composite image. An apparatus according to claim 1, further comprising means (103, 104) for selectively rotating an arbitrary image from among the plurality of images designated by said designating means (111), wherein the layout means (105) is arranged to adjust the position of each image in accordance with the rotated image. An apparatus according to claim 1, wherein said layout means (105) is arranged to adjust the layout between images by using at least one of image gap amounts, image gap amount deviations and image position offset amounts. An apparatus according to claim 1, wherein the layout means (105) is arranged to initialize a counter at the beginning of a layout adjustment process and the layout adjustment means (115) is arranged to increment the counter each time the layout adjusting means adjusts the layout and the control means is arranged to terminate the layout adjustment process if the count of the counter exceeds a predetermined number. An image editing method of laying out a plurality of images in one page to create a composite image, comprising: a designating step (S203) of designating the plurality of images; a selection step (S201) of selecting a template for predefining an initial position of each image; and a layout step (S206) of laying out the plurality of images designated in the designating step according to the template selected in the selection step to produce a layout result; wherein said layout step adjusts the position of each image until, for both the vertical and horizontal directions, a cost function Ch is smaller than a predetermined value, wherein: Ch =| Mt - Mb |, where Mt is the total moment on the one side of the central axis, and Mb is the total moment on the other side of the central axis: and , where Ai is the area of an image i, di is the distance from the central axis to the centre of the image i and n is the number of images on the upper and lower sides of the central axis. A method according to claim 6, further comprising the steps of initialising a counter at the start of the layout adjustment process, incrementing the count of the counter each time the layout is adjusted and terminating the layout adjustment process if the count of the counter exceeds a predetermined number. A medium storing a program for programming a computer to carry out a method according to claim 6 or 7.

Inventors: MATSUMURA KOICHI, YAMADA SHIGEKI, MATSUMURA, KOICHI, YAMADA, SHIGEKI
Applicants: CANON KK, CANON KABUSHIKI KAISHA
Application year: 1998
Main classification: G06T11
IPC codes: G06T11