AU714221B2 - A method of positioning display images - Google Patents

A method of positioning display images Download PDF

Info

Publication number
AU714221B2
AU714221B2 AU55416/98A AU5541698A AU714221B2 AU 714221 B2 AU714221 B2 AU 714221B2 AU 55416/98 A AU55416/98 A AU 55416/98A AU 5541698 A AU5541698 A AU 5541698A AU 714221 B2 AU714221 B2 AU 714221B2
Authority
AU
Australia
Prior art keywords
images
predetermined
cost function
rule
accordance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
AU55416/98A
Other versions
AU5541698A (en
Inventor
Richard Lam
Alison Lennon
Julie Zhu
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from AUPO5233A external-priority patent/AUPO523397A0/en
Application filed by Canon Inc filed Critical Canon Inc
Priority to AU55416/98A priority Critical patent/AU714221B2/en
Publication of AU5541698A publication Critical patent/AU5541698A/en
Application granted granted Critical
Publication of AU714221B2 publication Critical patent/AU714221B2/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)

Description

S F Ref: 410550
AUSTRALIA
PATENTS ACT 1990 COMPLETE SPECIFICATION FOR A STANDARD PATENT
S
S
a..
a.
a a a.
a a. a a. a
ORIGINAL
I
Name and Address of Applicant: Actual Inventor(s): Address for Service: Invention Title: ASSOCIATED PROVISIONAL [311 Application No(s) P05233 Canon Kabushiki Kaisha 30-2, Shimomaruko 3-chome Ohta-ku Tokyo 146
JAPAN
Julie Zhu, Alison Lennon and Richard Lam Spruson Ferguson, Patent Attorneys Level 33 St Martins Tower, 31 Market Street Sydney, New South Wales, 2000, Australia A Method of Positioning Display Images APPLICATION DETAILS [331 Country
AU
[32] Application Date 20 February 1997 The following statement is a full description of this invention, including the best method of performing it known to me/us:- 5815 A METHOD OF POSITIONING DISPLAY IMAGES Field of the Invention The present invention relates to the display of digital images and, in particular, to the automatic arrangement of digital images to produce a visually pleasing result.
Background Art Electronic photo-albums have become increasingly popular in recent times.
These electronic photo-albums typically take the form of a collection of images stored using a non-volatile memory device, from which a user can retrieve the image for displaying on a display device. Usually, the images are gathered in digital form, and may, for example, be scanned by an electronic scanner, down-loaded from the Internet or produced by a digital camera. A collection of these images can be stored electronically to create an electronic photo-album, analogous to the traditional family photo-album which uses photographic prints.
Presently, electronic photo-albums take the form of a collection of images, a user of the album being able to associate a caption or brief description with each image. For example, a user can collect a series of family photographs of a wedding, whether from a digital video or still camera, and associate a caption such as the date and a brief description of the event with each image. If desired, an electronic photo-album can be reproduced from the memory device by a high quality output device, such as a high resolution colour printer, to produce an album substantially similar to a conventional photo-album.
Electronic photo-albums do not generally provide an efficient manner of o arranging images in a visually pleasing arrangement, as users must typically arrange each image manually on a page.
25 It is an object of the invention to overcome, or at least ameliorate, one or more of the disadvantages of the prior art.
Summary of the Invention Accordingly, in a first aspect, there is provided a computer implemented method •of arranging a plurality of images on a page, said method comprising the steps of: 30 providing an initial layout position, wherein the plurality of images are arranged ooo, S•on the page in accordance with a predetermined seed position; and adjusting the initial layout position in accordance with a predetermined vertical 0 or horizontal space distribution rule to provide an adjusted layout position for the images.
Preferably, if said initial layout position is adjusted in accordance with said predetermined vertical space distribution rule, then said adjusted layout position is further DigLab02 410563 CFP0522AU I:\ELEC\CISRA\DIGITLAB\DIGLAB02\AUSPECI.DOC adjusted in accordance with said horizontal space distribution rule to provide a final layout position for the images, otherwise said adjusted layout position is further adjusted in accordance with said vertical space distribution rule to provide said final layout position for the images.
The predetermined seed position is selected at random from a set of predetermined seed positions.
Preferably, the predetermined set of rules includes one or more of the following rules: a) a "non-printable area" rule; b) a "controlled overlapping" rule; c) an "edge alignment" rule; d) an "adjacent edges rule"; and e) a "centre attraction" rule.
In a second aspect, there is provided a method of arranging a plurality of images in an image-album, the image-album consisting of at least one page, said method comprising the steps of: providing an initial layout position, wherein the plurality of images are arranged on the page in accordance with a predetermined seed position; providing a predetermined set of rules for refining the initial layout position to a final layout position, wherein each rule is characterised by a predetermined cost function; and *evaluating (minimising) said predetermined cost function, for each rule, to *provide a coordinate position of each image of the final layout position.
°"In a third aspect there is provided a method of arranging a plurality of images on o 25 a page, the method including the steps of: arranging the images on the page in accordance with a first predetermined layout pattern; rearranging the images in accordance with a "controlled overlapping" rule o°ocharacterised by a predetermined cost function; 30 optimising the predetermined cost function to determine a final coordinate o position for each image, thereby to generate a final layout pattern.
*In a fourth aspect there is provided a computer implemented method of arranging o o: a plurality of images on a page, the method including the steps of: arranging the images on the page in accordance with a first predetermined layout 435 pattern; and DigLab02 410563 CFP0522AU 1:\ELEC\CISRA\DIGITLAB\DIGLB02U
SPECIDOC
-2Arearranging the images in accordance with a predetermined vertical and/or horizontal space distribution rule, thereby to generate an adjusted layout pattern for the images on the page.
In a fifth aspect there is provided a method of arranging a plurality of images in an image-album including at least one page, the method including the steps of: arranging the images on the page in accordance with a first predetermined layout pattern; rearranging the images in accordance with a predetermined vertical and/or horizontal space distribution rule, each of the rules being characterised by a predetermined cost function; and optimising the predetermined cost function for each rule to determine a final coordinate position for each image, thereby to generate a final layout pattern.
In a sixth aspect there is provided an apparatus for arranging a plurality of images on a page, the apparatus including: means configured to arrange the images on the page in accordance with a first predetermined layout pattern; means configured to arrange the images in accordance with a "controlled overlapping" rule characterised by a predetermined cost function; optimisation means configured to optimise the predetermined cost function to determine a final coordinate position for each image, thereby to generate a final layout pattern.
Brief Description of the Drawings $$*o*Embodiments of the present invention will now be described with reference to the drawings, in which: 25 Figure 1 shows an examples of first predetermined layout patterns for arranging 9* up to three images on a page, in accordance with the invention; Figure 2 shows further examples of first predetermined layout patterns for 9*9* •arranging up to three images on a page, in accordance with the invention; o Figure 3 is a block diagram of a general purpose computer upon which the various embodiments of the present invention can be implemented; *oFigure 4 shows an example of a layout area according to the invention; Figure 5 illustrates two examples of image overlap according to the invention; o ~Figure 6 is a schematic diagram showing an example of a white space well according to the invention; DigLab02 410563 CFP0522AU I:\ELEC\CISRA\DIGITLAB\DIGLAB02\AUSPECI.DOC Figure 11 is a flowchart illustrating steps involved in implementing a cost function according to the invention.
Detailed Description Referring to the drawings, the invention includes two main stages.
A first stage, referred to below as an "initial seed stage", includes the step of arranging the images on the page in accordance with a first predetermined layout pattern.
A second stage, referred to below as an "adjust layout stage", involves rearranging the images in accordance with a predetermined set of arrangement rules.
By rearranging the initial layout in this way, there is generated a final layout position for the images which produces an aesthetically pleasing result with minimal input from the user.
Preferably, the images are initially positioned within a predetermined layout area where it is desirable to place an image. This layout area may be determined or selected on the basis of, for example, display or viewing issues, or margins for printing and :binding.
The predetermined layout pattern can form part of a specific template, or may be selected as part of application software running on a computer system. A further option is that the predetermined pattern is randomly selected, by a computer system, from a S. 20 specified set of patterns.
The predetermined layout pattern which is selected, or provided by a template, :dictates an initial arrangement and flow of images onto an electronic page. For example, illustrated in Figure 1 are three predetermined layout patterns for arranging images onto a page 100. A dot 101 indicates a position where an image is to be placed 25 in accordance with the selected pattern, whilst an arrow 102 indicates a typical flow to a next image position of the pattern.
The patterns shown in Figure 1 may be used for up to three images per page.
However, the initial seed stage is not limited to this number of positions or images, as shown in the examples of predetermined layout patterns illustrated in Figure 2. One example of Figure 2 illustrates a horizontal zigzag pattern arrangement 201 for image positioning, whilst the other example shows a vertical zigzag arrangement 202. The vertical zigzag pattern arrangement 202 shows the image positions (dots) arranged in a first column 203 and a second column 204. However, the number of columns used may be altered depending upon the width of the page involved, and the widths of the images themselves.
Turning to Figure 3, in a preferred form, the invention may be implemented on a conventional general-purpose computer system 300. The various steps of the invention are implemented by software executed by the computer system 300.
DigLab02 370025 CFP0762 o:\cisra\d igitlab\digiab b2lau-speci .do c -4- The computer system 300 includes a computer 301, input devices 302, 303 and a display device 304. There is also provided at least one processor unit 305, a memory unit 306 which typically includes random access memory (RAM) and read only memory (ROM), and input/output interfaces, including a video interface 307, interface 308 for a keyboard 302, a digital scanner device 311 and mouse 303 or other control device.
The storage device 309 can include a floppy disk, a hard disk drive, a CD-ROM drive or similar non-volatile storage device known to those skilled in the art. Further, the general-purpose computer can have additional I/O interfaces 312 for such peripheral devices as a printer 313 and a non-digital video or still camera 314 for downloading images to the computer. The components 305 to 309 of the computer 301 typically communicate via an interconnected bus 310, and in a manner which results in a usual mode of operation of the computer system 300 known to those skilled in the relevant S. art. Examples of computers on which the embodiments can be practised include IBM- PC/ATs and compatibles, and Sun Sparcstations or the like.
The "adjust layout" stage rearranges the images from the predetermined layout pattern, according to a predetermined set of rules. The following are examples of the types of rules which might be applied during the "adjust layout" stage: 1) Non Printable Area Rule: acts to constrain images within a predetermined layout area, as described above.
2) Controlled Overlapping Rule: provides no overlapping on a page, or at least minimising the amount of overlapping required for a given set of images. However, if it is desired that the images overlap, the Controlled Overlapping Rule may be employed to control the style and amount of overlapping for each image.
3) Vertical Space Distribution Rule: balances (or evens out) space distribution surrounding images in a vertical direction. Often, unprinted or unused space on a page surrounding an image is referred to as "white space", and the Vertical Space Distribution Rule attempts to balance the white space above and below an image.
4) Horizontal Space Distribution Rule: substantially similar to the Vertical Space Distribution Rule, but acts in a horizontal direction.
5) Edge Alignment Rule: aligns alike edges of images that fall within a predetermined range threshold position both horizontally and vertically.
6) Adjacent Edges Rule: keeps adjacent edges of images on a page a predetermined, minimum or maximum distance apart.
7) Centre Attraction Rule: positions an image on a predetermined central line of the layout area.
A more detailed description of each of these rules is provided below.
The various rules are not rigidly satisfied for adjusting a layout of the image on a page. In some cases, this would not be possible, as the application of different rules may result in mutually opposing requirements in terms of image placement. In the DigLab02 370025 CFP0762 3o:\cisra\digitlab\diglabO2lau-speci.doc preferred embodiment where these problems are sought to be overcome, the various rules are satisfied in a proportional manner to achieve an optimum compromise that provides a desired result.
An optimum compromise is achieved by assigning to each of the above rules a component cost function. Each of these functions will return a penalty cost if the rule is not satisfied, and no penalty cost if the rule is satisfied precisely. A generalised cost component function, preferably, takes on a form shown in Equation 1, set out below: cost F(x 1 y 1 X Y2 ,Xn, Yn) (EQ 1) where xi, yi are the coordinates of a geometric of an "ith" image on a page comprising n images.
An example of this is rule 1) above, which has a component cost function associated with it. The cost function returns, for example, a zero cost value if the area of all images to be arranged falls within all boundaries of the layout area, and returns a :o I positive maximum cost value if the area of the image falls entirely outside the layout .•area. The cost function returns an intermediate proportional cost value, between zero and the positive maximum cost value, if only a portion of the area of the image falls outside the layout area.
In the preferred form, an objective function is used to optimise all of the above rules simultaneously. An objective function is a weighted sum of the individual component cost functions set out for each rule. Minimising a value returned by the S. objective function achieves an optimum compromise of the above rules and hence an optimum compromise of a desired positioning of the images on a page.
For r-number of predetermined image positioning rules, an objective function can P 25 be expressed mathematically as: r Objective-Cost Wi F(x, y 1 x, Y 2 x, Yn)} (EQ 2) i=l where W i is a weight function (or value) associated with a cost component function F i for an "ith" rule of r-number of rules.
A weight function associated with a cost component function provides a weighting and hence a priority associated with a corresponding rule. For example, if it is desired that the Non Printable Area rule be satisfied over the Controlled Overlapping rule, that is if images should preferably fall within the layout area at the cost of overlapping the images, then a greater weight function (or value) is assigned to cost component function associated with the Non Printable Area rule than that assigned to the weight function associated with the Controlled Overlapping rule.
DigLab02 370025 CFP0762 [o:\cisra\digitiab\digiabO2lau-speci.doc An optimisation technique is applied to the objective function to obtain, for the present example, a minimum value for the objective function. The optimisation technique determines a set of desired coordinate positions for each image on a page.
Preferably, the coordinate positions indicate where a geometric centre of an image is to be placed on a page. The preferred optimisation technique for the present embodiment is known as the Downhill Simplex method. However, other techniques are available for optimising one or more functions, such as "Powell's Method" (including Direction Set Methods) or simulated annealing.
A more detailed description of each of the above rules will now be provided.
Non Printable Area The Non Printable area rule attempts to constrain images within a predetermined layout area. A cost component function associated with the Non Printable Area rule is determined, preferably, as a sum of areas of images (or portions thereof) falling outside a predetermined layout area, normalised with respect to a total area of the images to be ot oE arranged on the page. Figure 4 illustrates an electronic page 400, having a predetermined layout area 401 within which it is desired to have the images fall.
Generally, at the initial seed stage, images are placed on a page according to a predetermined pattern and therefore the images do not necessarily fall within the layout area 401. In the example of Figure 4, a first image (image A) 403 falls partially outside (shaded area of item 403 in Figure 4) the layout area 401, a second image (image B) 402 falls within the layout area 401 and a third image (image C) 404 falls entirely outside the layout area 401. A significant cost penalty, determined by the cost component function, is associated the layout of the images of Figure 4, since a significant portion (shaded area of image A and all of image C) of a total image area 25 falls outside the layout area 401.
Preferably a large weight function (or value) is associated with a cost component function for the Non Printable area rule as it is desirable that this rule be satisfied at the expense of the other rules.
Controlled Overlapping At the initial seed stage of the preferred embodiment, images are arranged without necessarily determining their sizes or any potential overlaps. Consequently, images initially positioned on a page may overlap each other. A cost component function associated with the Controlled Overlapping rule acts to determine a set of coordinates for the positioning of images on a page that minimises an overlapping of the images and, preferably, provides no overlapping of the images. Optionally, where an overlapping of images is desired, the Controlled Overlapping rule attempts to implement overlapping of two or more images in an acceptable or desirable manner. In a preferred embodiment the Controlled Overlapping Rule can operate in either of the two modes described above.
DigLab02 370025 CFP0762 to;\cisra\digitiab\digiab2]au speci.doc -7- The first mode is a Reduce Overlapping Mode in this mode an overlapping between images is minimised to preferably produce no overlapping. A cost component function associated with the present option of the Controlled Overlapping rule is determined as a total overlap area normalised with respect to a total area of images on a page. Upon minimising the cost component function associated with the present option a set of coordinates for a positioning of the images on a page is evaluated.
The second mode is a Use Overlapping Mode in this mode overlapping of images by a predetermined overlap amount is preferred. The predetermined overlap amount is preferably achieved by using an Overlap Indent Parameter (OIP) and an Overlap Offset Parameter (OOP).
The OIP specifies an amount (or portion) of overlaying between a pair of images, where preferably the OIP is a predetermined percentage length of a side of one image of the pair of images. The OOP represents an offset distance between a pair of overlapping images, where the OOP is determined, preferably, as a percentage of a side of one of the images.
Illustrated in Figure 5 are three rectangles representing three images overlapped using the Use Overlapping mode option. A first image 500 is partly overlapped by a second image 501 and also partly overlapped by a third image 502. An OIP value 503 between the first image 500 and the second image 502 is determined as a percentage of a side 504 of the smallest size image between the first 500 and second image 501. An OOP value 505 determines an amount of offset in an overlap between the first image 500 and the second image 501. Similarly, an OIP value 506 and an OOP value 507 is determined for an overlap between the first image 500 and the third image 502.
A cost component function for the Use Overlapping rule is based upon an OIP and 25 an OOP value for each image pair. A cost penalty is incurred for a pair of images not overlapped by a predetermined OIP value and a predetermined OOP value.
Accordingly, the cost component function is a minimum when a pair of images overlap substantially by an amount given by the predetermined OIP and the predetermined
OOP.
Vertical and Horizontal Space Distribution The vertical and horizontal space distribution rules attempt to uniformly distribute "white space" surrounding an image with a predetermined boundary area referred to herein as a "white space well". Preferably, the boundaries of the white space well are defined by a layout area of a page and by a relative position of other images on the page. For example, Figure 6 illustrates an electronic page 600 having a layout area defined thereon. Three images are positioned on the page 600 at an initial seed stage in accordance with one of the predetermined patterns illustrated in Figure 1. A first white space well 602 is shown for a first image 603 where: the well is bounded above and the to left of the first image by boundaries of the layout area; the well is bounded below by DigLab02 370025 CFP0762 Io:\cisra\digitlab\digabO2auspeci.doc -8a horizontal line boundary 604 co-linear with an edge 606 of a second image 605, and a vertical line boundary 607 co-linear with an edge 609 of a third image 610. Similarly, a second white space well 611 is defined for a second image 605 and a third white space well 612 is defined for a third image 610.
In the example of Figure 6, the size of a white space well is defined by a relative positioning of the images on the page 600 and by the layout area 601. However, it will be appreciated by those skilled in the art that a white space well can be defined, modified or changed without departing from the scope and spirit of the present invention. For example, a white space well can be predetermined based on the size (dimensions) of an image and a predetermined arrangement on a page.
Having defined a white space well for an image, a cost component function is determined on the basis that the image is geometrically to be centred within the white space well. Hence, a large cost component function value is associated with an image not centred in its corresponding white space well and a minimal cost is associated with an image which is geometrically centred within its white space well. Minimising (optimising) a cost component function for the Vertical and Horizontal Space Distribution rule provides a set of coordinates for the placement of images on a page o p *which, preferably, best distributes the white space around an image.
Edge Alignment A cost component function associated with the Edge Alignment rule returns a cost associated with misaligned edges of a plurality of images placed on a page. The cost associated of the misalignment of edges depends on the magnitude of the misalignment.
The edge alignment rule attempts to align alike edges of two or more images. Alike edges of two images are corresponding edges of the two images. For example, for two images placed side by side, a top edge of each image, a left edge of each image, a right :pedge of each image and a bottom edge of each image are referred to herein as alike edges. If the magnitude of the misalignment of alike edges of a pair of images is relatively small, then it is desirable to "attract" the alike edges towards a predetermined alignment boundary. However, if the misalignment exceeds a predetermined critical threshold distance then it is desirable to "repel" the alike edges away from a possible aligned position.
Figure 7 illustrated a pair of images to which the Edge Alignment rule is applied to horizontal alike edges. A first image 700 of the pair has an edge 701 with the corresponding alike edge of a second image 702 misaligned. A magnitude of the misalignment is determined by a distance 703 from a predetermined alignment boundary 704. A predetermined critical threshold distance 705 is preferably defined such that if the magnitude of the misalignment distance 703 is less than or equal to the predetermined critical threshold distance 705 then the alike edges 701 are attracted towards the predetermined alignment boundary 704. Otherwise, the alike DigLab02 370025 CFP0762 [o:\disra\diitlab\digab021au speci.doc
M
edges are repel such that the magnitude of the misalignment distance 703 is maximised.
In an implementation according to the preferred embodiment of the edge alignment rule, a cost component function returns a high cost value when the misalignment distance 703 is equal to the predetermined critical threshold distance 705, but decreases as the misalignment distance 703 is made smaller or greater than the threshold distance 705.
Preferably, the cost component function for the edge alignment rule takes the form of a quadratic function for a misalignment distance less than or equal to a predetermined critical threshold distance substantially similar to: Cost =A 1 (for x<y (attractor))(EQ 3) and an exponential decay function a form substantially similar to: Cost A exp(-k(x (for y <x (repeller))(EQ 4) a The constant value in EQ3 and EQ4 is preferably normalised for each pair of images to a maximum value of one Alignment of vertical alike edges of a pair of images can be described S substantially as the alignment of horizontal alike edges of a pair of images referred to previously with reference to Figure 7. The edge alignment rule is preferably applied to 25 both horizontal and vertical alike edges of a pair of images.
Adjacent Edges A cost component function, associated with the Adjacent Edges rule, returns a cost value on the bases that a pair of images are too close or touching each other.
In the implementation of the preferred embodiment, the cost component function for the present rule is implemented using an exponential decay model with a function substantially similar to EQ 4. The cost component function returns a maximum cost value associated with touching edges of a pair of images, the cost value decreasing as the edges of a pair of images are moved apart.
Centre Attraction A cost component function associated with the centre attraction rule returns a cost value based on an amount of off-centreing of an image with respect to a predetermined horizontal or vertical centre axis of a page or layout area. In the preferred DigLab02 370025 CFP0762 [o:\cisra\digitlab\diglab2]auspeci.doc a centre-line critical distance is defined as a predetermined percentage value of a height or width of a layout area. An off-centre distance, between a geometric centre of an image and a predetermined vertical (or horizontal) centre axis of a page, is determined for each image on a page. If the off-centre distance is less than or equal to the centreline critical distance, the geometric centre of the image is attracted towards the predetermined vertical (or horizontal) centre axis. Otherwise, the geometric centre of the image is repelled away from the predetermined vertical (or horizontal) centre axis.
Preferably the cost component function, for the present rule, returns a maximum cost value when the off-centre distance is equal to the centre-line critical distance for an image on a page and the cost value decreases rapidly as the off-centre distance progressively decreases. The cost value decreases exponentially (in a similar manner to that shown in EQ4) for off-centre distances greater than the centre-line critical distance.
Illustrated in Figure 8 are two images slightly off-centre with respect to a *predetermined vertical centre axis 800 of a page 801. A first image 802 is off-centre to *:oo 15 the left of a centre axis 800 and a second image 803 is off-centre to the right. A centreline critical distance 804 is determined as a specified percentage of a width of a layout g" area 509. In the example illustrated by Figure 8, the centre-line critical distance 804 about the vertical centre axis is marked by dotted lines 805 and 806. An off-centre distance 807 is determined for each image on the page 801 as a shortest distance 20 between a geometric centre of each image to the vertical centre axis 800.
In the example shown in Figure 8, the off-centre distance 807 of each image is less than the centre-line critical distance for each image, and therefore a minimisation of cost component function results in a geometric centre for each image preferably moving (being "attracted") towards the predetermined vertical centre axis 800 of a page 25 801.
In the preferred embodiment of the present invention, cost component functions for substantially all the above rules are solved simultaneously to provide a set of coordinate values for a positioning each image on a page. One technique has been described herein, where a cost component function for each rule is appropriately weighted and an objective function is constructed and optimised to provide a set of coordinate positions for each image which provide an optimal compromise between all of the rules.
Figure 9 shows a basic flowchart for implementing the invention in its simplest form. At step 901, the initial seeds are set out, meaning that images are placed upon the page in accordance with a first predetermined layout pattern. This predetermined layout pattern is then adjusted (902) with reference to a number of predetermined rules.
Turning to Figure 10, which shows a preferred implementation of the method shown in Figure 9, a decision (1001) is made as to whether a random initial seed pattern is required. If not, a pattern code is obtained (1002) and used to generate an initial DigLab02 370025 CFP0762 [o:\cisra\digitlab\diglab02au speci.doc -11 predetermined layout pattern for the images. If necessary, a random initial seed pattern is generated (1003) and used as the basis for initial arrangement of the images.
If overlap is detected (1004), the overlap area is calculated (1005), whilst if no overlap is detected, the initial packing step (1006) is undertaken.
Following this, the images are aligned along the vertical direction (1007) and then aligned along the horizontal direction (1008).
The final step is to check (1009) whether the resultant arrangement has caused the images to spill out of the page or layout area. If this is the case, further processing (1010) takes place until the images no longer spill from the page or layout area.
Turning to Figure 11, the position of the images within the layout area are taken (1100), and then evaluated (1101) with a cost function, as has been described in detail above. An assessment (1102 is then made as to whether the resultant cost calculated by the cost function falls within an acceptable range. As discussed above, this will usually be a question of whether the cost falls below a certain acceptable cost. If the cost falls within the required range, the process is finished, and the images may be -o:i rendered to a display screen or a printer. However, if the cost falls outside of the *-.required range, it is necessary to further optimise (1103) the positions of the image using a suitable minimisation method, such as any of those described earlier.
In another embodiment, the above rules and steps may be applied to the 20 arrangement of sets or families of images on a page. A family or set comprises a collection of one or more page items that link together such that the position of each item in the Family Group is relative to another page item of the group. A page item may consist of a text slot comprising text characters, an image slot comprising one or more digital images including object-based images, a clipart slot comprising computer generated images, or a family group itself comprising one or more page items. For example, a user may wish to produce an electronic photo-album of a relative's wedding.
In this album the user can choose to: construct a family group by linking several images together according to a predetermined preference (eg. relating to the church scene); link captions and/or clipart to one or more of the selected images and generate several family groups; or link one or more family groups together.
In the present embodiment substantially all the rules applied to an image of the preferred embodiment are also applicable to a family group of image.
After the layout procedure is completed, the page (and any others which have been produced) may be printed to produce a hardcopy of the electronic photo-album analogous to the well known "photographic album". This printing may take place on any suitable printer, which is preferably a high quality colour printer such as BJC 610 Colour Bubble Jet printer manufactured by Canon).
While the invention has been described with reference to an electronic photoalbum, the method may be adapted for use in other electronic documents. For example, DigLab02 370025 CFP0762 [o:\cisra\digitlab\diglabO2]auspeci.doc -12the invention may be applied to documents produced by word processor or "desk-top publishing" software. Furthermore, the electronic photo-album or the predetermined layout area need not be displayed on a display device in a "what-you-see-is-what-youget" (WYSIWIG) manner. There may be provided, for example, a simplified, blockbased view, or the arrangement may simply not be viewed until completed or even printed. However WYSIWYG is a preferred display option.
The foregoing only describes only a number of embodiments of the present invention, however, modifications and/or changes can be made thereto by a person skilled in the relevant art without departing from the scope and spirit of the invention.
C .o.
o *4* *o 4 t,.
DigLab02 370025 CFP0762 [o:\cisra\digitlab\diglabO2lauspeci.doc

Claims (10)

1. A computer implemented method of arranging a plurality of images on a page, said method comprising the steps of: providing an initial layout position, wherein the plurality of images are arranged on the page in accordance with a predetermined seed position; and adjusting the initial layout position in accordance with a predetermined vertical and/or horizontal space distribution rule to provide an adjusted layout position for the images.
2. A method as recited in claim 1, wherein if said initial layout position is adjusted in accordance with said predetermined vertical space distribution rule, then said adjusted layout position is further adjusted in accordance with said horizontal space distribution rule to provide a final layout position for the images, otherwise said adjusted layout position is further adjusted in accordance with said vertical space distribution rule to provide said final layout position for the images.
3. A method as recited in any one of claims 1 or 2, wherein the predetermined seed position is selected at random from a plurality of predetermined seed positions.
4. A method as recited in claim 1, wherein said initial layout position is further adjusted in accordance with a predetermined set of rules comprising one or more of the ooo following rules: a) Non Printable Area Rule; S: 25 b) Controlled Overlapping Rule; c) Edge Alignment Rule; d) Adjacent Edges Rule; and 9999 e) Centre Attraction Rule. 9999 .9 *999 30 5. A method as recited in any one of claims 1 to 4, wherein the predetermined rules fee**: •are provided each with a specific cost function. S.o
6. A method as recited in claim 5, wherein the step of adjusting the initial layout position further includes constructing an objective cost function based on one or more of I:\ELEC\CISRA\DIGITLAB\DIGLAB022\USPECI.DOC -14- said specific cost functions and minimising (optimising) the objective cost function to provide a set of co-ordinate positions for each image of the final layout position.
7. A method as recited in claim 6, wherein minimising the objective cost function includes applying a simplex method or a direction set method technique.
8. A method as recited in claim 6, wherein minimising the objective cost function includes applying a simulated annealing technique.
9. A method of arranging a plurality of images in an image-album, the image- album consisting of at least one page, said method comprising the steps of: providing an initial layout position, wherein the plurality of images are arranged on the page in accordance with a predetermined seed position; providing a predetermined set of rules for refining the initial layout position to a final layout position, wherein each rule is characterised by a predetermined cost function; and evaluating (minimising) said predetermined cost function, for each rule, to provide a coordinate position of each image of the final layout position.
10. A method as recited in claim 1 or 9, wherein a position of an image for the predetermined seed position is selected randomly. oo .11. A method of arranging a plurality of images on a page, the method including the •."steps of: 25 arranging the images on the page in accordance with a first predetermined layout pattern; rearranging the images in accordance with a "controlled overlapping" rule *999 o •characterised by a predetermined cost function;
99.. optimising the predetermined cost function to determine a final coordinate S 30 position for each image, thereby to generate a final layout pattern. 999999 9 S°12. A method according to claim 11, wherein optimisation of the predetermined cost function includes minimising a result of that function. DigLab02 410563 CFP0522AU I:\ELEC\CISRA\DIGITLAB\DIGLAB02\AUSPECI.DOC 13. A method according to claim 11 or claim 12, wherein optimisation of the cost function results in no overlap of the images with respect to each other. 14. A method according to claim 11 or claim 12, wherein optimisation of the cost function results in minimisation of overlap of all the images with respect to each other. A method according to claim 11 or claim 12, wherein optimisation of the cost function results in a preselected overlap of the images with respect to each other. 16. A method according to claim 11 or claim 12, wherein optimisation of the cost function results in minimisation of a difference between a preselected overlap and the actual overlap of all the images with respect to each other. 17. A method according to any one of claims 11 to 16, wherein the amount of overlap is defined in terms of an Overlap Indent Parameter (OIP), the OIP being expressed as a proportion of a side of one of the overlapping images. 18. A method according to claim 17, wherein the cost function is a function of an Overlap Offset Parameter (OOP), the OOP representing an offset distance between a pair of the overlapping images. 19. A method according to claim 18, wherein the OOP is expressed as a proportion of a side of one of the overlapping images. o 25 20. A method according to claim 18 or claim 19, wherein the cost function is optimised when the overlapping images overlap by an amount given by the predetermined OIP and OOP parameters. 9 21. A method according to claim 11, wherein the optimisation of the cost function is 30 performed by a predetermined minimisation algorithm. M D.• 22. A method according to claim 21, wherein the predetermined minimisation algorithm is based on a downhill simplex method O ab02 410563 CFP0522AU I:\ELEC\CISRA\DIGITLAB\DIGLAB02\AU SPECI.DOC -16- 23. An apparatus for arranging images on a page in accordance with any one of the preceding claims. 24. A computer readable medium comprising instructions adapted to implement the method of any one of claims 1 to 23. A computer implemented method of arranging a plurality of images on a page, the method including the steps of: arranging the images on the page in accordance with a first predetermined layout pattern; and rearranging the images in accordance with a predetermined vertical and/or horizontal space distribution rule, thereby to generate an adjusted layout pattern for the images on the page. 26. A method as recited in claim 25, wherein if said images are rearranged in accordance with said predetermined vertical space distribution rule, then said adjusted layout pattern is further rearranged in accordance with said horizontal space distribution rule to provide a final layout pattern for the images, otherwise said adjusted layout pattern is further rearranged in accordance with said vertical space distribution rule to provide said final layout pattern for the images. 27. A method according to claims 25 or 26, wherein the first predetermined layout pattern is selected at random from a set of predetermined layout patterns. oo 25 28. A method according to any one of claims 25 to 26, wherein the images are further adjusted in accordance with a predetermined set of arrangement rules comprising .one or more of the following rules: a) a "non-printable area" rule; b) a "controlled overlapping" rule; 30 c) an "edge alignment" rule; S: d) an "adjacent edges rule"; and e) a "centre attraction" rule. DigLab02 410563 CFP0522AU I:\ELEC\CISRA\DIGITLAB\DIGLAB02UAUSPECI.DOC -17- 29. A method according to any one of claims 25 to 28, wherein each of the arrangement rules in the set of arrangement rules is provided with an individual cost function. 30. A method according to claim 29, wherein the rearrangement step includes the sub-steps of: constructing an objective cost function based on one or more of the individual cost functions; and optimising the objective cost function to determine a set of final positions for each image, thereby to generate the final layout pattern. 31. A method according to claim 30, wherein the sub-step of optimising the objective cost function includes applying a simplex method or a direction set method technique. 32. A method according to claim 30, wherein the sub-step of optimising the objective cost function includes applying a simulated annealing technique. 33. A method of arranging a plurality of images in an image-album including at least S 20 one page, the method including the steps of: •.arranging the images on the page in accordance with a first predetermined layout pattern; :1 rearranging the images in accordance with a predetermined vertical and/or 5 horizontal space distribution rule, each of the rules being characterised by a 25 predetermined cost function; and V. optimising the predetermined cost function for each rule to determine a final 0 coordinate position for each image, thereby to generate a final layout pattern. 34. A method according to claim 33, wherein if said images are rearranged in accordance with said predetermined vertical space distribution rule, then said images are further rearranged in accordance with said horizontal space distribution rule, otherwise S" said images are further rearranged in accordance with said vertical space distribution rule. DigLab02 410563 CFP0522AU I:\ELEC\CISRA\DIGITLAB\DIGLAB02\AU SPECI.DOC -18- A method according to claim 33 or 34, wherein a position of an image for the first predetermined layout pattern is selected randomly from a set of predetermined layout patterns. 36. An apparatus for arranging images on a page in accordance with the method of any one of claims 25 to 37. An apparatus for arranging a plurality of images on a page, the apparatus including: means configured to arrange the images on the page in accordance with a first predetermined layout pattern; means configured to arrange the images in accordance with a "controlled overlapping" rule characterised by a predetermined cost function; optimisation means configured to optimise the predetermined cost function to determine a final coordinate position for each image, thereby to generate a final layout pattern. 38. An apparatus according to claim 37, wherein the optimisation means are configured such that optimisation of the predetermined cost function includes minimising a result of that function. 39. An apparatus according to claim 37 or claim 38, wherein the optimisation means are configured such that optimisation of the cost function results in no overlap of the images with respect to each other. *40. An apparatus according to claim 37 or claim 38, wherein the optimisation means °.are configured such that the cost function results in minimisation of overlap of all the images with respect to each other. *ooo o 30 41. An apparatus according to claim 37 or claim 38, wherein the optimisation means are configured such that optimisation of the cost function results in a preselected overlap S°of the images with respect to each other. 42. An apparatus according to claim 37 or claim 38, wherein the optimisation means are configured such that optimisation of the cost function results in minimisation of a DigLab02 410563 CFP0522AU I:\ELEC\CISRA\DIGITLAB\DIGLAB02\AU SPECI.DOC 19- difference between a preselected overlap and the actual overlap of all the images with respect to each other. 43. An apparatus according to any one of claims 37 to 42, wherein the amount of overlap is defined in terms of an Overlap Indent Parameter (OIP), the OIP being expressed as a proportion of a side of one of the overlapping images. 44. An apparatus according to claim 43, wherein the cost function is a function of an Overlap Offset Parameter (OOP), the OOP representing an offset distance between a pair of the overlapping images. An apparatus according to claim 44, wherein the OOP is expressed as a proportion of a side of one of the overlapping images. 46. An apparatus according to claim 44 or claim 45, wherein the cost function is optimised when the overlapping images overlap by an amount given by the predetermined OIP and OOP parameters. 47. A computer readable medium comprising instructions adapted to implement the method of any one of claims 25 to 48. A computer implemented method of arranging a plurality of images on a page, the method being substantially as herein described with reference to any one of the embodiments of the invention shown in the drawings. 49. An apparatus for arranging a plurality of images on a page, the apparatus being substantially as herein described with reference to any one of the embodiments of the invention shown in the accompanying drawings. o 30 DATED this nineteenth Day of October, 1999 Canon Kabushiki Kaisha Patent Attorneys for the Applicant SPRUSON FERGUSON DigLaM0 410563 CFP0522AU I:\ELEC\CISRA\DIGITLAB\DIGLAB02\AUSPECI.DOC
AU55416/98A 1997-02-20 1998-02-20 A method of positioning display images Ceased AU714221B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU55416/98A AU714221B2 (en) 1997-02-20 1998-02-20 A method of positioning display images

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
AUPO5233 1997-02-20
AUPO5233A AUPO523397A0 (en) 1997-02-20 1997-02-20 A method of positioning display images
AU55416/98A AU714221B2 (en) 1997-02-20 1998-02-20 A method of positioning display images

