AU707849B2 - Utilisation of caching in image manipulation and creation - Google Patents

Utilisation of caching in image manipulation and creation Download PDF

Info

Publication number
AU707849B2
AU707849B2 AU81975/98A AU8197598A AU707849B2 AU 707849 B2 AU707849 B2 AU 707849B2 AU 81975/98 A AU81975/98 A AU 81975/98A AU 8197598 A AU8197598 A AU 8197598A AU 707849 B2 AU707849 B2 AU 707849B2
Authority
AU
Australia
Prior art keywords
image
creation
images
memory
buffer
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
AU81975/98A
Other versions
AU8197598A (en
Inventor
Bernard John Giannetti
Scott Thomas Newham
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 AUPO8863A external-priority patent/AUPO886397A0/en
Application filed by Canon Inc filed Critical Canon Inc
Priority to AU81975/98A priority Critical patent/AU707849B2/en
Publication of AU8197598A publication Critical patent/AU8197598A/en
Application granted granted Critical
Publication of AU707849B2 publication Critical patent/AU707849B2/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Description

-1- UTILISATION OF CACHING IN IMAGE MANIPULATION AND CREATION Field of the Invention The present invention relates to the creation of images by means of an interactive computer device.
Background Art The creation of graphical images using a computer as a tool is well known.
Adobe's Photoshop (Trade Mark) is an example of image creation software for the creation of complex images on a computer.
A typical computer system 1 for the creation of images is shown in Fig. 1.
.The system 1 includes a keyboard 2 and a mouse input device 3, in addition to a display oooo device 4 and main computer unit 5. Also present but not shown are a CPU together with memory components including fast (eg. semiconductor) memory and slow (eg.
""disk) memory. An image creation program 6 runs on the computer 5 and resultant images are displayed on the display device 4.
The image creation program includes a large number of image manipulation functions 7 for applying to an image 8. The computer unit 1 is connected to a printer device 9 for printing the images. The image 8 is created by a user of the system 1 by means of a series of iterative interactions with the computer system 1.
20 An image can comprise a large number of independent images or objects which are "composited" together. For example, in Figs. 2 and 3 there are shown example processes utilised in the creation of images. Turning initially to Fig. 2, there is shown a first example process 10 in the creation of a final image 11 to be displayed or printed.
The process 10 involves taking a raw initial image 12 and applying a first sharpening filter 13 so as to sharpen the appearance of the picture. The image is then cropped 14 to a particular area of interest, and a sepia process 15 is applied to distort the colour appearance of the image. Next, a contrast enhancement process 16 is applied to produce the final image 11. Each of the processes 13-16 has a number of variables 429600 ML02 CFP0937AU [o:\cisra\ml\m102]CAPAU.doc which can independently be set and adjusted by a user of the system of Fig. 1 so as to produce an output image which is subsequently printed.
Turning now to Fig. 3, it is also known to utilise more complex processes in the creation of images, particularly when creating relatively complex images based on multiple independent objects. For example, in Fig. 3, there is shown an image creation process tree 20 for the creation of a final image 21 which involves the combining of various image components A-K. The various image components A-K are combined using operators (Opl-p8) (eg, operation 22 for image components A B) which combine the images in a user determined manner to form intermediate images. The intermediate images are then combined with other images higher in the tree to produce a final image 21. Other operators 23 can be provided for non-compositive manipulation .oo.
or filtering of a lower image. Such a process 20 for the creation of an image is known and effectively represents a more complex implementation of the process of Fig. 2.
Unfortunately, as the potential resolution of output devices has improved, corresponding computation requirements have increased greatly. Further, it is often the "case that a user having utilised the system of Fig. 1 to create a complex image wishes to perform a number of minor adjustments to the operations which generated the image.
This often requires the frequent recalculation of the final image from its initial raw image, which can result in excessive computational requirements and generally slow 20 iterative updates.
Further, if an operation is inserted between other operations, the entire set of previous operations in the processes must be recalculated and re-rendered. This also occurs when an operation is removed or if the parameters of an operation are modified.
Summary of the Invention It is an object of the present invention to provide an method of using resources within a computer system so as to enhance the image creation process.
In accordance with the present invention, there is provided a method of increasing the speed of image creation on a computer system for the interactive creation of images via a series of creation steps, the method including the steps of: 429600 ML02 CFP0937AU [o:\cisra\ml\ml02]CAPAU.doc copying a resultant image of each of said creation steps to a corresponding separate storage buffer; and when making an amendment to the series of creation steps, automatically utilising one or more of said resultant images so as to reduce the rendering time of producing a final output image.
Brief Description of the Drawings Notwithstanding any other forms which may fall within the scope of the present invention, preferred forms of the invention will now be described, by way of example only, with reference to the accompanying drawings in which: Fig. 1 illustrates a standard computer system arrangement for the creation of complex images; Fig. 2 illustrates the process flow in the creation of a complex image according to a prior art method; Fig. 3 illustrates an alternative complex image structure; 15 Fig. 4 illustrates the modification of the prior art process flow of Fig. 2 in accordance with the preferred embodiment of the present invention; Fig. 5 illustrates a schematic of the system of utilisation of cached buffers as constructed in accordance with the preferred embodiment.
Fig. 6 shows a block diagram of a computer system for use with the invention; S 20 and .0 Fig. 7 is a flowchart showing a preferred implementation of the invention.
Detailed Description In the preferred embodiment, to reduce the time required for re-rendering a final image after an operation is added, removed or modified, the intermediate image the result of that operation is copied to a temporary buffer which can be stored on disk or in memory of the computer device 2.
Turning to Fig. 4, there is illustrated a simplified overview of the invention, as applied to the process shown in Fig. 2. A raw image 31 is taken from an input buffer A sharpen operation 32 is applied to the raw image 31 and the result copied to a 429600 ML02 CFP0937AU [o:\cisra\ml\ml02]CAPAU.doc -4buffer 33. A crop operation 34 is inserted, and the result is copied to its own unique buffer 35. Similarly, the sepia operation 36 copies to a buffer 37, the contrast operation 38 to a buffer 39, with the final image 40 being copied to a buffer 41. In each case, the image being buffered is also rendered to the system's display screen for viewing by the user. Usually, the screen rendering will take place first to ensure that the user can view the results of the operation quickly. However, depending upon the implementation of the invention, it is possible to buffer the image prior to rendering to the screen without departing from the scope of the invention.
The benefits of the above rendering process become apparent when it is required to add or remove operations. For example, if a brightness operation is added between the crop operation 34 and sepia operation 36, the brightness operation can be applied to the image stored in buffer 35 with the consequential requirement that only the downstream operations (36 38) need be re-rendered, thereby saving on the rerendering of the upstream operations (32 34). Further, if the sepia operation 36 is removed, it is only necessary to re-render the contrast operation 38 taking the input "image from buffer Similarly, if one of the operations, eg. sepia operation 36, has one of its parameters modified, only the downstream operations (36) need to be re-rendered.
0 Hence, through the utilisation of a buffer image associated with each operation, 20 substantial advantages can be produced in the rapid iterative creation of images in that upstream operations need not be re-calculated and rendered.
The principles of Fig. 4 can be applied to the processing tree arrangement of Fig. 3. In this case, a buffer is associated with each node of the tree, and modification of any node of the tree requires the recalculation only of the particular node and its parent nodes rather than recalculation of the whole tree.
Preferably, the buffers are formed in working (eg. semiconductor) memory so as to allow for their fast access. However, some or all of the buffers can be stored on disk or other relatively "slow" memory when the number or cumulative size of the buffered images becomes too large for storage in relatively small "fast" memory.
429600 ML02 CFP0937AU [o:\cisra\ml\ml02]CAPAU.doc Where such an arrangement is required, preferably, a system of cached buffers similar to that illustrated in Fig. 5 is utilised wherein an application program 45 for the creation of a complex image interacts with a buffer cache 46, which in turn is responsible for the caching of buffers in real (eg. semiconductor) memory. Buffers which have not recently been accessed can be stored on disk 47. It has been found in practice that a substantial amount of locality exists in the modifications being made by a user creating a complex image, and so the utilisation of a cached buffer system 46 can substantially increase performance where the memory requirements for storing buffers is excessive.
As a further alternative, the caching operation can be implemented for intensive operations only, such as image sharpening and image convolutions. In this case, the elapsed time of an operation can be used to determine whether the resultant image is cached.
Turning to Fig. 6, there is shown a computer system 600 upon which the preferred embodiment is implemented. The computer system 600 includes a keyboard 601, a mouse 602, a processor 604, a printer 605, and an I/O interface 609 connecting the mouse 602, keyboard 601 and printer 605 with the processor 604 via a system bus 606. The computer system 600 also includes fast memory in the form of semiconductor random access memory (RAM) 607, slow memory in the form of a hard disk drive 20 (HDD) 608 and a video display unit 603 and video interface 610, all connected to the processor (and, where appropriate, each other) via the system bus 606.
According to the preferred embodiment described previously, a raw image 31 is retrieved from a buffer 31 in the form of first memory portion 611. The user inputs commands via the mouse 602 and the keyboard 601, and views the result on video display unit 603. A sharpen operation 32 is performed by the processor 604, and the result displayed at a suitable resolution on video display unit 603 by means of video interface 610. The result is also stored in a buffer 33 in the form of second memory portion 612. Further operations 34, 36 and 38 (described above) are implemented, and 429600 ML02 CFP0937AU fo:\cisra\ml\m102]CAPAU.doc -6after each operation, the result is stored in respective buffers 35, 37 and 39 (described above) in the form of respective memory portions 613, 614 and 615.
If a user wishes to add, say, a brightness operation to the sequence after, say, the crop operation 34, the image in memory portion 613 is retrieved and displayed to enable the additional operation to be implemented. It will be appreciated that the operations 32 and 34 are embodied in the image retrieved from memory portion 613, and so it is not necessary to reapply these operations to the raw image 31. In cases where high resolutions and colour depths are used, this can represent a significant reduction in the time it takes to display the desired intermediate image.
Turning to Fig. 7, the method described above is shown in a flowchart 700.
*After starting 701, an initial image (ie, raw image 31) is retrieved from memory (step 702). An initial operation is performed (step 703) on the retrieved image, and the result stored (step 704) in a buffer (as described in relation to Fig. If the user C."wishes to amend a previous operation (step 705), including, for example, adding an 15 extra operation, then the requisite image is retrieved (step 706) from the appropriate memory location. The method then returns to step 705.
If no amendment is required at step 705, a determination is made (step 707) as to whether any further operations will be performed. If no further operations are required, the method ends 708. The user may then wish to save or print a final copy of 0. 20 the image. Alternatively, if there are further operations to apply, the method returns to step 703. The various steps are then repeated until the user is satisfied with the resultant image.
It will be appreciated by a person skilled in the art that numerous variations and/or modifications may be made to the present invention as shown in the specific embodiments without departing from the spirit or scope of the invention as broadly described. The present embodiments are, therefore, to be considered in all respects to be illustrative and not restrictive.
429600 ML02 CFP0937AU [o:\cisra\ml\ml02]CAPAU.doc The claims defining the invention are as follows: 1. A method of increasing the speed of image creation on a computer system for the interactive creation of images via a series of creation steps, the method including the steps of: copying a resultant image of each of said creation steps to a corresponding separate storage buffer; and when making an amendment to the series of creation steps previously performed, automatically utilising one or more of said resultant images so as to reduce the rendering time of producing a final output image.
2. A method according to claim 1, wherein said separate storage buffers •are cached between fast memory and slow memory by said computer system.
S•3. A method according to claim 1 or 2, wherein said series of creation 15 steps comprises a chain of creation steps, said amendment comprises amending an 9 element of said chain of steps and said automatic utilising includes the sub-step of using S°the storage buffer corresponding to a nearest previous element of said chain to the element to be amended.
4. A method according to any one of the preceding claims, wherein said 20 series of creation steps comprises a tree of creation steps, said amendment comprises amending an element of said tree of steps and said automatic rendering utilising
V.
includes the sub-step of using the storage buffers of descendent child nodes of the element to be amended.
A method according to any one of the preceding claims paragraphs, wherein only operations which are computationally intensive are cached.
6. A computer apparatus programmed with software for implementing the method of any one of claims 1 to 7. A computer software product for implementing the method of any one of claims 1 to 5 on a computer.
8. A method of increasing the speed of image creation on a computer system for the interactive creation of images via a series of creation steps, the method 429600 ML02 CFP0937AU [o:\cisra\ml\ml02CAPAU.doc
AU81975/98A 1997-08-29 1998-08-28 Utilisation of caching in image manipulation and creation Ceased AU707849B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU81975/98A AU707849B2 (en) 1997-08-29 1998-08-28 Utilisation of caching in image manipulation and creation

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
AUPO8863 1997-08-29
AUPO8863A AUPO886397A0 (en) 1997-08-29 1997-08-29 Utilisation of caching in image manipulation and creation
AU81975/98A AU707849B2 (en) 1997-08-29 1998-08-28 Utilisation of caching in image manipulation and creation

Publications (2)

Publication Number Publication Date
AU8197598A AU8197598A (en) 1999-03-18
AU707849B2 true AU707849B2 (en) 1999-07-22

Family

ID=25639952

Family Applications (1)

Application Number Title Priority Date Filing Date
AU81975/98A Ceased AU707849B2 (en) 1997-08-29 1998-08-28 Utilisation of caching in image manipulation and creation

Country Status (1)

Country Link
AU (1) AU707849B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0681279A2 (en) * 1994-05-03 1995-11-08 Sun Microsystems, Inc. Frame buffer random access memory and system
US5509115A (en) * 1990-08-08 1996-04-16 Peerless Systems Corporation Method and apparatus for displaying a page with graphics information on a continuous synchronous raster output device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5509115A (en) * 1990-08-08 1996-04-16 Peerless Systems Corporation Method and apparatus for displaying a page with graphics information on a continuous synchronous raster output device
EP0681279A2 (en) * 1994-05-03 1995-11-08 Sun Microsystems, Inc. Frame buffer random access memory and system

Also Published As

Publication number Publication date
AU8197598A (en) 1999-03-18

Similar Documents

Publication Publication Date Title
US7631253B2 (en) Selective image editing in a browser
US7631252B2 (en) Distributed processing when editing an image in a browser
US6593933B1 (en) Block-based synthesis of texture in computer rendered images
US6999101B1 (en) System and method for providing vector editing of bitmap images
JP4172333B2 (en) Image display processing method
JP4210316B2 (en) Digital image articulated rendering method
US6343160B1 (en) Utilization of caching in image manipulation and creation
US6683619B1 (en) System and method for increasing performance when compositing images
JP2857292B2 (en) Apparatus for realizing two-dimensional digital filter
AU707849B2 (en) Utilisation of caching in image manipulation and creation
US6122069A (en) Efficient method of modifying an image
US6246805B1 (en) Efficient beveling of extruded regions in video processing
US10347043B2 (en) Core animation portals
WO2007131233A2 (en) Browser image manipulation
US7535480B2 (en) Compositing rendering layers
AU717463B2 (en) An efficient method of modifying an image
CN114241101A (en) Three-dimensional scene rendering method, system, device and storage medium
JP2004240910A (en) Image processor and image processing method
JP2008059122A (en) Image processing apparatus, method, program, and information recording medium
JP2004227164A (en) Information processor
JP2001209640A (en) Image information converter, image processor, method therefor and recording medium
GB2330287A (en) Background matching for graphics objects
JP2002152501A (en) Method and system for reducing image and recording medium
JPH05127659A (en) Image display device
JPS6081636A (en) System for displaying picture editing area