Publications (2)

Publication Number Publication Date
AU5541698A AU5541698A (en) 1998-08-27
AU714221B2 true AU714221B2 (en) 1999-12-23

Family

ID=25630880

Family Applications (1)

Application Number Title Priority Date Filing Date
AU55416/98A Ceased AU714221B2 (en) 1997-02-20 1998-02-20 A method of positioning display images

Country Status (1)

Country Link
AU (1) AU714221B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5685002A (en) * 1993-09-29 1997-11-04 Minolta Co., Ltd. Image processing system capable of generating a multi-picture image
US5796428A (en) * 1993-10-21 1998-08-18 Hitachi, Ltd. Electronic photography system
US5864411A (en) * 1992-02-26 1999-01-26 Norris; Christopher Method and apparatus for assembling a photographic album

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5864411A (en) * 1992-02-26 1999-01-26 Norris; Christopher Method and apparatus for assembling a photographic album
US5685002A (en) * 1993-09-29 1997-11-04 Minolta Co., Ltd. Image processing system capable of generating a multi-picture image
US5796428A (en) * 1993-10-21 1998-08-18 Hitachi, Ltd. Electronic photography system

Also Published As

Publication number Publication date
AU5541698A (en) 1998-08-27

Similar Documents

Publication Publication Date Title
US20020095439A1 (en) Method of positioning display images
US6256109B1 (en) Image enlargement system
US9524452B2 (en) Image processing apparatus and image processing method
US6415306B2 (en) Method for selecting next feature for placement on a page
US7719546B1 (en) Processing illustrations using stored information
AU776510B2 (en) Method for organizing digital images on a page
US8245132B2 (en) Publication layout system
EP0772116B1 (en) Computer calibration of a color print image using successive refinement
EP0782103B1 (en) Automatic graphical pattern placement
EP0786757B1 (en) Adjusting contrast in antialiasing
JPH11250272A (en) Automatic image layout method and system therefor
US20100150433A1 (en) Variable data digital pantographs
EP1107178B1 (en) Gradient-based trapping using patterned trap zones
US6620206B1 (en) White space equalization around features placed on a page
JP3925112B2 (en) Image processing device
JP4775067B2 (en) Digital content creation system, digital content creation program, and digital content creation method
AU714221B2 (en) A method of positioning display images
US20030048475A1 (en) Method of applying trapping conditions
US20030023486A1 (en) Systems and methods for automatically generating advertising registration marks
US7385725B1 (en) Previewing an image rendered on multiple pages
US6707572B1 (en) Filtering method to reduce pixel density
US5801710A (en) Computer program product for defining a soft edge in a digital mask
JPH09179861A (en) Page design supporting method
JP2005157928A (en) Stamp processor, electronic approval system, program and recording medium
JP2009134762A (en) Digital content creation system, digital content creation program and digital content creation method

Legal Events

Date Code Title Description
FGA Letters patent sealed or granted (standard patent)
MK14 Patent ceased section 143(a) (annual fees not paid) or expired