AU697314B2 - Utilisation of scanned images in an image compositing system - Google Patents
Utilisation of scanned images in an image compositing system Download PDFInfo
- Publication number
- AU697314B2 AU697314B2 AU30583/95A AU3058395A AU697314B2 AU 697314 B2 AU697314 B2 AU 697314B2 AU 30583/95 A AU30583/95 A AU 30583/95A AU 3058395 A AU3058395 A AU 3058395A AU 697314 B2 AU697314 B2 AU 697314B2
- Authority
- AU
- Australia
- Prior art keywords
- data
- objects
- band
- color
- transparency
- 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
Links
Landscapes
- Record Information Processing For Printing (AREA)
Description
T r S F Ref: 312014
AUSTRALIA
PATENTS ACT 1990 COMPLETE SPECIFICATION FOR A STANDARD PATENT
ORIGINAL
I I Name and Address of Applicant: Canon Kabushiki Kaisha 30-2, Shimomaruko 3-chome Ohta-ku Tokyo 146
JAPAN
.i 9t Ci ti.
*c S .9.9i .9 9 49 9 9 9.99 999499 9**9*9 Actual Inventor(s): Address for Service: Invention Title: Canon Information Systems Research Australia Pty Ltd 1 Thomas Holt Drive North Ryde New South Wales 2113
AUSTRALIA
Vincenzo Arturo Luca Liguori Spruson Ferguson, Patent Attorneys Level 33 St Martins Tower, 31 Market Street Sydney, New South Wales, 2000, Australia Utilisation of Scanned Images in an Image Compositing System ASSOCIATED PROVISIONAL [31] Application No(s) PM8221 APPLICATION DETAILS [33] Country
AU
[323 Application Date 16 September 1994 The following statement is a full description of this invention, including the best method of performing it known to me/us:- -a ar -1A- UTILISATION OF SCANNED IMAGES IN AN IMAGE COMPOSITING SYSTEM Field of the Invention The present invention relates to the composition of images from multiple different objects and from scanned image data.
Background Art Complex computer generated images are normally made up of many different parts. These parts generally comprise graphic-based data object which form part of the image, in addition to pixel-based scanned image data which, by itself can also be considered an object, Hence, a final created complex image may consist of tens, if not hundreds, of objects which are layered on top of one another with differing degrees of transparency such that the objects occurring below other transparent objects are partially visible through the transparent objects.
When utilising a scanning device with images that are computer generated from objects, the treatment of the scanned data becomes quite complex. Unfortunately, this i 15 normally results in a complex computer system that requires extensive training for its proper utilisation due to its sophistication.
Recently, color copying and printing devices, such as laser color copiers and ink jet color copiers have substantially decreased in price due to improvements in technologies, and as a result, these devices have become readily available to persons S 20 inexperienced in the creation of images incorporating computer generated information with scanned data.
9. c¢ ,Summary of the Invention g It is an object of the present invention to provide an image composition system whereby scanned image data can be incorporated into arbitrary objects of a final image 25 in a simple and effective manner.
In accordance with one aspect of the present invention there is provided a method composing images made up of pixels and derived from a multiplicity of objects having associated color data and scanned image data made up of pixel data, said method comprising the steps of assigning color data of a first predetermined number of said multiplicity of objects to be color data of corresponding pixel data of said scanned image data, creating a band rendering list of said objects, and band rendering said objects using a band intersection list to derive said image made up of pixels.
4.
(312014) (Zedge02) (CFP03e8AU) 1o:zedga\zdge02auclrms.doc I .4 In accordance with another aspect of the present invention there is provided an apparatus for producing an image made up of pixels, said apparatus comprising: scanning means for inputting scanned data, storage means for storing outlines of objects and associated object color data, at least one of said objects having associated object color data defined to be a component of corresponding said input scanned data, and band rendering means, connected to said storage means and said scanning means, for forming an object band intersection list and using said list to render said objects utilising said associated object color data.
Brief Description of the Drawings A preferred embodiment of the present nvention will now be described with reference to the accompanying drawings in which: Fig. 1 is a schematic block diagram of the incorporation of the preferred 0 Sembodiment into a printing system; Fig. 2 illustrates a sample image to be scanned and incorporated into a computer l generated image; Fig. 3 illustrates a first recoloring color; Fig. 4 illustrates a second recoloring color; Fig. 5 illustrates two computer graphical objects to be incorporated into a final image; f Fig. 6 illustrates a conposited image made up of a number of different objects; *0 Fig. 7 illustrates a second portion of an image to be scanned for incorporation o into a computer generated image; Fig. 8 illustrates a second computer generated image made up of a number of objects; Fig. 9 illustrates the banded nature of the preferred output device; Fig. 10 illustrates a single band of Fig. 9 in more detail; Fig. 11 is a flow chart illustuating the process of creating an output image for a printer device; Fig. 12 illustrates the data structure of an object for display; Fig. 13 illustrates multiple overlapping objects; Fig. 14 illustrates the rendering process of the objects in Fig. 13; Fig. 15 illustrates the process of "culling" objects from an image; Fig. 16 illustrates a sample image; Fig. 17 illustrates the band object intersection list for the image of Fig. 16; Fig. 18 illustrates the band preparation process of the preferred embodiment; -i Qr' inlrnrl r Ogl it rl d 2A Fig. 19 illustrates the process of culling portions of an object from a particular band which is to be printed; Fig. 20 illustrate the process of vectorizing a spline into corresponding line segments; Fig. 21 illustrates a number of line segments within a band which is to be rendered; Fig. 22 illustrates the vector line intersection list for the band of Fig. 21; Fig. 23 illustrates the computer system of Fig. 1 in more detail;
I
Cf r
C
II
rI I I Sr 1 :111 ir -3- Fig. 24 illustrates the data flow through the band rendering subsystem of Fig.
23; Fig. 25 is a schematic block diagram of the band rendering subsystem of Fig.
23; Fig. 26 is a schematic block diagram of the graphics engine module (GEM) of Fig. 25 in more detail; Fig. 27 illustrates the format of storing line segments in the preferred embodiment; Fig. 28 illustrates the Zedge buffer structure of the preferred embodiment; Fig. 29 illustrates the shadow Zedge buffer of the preferred embodiment; Fig. 30 illustrates the rendering unit of Fig. 26 in more detail; Fig. 31 is a schematic block diagram of the visibility determination unit (VDU) of Fig. 26; Fig. 32 illustrates the transparency mask register structure used in the preferred embodiment; Fig. 33 is a schematic block diagram of the run length encoder of the rendering :unit of Fig. 23; Fig. 34 illustrates the run length encoder data structure utilised in the preferred embodiment; Fig, 35 is a schematic block diagram of the ink jet module of Fig. Fig. 36 illustrates an object's opaque level entry in the property table utilised in the preferred embodiment; Fig. 37 illustrates an object's transparency level entry in the property table utilised in the preferred embodiment; 25 Fig. 38 is a schematic block diagram of the run length expander unit of Fig.
Fig. 39 is a schematic block diagram of the blend calculator of Fig. S*44 Fig. 40 is a schematic block diagram of the blend processor of Fig. 39; Fig. 41 is a schematic block diagram of the compositor of Fig. o30 Fig. 42 is a schematic block diagram of a mixer unit of Fig. 41; Fig, 43 illustrates a cross-section through an example "pro forma" image to be created by the preferred embodiment; and Fig. 44 illustrates a "pro-forma" sheet created for the placement of information I i "on the scanner of Fig. 1.
Detailed Description i Referring now to Fig. 1, the preferred embodiment is designed to operate in an environment where images are scanned on a pixel by pixel basis by a scanner 1, with the pixels being transferred to a computer system 2. The computer system 2 is r (Zedeo2 (3201) (FP038) G:\isr~zcge'.ed~02]pec~do (ZedgeO) (312014) (CFP0368) [G:\cisra~zedge\zedge2]Speci:doe 1 wwoimpoo 1,0.640ow ilI, 10IM,1 I mo l 0 11111 V I OM I i:i .0 YC- I I Y configured to utilise predefined graphical objects 3, stored on various internal and external media, which are combined with the scanned image from scanner 1, with the resultant image being printed out on a printer 4. Preferably, the printer 4 is a "banded" ink jet printing device such as the Canon CJ10 Ink Jet Printer. The Canon CJ10 is a "banded" printing device in that it prints an image by printing individual bands one after another.
With reference to Figs. 2 to 5, there will be now explained an example operation of composing images using scanned image data. In Fig. 2, there is shown an example image 5 which is to be placed on the scanner 1 and a portion of which is to be used in the final image. The image 5 consists of a black clover leaf 6, on a white background 11.
In the first instance, it is desired to change the color of the clover leaf 6 to be a color 13 of Fig. 3. Similarly, it is desired to change the background a color 11 of Fig.
2 to be color 23 of Fig. 4. In the preferred embodiment, both colors 13 and 23 can be an arbitrary blend of colors in any direction. In addition to the alteration of the scannerd image, it is desired to add various objects to the image on various layers.
Referring now to Fig. 5 there is shown two further objects including a background boarder object 24 and a foreground emblem object 25. In the preferred embodiment, both the objects 24 and 25 can have arbitrary blends of color, in addition to having an arbitrary degree of transparency. Referring now to Fig. 6 there is shown the final image combining the objects 25, 24, recolored background 11, in addition to recolored *'*clover leaf 6. The emblem 25 appears in front of the scanned image data, and the background object 24 appears behind the scanned image data.
Fig. 7, shows a second example of a scanned image for combination with other 25 objects in the creation of a computer generated image. The scanned image includes a first area 26 which contains the clover leaf design similar to that shown in Fig. 2, and a second area 29 containing various written information. In this particular example, the areas 26 and 29 are designed to be broken up into two different objects and are to be treated differently. Referring now to Fig. 8, there is shown the desired final form of an 30 image composed of background boarder 24 and foreground enlblem 25, recolored clover leaf 6, recolored background 11, and original writing area 29 which remains unaltered. This example illustrates tnie incorporation of the scanned image data from different areas of the scanner 1 into different objects of the final image composition.
Again, computer defined objects 24, 25 can have arbitrary linear blends of colors in addition to arbitrary directional blends of transparency.
Referring now to Fig, 9, there will now be explained the operation of a banded printing device with the preferred embodiment. A page 7 is created from a large number of bands 8 with each band being printed one after the other. Each band 8 is in fT,, (ZedgeO2) (312014) (CFP0368) [G:\cisra\zedge\zedgeO2]Speci:do turn made up of a large number of lines 9. Without loss of generality, it will be assumed that the lines are printed from the top to the bottom of each band. However, clearly other formats are possible.
Referring now to Fig. 10, there is shown a single band 8. Each band 8 consists of a, large number of lines 9, 10, Each line 9, 10 is further made up of a series of pixels 12. The pixel 12 is itself formed from a number of component colors, for example, it will be assumed that the component colors of each pixel are formed from cyan, magenta, yellow and black (CMYK). Further, as in common in the art, the pixel data sent to the printer 4 (Fig. 1) comprises Red, Green and Blue (RGB) color components with each component having 8-bits of color level information. The printer 4 uses known techniques to convert the RGB color data to corresponding CMYK color data which is subsequently printed out, Referring again to Fig. 9, there is shown a simple example of two objects 14 and 15 which form a part of the overall image to be printed on page 7. As object lies partially off the page 7, it is necessary for the computer system 2 (Fig. 1) to "clip" t the object to the boundaries of the page 7. Ideally, the outline of each object 14,15 is represented by spline outline information. The use of splines is advantageous in that it allows efficient rotation, scaling and translation of arbitrary objects.
Referring now to Fig. 11, there will be described the process carried out in the 2o rendering of images by the computer system 2 (Fig. Information about the page layout is loaded into the system 16. Subsequently a simplified form of the objects describing the page is created 17. A band preparation stage 18 determines which objects are active in a current band of the printed page. A band rendering stage 19 .converts the objects to a compact description on a line by line basis. An object/image 25 combining stage 21 combines the computerised description of the object with incoming scanner data 20 to form an output 22 to the ink jet printing device. The operation of each of the stages of the rendering process will be further described hereinafter.
Referring now specifically to the page layout description stage 16, information about the layout of a page is loaded into the computer system. This information normally consists of objects which are to be printed, The objects ifi turn can be broken Sdown into cubic splines which determine the outline of an object. Additionally, each object has associated with it a level number as well as information regarding its color properties and translation, rotation and skewing properties which should be applied to the object before it is rendered.
Referring now to Fig. 12, there is shown an object record 27. This record includes fields for Level, Blend, Transparency and Translation information in addition to a pointer 28 to a linked list which contains descriptions of splines which comprise the outline of the object. i (ZedgeO2) (312014) (CFP0368) [G.\cisa\zedge\7.dgcO2Speci:doe LL- IC -6- The Level field of the object record 27 determines which of many layers or levels the object belongs to and is used to determine the visibility of an object.
Referring now to Fig. 13 and Fig. 14 there is shown an example of the significance of an object's level. In Fig. 14, there is shown three objects 30, 31, 32, with object 6 being on a level below object 32 which is in turn on a level below object 31, Fig. 14 shows a cross section through the objects of Fig. 13 along the line VII-VII of Fig. 6. It can be seen that object 30 is on level 1, object 32 is on level 2 and object 31 is on level 3. Therefore, in printing the line along VII-VII, object 31 takes precedence over the other objects and is printed in preference to those objects, If object 31 is active and opaque, the output color printed will be that stored with the color information of object 31. If object 31 is active and defined to be partially transparent, then the output color will be a combination of the color of object i 31 and the color of object 32 underneath it (assuming object 32 is opaque). Hence objects can be partially, or wholly, transparent, with the combining of object colors to be further described hereinafter.
Referring again to Fig. 12, the Blend field of the object record 27 contains nine values that define three planes in the color space of the object. As will be further described below, this information is enough to describe a linear blend of any colors in any direction.
26 The Transparency field of the object record 27 contains three pairs of values which, as will also be further described below, define the degree of transparency of the object. An object is transparent when portions of the object below the transparent object show through the transparent object in the final image.
2. 'The Translation field of the object record 27 defines the conventional 25 translation, rotation, scaling and skewing that are to be applied to all the splines belonging to an object as well as to the color blend information of an object.
Referring again to Fig, 11, the next step in the preparation of an image is tile page preparation step 17. The page preparation step 17 involves all the necessary software operations that need to be performed before the image can be rendered. These include: 1, The geometric transformations which are to be applied to all splines belonging to an object in addition to the object's blend description.
2. The clipping operations to be applied to objects or parts thereof, 3. The preparation for each band in a final image of a linked list of objects intersecting that band.
1, Geometric Transformation The description of each object is stored in terms of a series of location values, the values of which are stored with respect to a first co-ordinate system. The I (ZdgeO) (312014) (CFP0368) (G:\cisrazedge\zedge02]Speci:do i.l IY -7- Translation field of an object's description contains the information necessary to transform the object's description into page co-ordinates (page line and pixel number).
This information is applied to the object to produce a description of the object with reference to page co-ordinates.
6 2. Page Clipping After the geometric transformations have been applied to each object, there can be objects that lie outside the page boundaries, in addition to objects which can lie partially in and partially out of the page boundaries.
Referring now to Fig. 15 there is shown an example of the clipping process with two objects 34 and 35 of an image which is to be printed on a page 36 by bands 37. It can be seen that object 35 lies totally off the output page 36 and therefore can be deleted or culled from the description of the page 36, This has the effect of substantially speeding up subsequent stages of the printing process, Object 34 lies partially on and partially off the printed page 36 and a clipping process is applied to the object 34 to also speed up the subsequent stages of the printing process. The first step to be applied is the simplification of that portion of the object 34 lying off the top of the page 36. The splines making up the portion of the object lying off the top of the page between the points 39 and 40 are removed and replaced by a straight edge (which is still in a spline format), between the points 39 and 40. Those portions of the object that lie off the sides and to the bottom of the page 41, 42, 43 are also replaced by straight edges to further simplify the description of the object 34.
rf 3, Preparation of the Object Band Intersection List The next stage of the preparation process involves forming an object band intersection list which defines a structure that, for each band, indicates those objects 25 which intersect the band. Referring now to Figs. 16 and 17 there is shown an example of band intersection list formation. In Fig. 16 there is shown the output page which includes objects 45, 46 and 47. In Fig. 17, there is shown the corresponding band object intersection list 50 for the image of Fig. 16. The band object intersection list includes an array of pointers 51. The number of elements in the array 51 corresponds 3o to the number of bands in a printed page, Each element of the array 51 contains a pointer 52 which points to a linked list of all the objects 53 that start in that particular band. Each element 53 of the link list includes a record containing the object's description and the last or end band that the object intersects with, in addition to a *pointer to the next element of the linked list.
The band object intersection list 51 can be built as the objects are loaded into the computer system 2, after the geometric transformations has been applied to each object. This is done by calculating a boundi(u! box for each object which will in turn indicate in which band the objects starts and in which band the object ends. The (ZcdgeO2) (312014) (CFP0368) cisra\zedge\zedgeO2JSpeci:do ~CI~L~.eezlllllcl r I I 1 1$ 0,01, oil I C I -"ON M"00", 410 "16I~ -8object's description and the bounding box can then be used to construct the object record 53, with the record then being appended to the list pointer 52 for the relevant starting band of the object.
The object band intersection list will therefore comprise a linked list of the 6 objects starting at that band. This is very useful in determining, for each band, those objects which intersect the band and saves substantial amounts of time whenever a band preparation or render operation is performed on the objects to be displayed.
Banded ink jet printing devices, such as the Canon CJ10, print their image band by band with a arbitrary time between the end of the printing of one band and the start of the printing of the next band. Therefore, the page preparation process 17 (Fig.
11) maintains an additional active object list as each band is prepared and rendered.
This active object list is initially empty before the first band is printed. Every time a new band is ready for preparation, all the objects in the object intersection list which start at that band are appended to the active object list. The active object list is then forwarded to a band preparation process 18 (Fig. 11). As a result, the band preparation process 18 only deals with those objects intersecting the current band. If the current band is the last intersecting band of an object 54 (Fig. 17), the object is deleted from the active object list.
Referring now to Fig. 18, there is shown the band preparation process 18 of Fig. 11 in more detail. The band preparation process includes the clipping of splines 60 to the borders of a band, the vectorization of each spline 61 into line segments, and 'A go the preparation of a line intersection list 62 for the current band.
M. Band Clipping of Splines As mentioned previously, the band preparation process 18 (Fig. 11) is passed a list of objects which are active in the current band. Each object comprises a number of splines which describe its outline and the band clipping process is responsible for eliminating those splines which occur outside the current band, and for simplifying those splines which are partially inside and partially outside the current band.
Referring now to Fig. 19, there is shown an example of the band clipping process. An S: 30 object 67 is to be rendered on a current band 66 of a printed page 65. Those portions the object 67 which are above the current band can be simplified to straight lines on the edge of the current band. For example, the portion of the object 67 between the band edges 68 and 69 can be simplified to a straight line Nftween these two points.
Similarly, those portions of the object 67 below and to the sides of the current band (eg. 70) can be deleted from the current object list. The result of the band clipping process is a list of the splines of an object which are active in the current band 66.
Spline ectorization i Vt (zedeo) (314) (CFP 368) :Wsmis\zedge\zedgeO2JSpec~oc 4-- -9- Referring again to Fig. 18, the next stage in the band preparation process is the vectorization of splines into line segments 61. The spline vectorization process 61 converts all the splines of an object into vectors or line segments.
The parametric equation for a spline on an x,y plane is given as follows: x(t) at 3 bt 2 ct d (EQ 1) y(t) et 3 +ft 2 gt h (EQ2) One method of converting the above equation into line segments is to sample the equations for the spline along a predetermined number of points equally spaced in the parametric space. The variable t is normally in the range from 0 to 1 and other ranges can be suitably scaled in a known manner so that t can take this range of values.
Referring now to Fig. 13, there is shown an example of the process whereby a spline 72 ranging from the point y(0) to y(1) is converted into line segments 73 which are equally spaced in parametric space.
Of course, this technique may be unsuitable in that the obtained approximation to the spline may be potentially too coarse. However, since the computational costs of splitting the spline is minimal when compared with checking the error associated with the split, suitable performance can be obtained by merely splitting the spline many more times than that which would be required on average.
Splitting the spline along equally spaced points in parametric space is a simple process as Equations 1 and 2 are polynomials in t. Therefore the following recurrence relations can be used.
x k+l =Xk +Axk (EQ 3) Axk+l Ak AAxk (EQ 4) AAxk+ AAxk +AAAxk (EQ Yk+l =Yk +AYk (EQ 6) SAk+ 1 Ak AAyk (EQ 7) AAYk+l AAyk AAAk (EQ 8) S If At n where n is the number of splits, then the initial conditions for the above recurrence relation are 30 x 0 =d (EQ 9) Ax 0 =3aAt 2 +2bAt+c (EQ SAAx 0 6aAt +2b (EQ 11) AAAx 0 =6a (EQ 12)
Y
0 =h (EQ 13) (Zedge02) (312014) (CFP0368) [G:\cisrazedg'.zedge02]Speci:doc ia i c -23- Ay 0 =3eAt 2 2fAt g (EQ 14) AAy 0 6eAt+2f (EQ AAAy 0 =6e (EQ 16) The use of the above recurrence relations allows for a simple calculation of subsequent x,y points from a current x,y point and, if the number of desired line segments is a power of 2, the points can be calculated without the need for complex floating point arithmetic operations.
One simple heuristic for determining the number of line segments in which to break up a spline is to measure the perimeter of the bounding box of the spline. The larger the perimeter the greater the number of line segments into which the spline should be split.
The result of the spline vectorization process is a list of line segments for each spline. These lines segments are inserted in a vector-line intersection list which will now be described with reference to Figs. 21 and 22. Fig. 21 shows an example band 75 which comprises a multiplicity of lines 76 numbered from 0 to (maxline This particular band 75 has three line segments 77, 78 and 79 which have been formed as a result of the spline vectorization process and are to be rendered within the current band.
Fig. 15 shows the vector line intersection list 81 which stores all the active lines within the current band 75 and is of a similar nature to the object band intersection list 51 of S 20 Fig. 17. The vector line intersection list 81 includes an array of pointers 82 with the number of elements in the array 82 being equal to the number of lines in the band.
Each element in the array 82 points to a list of the line segments 83 which begin on that line. Each line segment 83 in the link list contains a description of the line segment and S: a pointer 84 to the next list element. The information stored on each line segment includes: 1. Level information indicating the level of the object that the line segment belongs to; 2. End line information which describes the last line on which the line segment is active; I o30 3. Pixel information which describes the pixel on a line that the line i segment currently intersects; and 4. Slope information which describes the slope of the line segment and S' can be used to update the pixel information value after the printing of each line.
Referring now to Fig. 18, the vector line list is created 62 at step after each spline has been vectorized 61. As seen in Fig. 11, the creation of the vector line intersection list completes the band preparation stage 18, with the next stage being the band rendering stage 19. The page layout description stage 16, the page preparation (Ze3 S(Zedge02) (312014) (CFP0368) [G:\cisra\zedge\zedge02]Speci:doc i Z 1!' r -I-I I 1)C 1 _L-ii-~ -11stage 17 and the band preparation stage 18 are all carried out in software, with the band rendering stage 19 and the object and image combining stage 21 being carried out in hardware.
Turning now to Fig. 23, there is shown the computer system 2 of Fig. 1 in more detail. The computer system 2 includes a memory 86, a central processing unit (CPU 87) and a band rendering subsystem 88. The CPU 87 is responsible for the preparation steps 16, 17, 18 of Fig. 11, storing the results in the memory 86. The band rendering subsystem 88 is responsible for the stages 19 and 21 of Fig. 11.
Referring now to Fig. 24, there is shown the data processing flow through the band rendering subsystem 88. The band rendering subsystem 88 includes an edge calculation unit (ECU) 90 which takes as its input the vector line intersection list of Fig. 22 and calculates the intersection of the various line segments with a current scan line. This process is completed by traversing the vector line intersection list and updating the pixel values for a current scan line. Once calculated, the edges are stored in a "Zedge" buffer 91, which is a specialised form of buffer to be further described herein below. A visibility determination unit (VDU) 92 reads values from the Zedge buffer 91 and performs hidden surface:removal to determine the current top transparent and top opaque level objects. The top level object values are sent to a run length encoder (RLE) 93 that transforms the'object level information for each pixel into run length information, before storing the run length information in a band buffer 94. The use of the RLE 93 greatly reduces the necessary size of band buffer 94 and also the Not necessary bandwidth to memory when compared with storing the pixel information for each pixel on a line individually. This bandwidth reduction is effective during both the storage and the subsequent printing of the image.
5 From the description of each object stored in memory 86 (Fig. 23), each objects' level, color and transparency information is determined and stored in a °property table 95 which is stored in another area of the memory 86, which is usually implemented by DRAM devices.
Once a whole band has been stored in the band buffer 94 and is ready to be printed, a run length expander (RLEX) 96 reads the band from band buffer 94, expands all the run length encoded band information and passes the information to a blend calculator 97. The blend calculator 97 computes the necessary color and transparency blends and sends them to a compositor 98.
The compositor 98, which either works on the same clock cycle as the output device such as Canon CJ10 Ink Jet Printer, or has its output data subsequently synchronised with the output device 4, combines the information from blend calculator 97 with the data from the copier scanner 1 (Fig. 1) to produce the final pixel output for the printer device 4 (Fig. i), 01 -(Zedge2) (31201) (CFP0368) [GAcisra'zedge'zedge02]Speci:doc -12- Referring now to Fig. 25 there is shown an actual implementation of the band rendering subsystem 88 of Fig. 23. The band rendering subsystem 88 includes a processor bus interface (PBI) 101 which interacts with the CPU 87 (Fig. 23) and controls the overall operation of the band rendering subsystem 88. A graphics engine module (GEM) 102 contains the ECU 90, VDU 92 and RLE 93 of Fig. 24. An Ink Jet Module (IJM) 103 contains the RLEX 96, the blend calculator 97 and the compositor 98 of Fig, 24. The Zedge buffer 91, the band buffer 94 and the property table 95 are all stored in DRAM memory 86 (Fig. 23) and are accessed by the band rendering subsystem 88 through a DRAM control unit (DCU) 104. The processor bus interface 101 includes a four bit internal control register which controls the various modules within the band rendering system 88. The contents of this register are as listed in the table below.
Table 1: The Control Register Bit Name Description 0 GEMGO When this bit is set, the GEM starts operation.
1 ENECU ECU enable bit. When set the ECU is enabled.
2 ENRU RU enable bit, When set the RU is enabled.
3 IJMGO When this bit is set then the IJM starts operation.
The GEMGO bit starts the operation of the GEM 102. When the GEM 102 has completed its operations it notifies the PBI 101. The PBI 101 then sets the IJMGO bit which initiates the operation of the IJM 103. The ENECU bit and the ENRU bit are provided to test the ECU 90 (Fig. 24) and a render unit (RU) 108 which will be ,i described hereinafter with reference to Fig. Referring now to Fig. 26, there is shown the graphic engine module (GEM) a 20 102 of Fig. 25 in more detail. The GEM 102 includes the edge calculation unit (ECU) and a rendering unit (RU) 108. As will be further hereinafter described, the RU 108 comprises the VDU 92 and RLE 93 of Fig. 24. The ECU 90 and RU 108 alternate Si 3 their operations in order to produce a band for printing. The GEM 102 utilises the a avector line intersection list, which was previously prepared by the CPU 87 (Fig. 23), to output a run length encoded bit map to the band buffer 94 (Fig. 24) which is stored in DRAM memory 86 (Fig, 23).
The GEM 102 is controlled by a render flow control unit (RFC) 110 which r contains a number of registers which can be read to, and written from, the PBI 101, SThese registers and their widths (in bits) are as shown in the table below.
L (Zedge02) (312014) (CFP0368) IG;\cisra\zdzedge02]Speci:doc I1 .I i. -13- Table 2: GEM Unit register table Name Width Description Control 4 Control register Base0 22 Base address register 0 Basel 15 Base address register 1 MINLINE 13 Line where the GEM starts it activities MAXLINE 13 Line where the GEM stops its activities MAXPIXEL 8 Length of the Zedge buffer LINE 14 Line counter.
RPIXEL 8 RU Pixel counter.
RMINPIXEL 8 First valid pixel in a line RMAXPIXEL 8 Last valid pixel in a line RECOLOR 28 Color used to recolor text detected TraspmaskO-3 32 This is a group of 4 registers, each 32 bit wide.
Each bit in a register determines whether a level is transparent or opaque, Shadow0-152 153 Shadow Zedge Buffer The registers BaseO and Basel define the locations in DRAM 86 of critical working areas for the GEM 102. These registers are subdivided into various fields, each of which defines a start location of a particular storage area, The organisation of the Base0 and Basel registers is shown in the following tables.
Table 3: The BaseO Register Bits Name Description 0-9 Zedgebase Base address for Zedge buffer storage in DRAM 10-15 LSbase Base address for Line Segment (LS) storage in
DRAM
16-21 BBprep_base Base address for Band Buffer during preparation Table 4: The Basel Register Bits Name Description 0-5 BBrend. base Base address for Band Buffer during printing 6-14 Propbase Base address for the Property Table As can be seen from the above tables the resolution of base addresses or memory storage areas is limited. For example, the Zedge_base address is 10 bits wide.
The DRAM memory 86 can consist of a maximum of 1024 K words, with each word being 32 bits wide. This implies a 20 bit address. Therefore, the position of the It a a *1 a #1; Pi Itt
~C
i (ZedgeO2) (312014) (CFP036) [G:kcisrazedgezedgeo]Speci:doe
I
4 W i -14- Zedge_base address can only be determined with an accuracy of 10 bits (ie. in steps of 1024 32 bit words).
Table 5 below lists the various I/O signals into and out of the GEM 102.
TABLE *o 4 4.
9 4 4 4 44 9 9
I
*49 .999 Signal Name I/O Width Connecting Module Description DIN I 32 DRAM Controller DRAM input data bus GDOUT O 32 DRAM output data bus GA O 20 DRAM address bus REQ O 1 DRAM bus request WREQ O 1 DRAM bus requested for writing GREADY I 1 Data from DRAM ready RD I/O 32 PBI Bidirectional data bus for Sprocessor-registers interface RA I 4 PBI Register address from PBI PRW I 1 PBI R/W signal from PBI The edge calculation unit (ECU) 90 calculates the intersection of the currently active line segments with the current scan line of the current band. This is done by maintaining a currently active edge list which is initially empty and is updated as the scan line advances. Returning briefly to Fig, 22, for each new line, the ECU appends those line segments which begin on the current line to the end of the currently 10 active edge list. Subsequently the ECU 90 sequentially traverses the active edge list and, for each line segment in the list, the pixel and level information are stored in the Zedge buffer 91 via the DRAM control unit 104 (Fig. 18) and used, as will be described hereinafter, for later visibility determination. With some output devices, the paper may be slightly misplaced in position between the printing of bands. In this 1i situation, paper slippage can be accommodated by offsetting the pixel field or origins of the pixel co-ordinates by the amount of slippage. If the currently active line is coincident with the end line field of the list element the line segment is deleted from the active edge list as it will terminate on the current line. Otherwise, the pixel field is updated according to the equation Pixeln+ Pixeln slope (EQ 17) After all the edges of a given line have been calculated, the ECU 90 notifies the rendering unit 108, via a render flow control unit 110, that it may be proceed and the ECU 90 stops and waits for it to be again activated by the render flow control unit 110.
The vector line intersection list of Fig. 22 is stored in the DRAM memory 86 and is pointed to by the LSbase field in the base0 register. This area includes the array of pointers 82 to lists of list elements 83, Each pointer in the array is a 16 bit
I
I. VledrM~n (312014) (CM68 (G:\cisra\zedgeXzedge02JSpeci:doc 0, 1 1 R ifti-N.10A quantity. Turning now to Fig. 27, there is shown the format of each list element 83, which includes 13 bits designating the last line of pixels within a band in which the line segment is active 112, the currently active pixel on a line 113, the gradient of the line 115, a pointer to the next list element 116 and 7 bits (allowing 128 levels) of level information 117. As the end line value 112 is 13 bits wide, a band can be at most 8,192 lines long. Both the pixel field 113 and the slope field 115 are stored in two's complement fixed point notation with 5 bits for the fractional part. This allows for values between ±256, with 5 bits of precision after the decimal point. Therefore, the maximum error accumulated by adding the slope to the current value of the pixel for each line will always be less than one pixel if the line segment is shorter than 32 pixels long. If the line segment is longer than 32 pixels, the accumulated error can exceed one pixel. Of course, this would depend on the actual value of the slope field. The accumulated error can be reduced simply by breaking a line segment into a number of i smaller line segments. The next field 116, being 16 bits wide, can accommodate up to 65,535 different line segments per band.
For each active line segment on a current line, the current pixel locations and object level information is stored in the Zedge buffer 91 :in the DRAM memory 86.
Referring now to Fig. 28, there is shown an example of the Zedge buffer 91.
Assuming, that there are 132 pixels in a line within a bhnd and up to 128 possible levels that can be rendered on each pass, the Zedge buffer 91 consists of a 1dimensional array of pixel records having 132 elements, with each pixel record in turn having 128 bits, one for each possible level. The ECU 90 stores a single bit in memory S. for tlhe pixel coordinate and level information for each active edge in the active edge list.
25 The need to store the Zedge buffer 91 in DRAM memory 86 represents an overhead to the system similar to that facing microprocessor designers who are required to implement caching schemes. It is often the case that DRAM memory 86 is substantially slower than the rest of the logic making up the band rendering subsystem 88. The level information of each pixel of the Zedge buffer 91 comprises a 128 bit 30 record, Therefore, each pixel record can be stored in the DRAM memory 86 as four consecutive 32 bit words. In order to increase the performance of the band rendering subsystem, a shadow Zedge buffer 109 (Fig. 26) is provided to give a summary of the status of the DRAM memory 86 without requiring the band rendering subsystem to access it, Referring now to Fig. 29, there will now be explained the operation of the shadow Zedge buffer 109 and the Zedge buffer 91 respectively. Each pixel occupies 128 bits in the Zedge buffer memory 91. The shadow Zedge buffer 109 stores 4 bits of information per pixel, with 1 bit for each external word stored in the Zedge buffer 91. I (Zedge02) (312014) (CFP0368) [G:\eisra\zcde.edg c02]Speci:doc A1 -16- At the start of each line the shadow Zedge buffer 109 is cleared and, when an edge is written to the Zedge buffer 91, its corresponding location bit in shadow Zedge buffer 109 is set. Therefore, during the edge storage phase, if a word has already been modified, then a full read modify write cycle will be necessary to DRAM memory 86.
However, if the location for a current edge has not been set in the shadow Zedge buffer 109 then only a write to memory is required. As will be further discussed below, during the rendering phase, the contents of each location of the Zedge buffer 91 should, in theory, be read and cleared. However, if the corresponding location in the shadow Zedge buffer 109 is not set then no memory reads are required. Since it is likely that for simple images, most of the pixels will not contain any edges, looking at the shadow Zedge buffer 109 rather than reading from DRAM memory 86, represents a substantial saving in terms of DRAM bandwidth and time.
Referring again to Fig. 26, after all the edges for the current line have been processed by the ECU 90, the render flow control unit 110 notifies the render unit (RU) 108 to begin operation.
Referring now to Fig. 30 there is shown the rendering unit (RU) 108 of Fig.
26 in more detail. The rendering unit 108 consists of the visibility determination unit (VDU) 92 and the run length encoder (RLE) 93. The VDU 92 reads edges from the Zedge buffer 91 and/or the shadow' Zedge buffer 109 and uses the edges to determine the highest visible level and whether any transparent level object is above the highest visible level. This process is repeated for each pixel and the run length encoder 93 ***tcsubsequently stores an encoded run length in the band buffer 94.
In order to reduce the memory bandwidth requirements, the VDU 92 relies extensively on the shadow Zedge buffer 109. As mentioned previously, in theory, it 25 would be necessary to fetch four 32 bit words from the Zedge buffer 91 in DRAM 86 for each pixel and to clear such memory after it has been loaded so that the ECU ,,will work correctly for the next line. The memory band width requirement can be greatly reduced by the use of the shadow Zedge buffer 109. By looking at the 4 bit summary of each pixel, it is necessary to only load those pixels that will effect the S 3o result. If a bit is set in the shadow Zedge buffer 109, then the corresponding word needs to be loaded from the Zedge buffer 91. Where the bit is unset no memory read is necessary. Another substantial bandwidth advantage is in clearing each pixel after it has been read. By using the shadow Zedge buffer 109, it is only necessary to clear the pixel in the shadow Zedge buffer leaving the data in the DRAM memory untouched.
Again no memory read from memory 86 is required.
Referring now to Fig. 31, the operation of the visibility determination unit is similar to that described in Australian Patent Application No. 38242/93, lodged 28 April 1993, entitled "Method and Apparatus for Providing Transparency in an Object IZedLe02) (32114) ecFMWo(IRq -010" 1, 1 -17- Based Rasterised Image" filed by the present applicant and corresponding to U.S.
Patent No. 5,428,724, the contents of which are incorporated by cross reference. The active pixel edge data for each pixel is read from the Zedge buffer 91 where necessary, and formed into 128 bit words for each pixel. These words are then used to toggle a set of toggle latches 118. The output of the toggle latches is fed via AND gate 119 to a priority encoder 120. The priority encoder determines the highest currently active level of its 128 inputs, outputting the value of the highest active level which will be the top opaque level that is currently active.
As disclosed in Table 2, the GEM unit 102 includes a series of four 32 bit transparency mask registers 123. These registers are loaded by the CPU 87 during the page preparation process and include a bit for each level signifying whether objects on that level are transparent or not. The four transparency mask registers 123 are concatenated together as shown in Fig. 32 to provide an indication of which of the 128 levels are transparent.
Referring again to Fig. 31, the 128 values stored in the transparency mask registers 123 are used to gate the incoming opaque levels via the gate 119. Therefore, active levels will only pass through the gate 119 and reach the priority encoder 120 when both the toggle latch 118 for that level has been toggled an odd number of times and the corresponding transparency mask value for that level has not been set.
Similarly, gate 124 ensures that the only active levels which reach priority encoder 121 are those whose active edges have been toggled an odd number of times in addition to having the levels transparency values set in register 123. Priority encoder 121 therefore determines the maximum currently active transparency, outputting this value as the top transparency level. After both the top opaque and transparent levels 25 have been determined, a comparator 122 compares the top opaque level with the top transparent level and outputs a transparency active signal when the transparent level is greater than the opaque level.
Referring again to Fig. 30, the output from the VDU 92, being the highest opaque and transparent levels, is forwarded to the run length encoder (RLE) 93.
30 Referring now to Fig. 33 there is shown the RLE 93 in more detail. The RLE receives pixel by pixel data from the VDU and transforms it into run length data. It has been found in practice, that for most images, the top object changes fairly rarely, with the changes, in most cases, occurring greater than 10 pixels apart. Therefore, run length encoding is utilised to compact the data to be stored in the band buffer 94. The VDU 92 passes pixel data to the RLE 93 for each pixel on a line. A change detector unit 126 nodifies a control unit 127 when the input values from the VDU 92 change.
When a change is detected, the old level is updated with the new value 129 and the previous levels are written to write buffer 128 with a run length counter value 131 i J M't O11171% L 14 9 1 AM C b ILl- ~rvua t c s z g ze ge j pec ocC ;UV~ o 18which indicates how many pixels the previous object was the top level object. The run length counter 131 is then reset and subsequently incremented for each incoming pixel for which no change is detected. Once the write buffer 128 has been filled with a predetermined number of run length encoded entries, it is written to the band buffer 94 in DRAM memory 86 through the DRAM control unit (DCU) 104. When this flushing of the write buffer 128 occurs, the VDU 92 is stalled. The write buffer 128 is used so that writing to DRAM occurs in blocks and the DRAM's fast page mode can be utilised.
Referring now to Fig. 34, there is shown the structure of the band buffer 94 and corresponding run length encoding data structures. The run lengths are sequentially stored in the band buffer 94 without any formal separators for new lines.
Therefore, in order to extract the run length belonging to a particular line, all the run lengths up and to that line are required to be scanned. Of course, this will not be a problem during printing of the band as this is an inher'ntly sequential process anyway.
The run lengths are only produced by run length encoder 93 for pixel coordinates between the values stored in the registers RMINPIXEL and RMAXPIXEL. This allows the image to be broken into bands of a size as required by the output device.
Also, if necessary, better performance can be obtained by using the two registers as the next band can be processed by the GEM unit 102 while the current band is being printed. Additionally, the band size can be adjusted where necessary, for example, at r' the end of each page.
As shown in Fig. 34, there are two types of run lengths available. A first "A" type 132 is utilised when both transparent and opaque levels are active. This A type 132 comprises 24 bits of memory storage with the highest order bit signifying that it is 25 of an A type. Similarly B type run lengths 133 are those that have an opaque active top level. The use of two types of run lengths is designed to further reduce menmory storage requirements.
Referring again to Figs. 24 and 25, once the GEM 102 has completed the process of creating run lengths for the whole of a single band, the ink jet module 103 is 30 activated to produce the final pixel band for the printer. The ink jet module 103 is ,,,responsible for expanding the run lengths and creating the required blends for each line before compositing those blends with incoming scanned data and sending the final a pixels to the printer.
Referring now to Fig. 35 there is shown the ink jet module (IJM) 103 in more detail. The ink jet module includes a run length expander 96, blend calculator 97, compositor 98, ink jet module control unit 136 and clock synchronisation unit 137.
Table 6 below shows the various input/output signals for the ink jet module 103.
-19- Table 6 Signal Name I/O Width Connecting Description Module DIN I 32 DRAM Controller DRAM input data bus BDOUT O 32 DRAM output data bus BA O 20 DRAM address bus REQ O 1 DRAM bus request WREQ O 1 DRAM bus requested for writing BREADY I 1 Data from DRAM ready RD I/O 32 PBI Bidirectional data bus for the processor-registers interface RA I 4 PBI Register address from PBI PRW I 1 PBI R/W signal from PBI 4VCLK I 1 IJ copier Ink jet clock VCLK I 1 BVE I 1 Ink jet band enable VI I 1 Ink jet line enable I 8 Ink jet scanner port O 8 "Ink jet printer port The run length expander 96 loads run lengths from the run length band buffer 94 stored in DRAM memory 86 in addition to associated color information from property table 95 (Fig. 24) also stored in DRAM memory 86. This information is 5 expanded and forwarded to the blend calculator 97 that works on a pixel by pixel basis.
The property table 95 (Fig. 24) contains all the information that, once extracted by the RLEX 96, can be used by the blend calculator 97 and compositor 98 to produce a bit map to be sent to the printer. The property table 95 is created as part of the page preparation process and has 128 entries, with one entry for each level. Referring now to Fig. 36 and Fig. 37 there is shown the opaque level entry 141 and the transparent level entry 142 for an object in the property table 95. Each entry occupies four 32 bit words in DRAM memory 86. Thus, the property table is completely contained in a DRAM page and fast page mode memory read techniques can be used to rapidly transfer it to the run length expander 96. The position in DRAM memory 86 of the page table is determined by a Ptablebase field in the base register. The contents of a levels entry is interpreted differently depending on whether the level is opaque or transparent. The opacity or transparency of a level is determined by the levels setting in the corresponding transparency mask register of Fig. 31. The various fields of the property table entry will be discussed further below with reference to the discussion of the blend calculator 97.
*r *4 4. t 4*e* 4
I
(ZedgeG) (312014) (CFP0368) [G:Icisrakzedge~zedge02JSpecE:doc II__ ~I~ Referring now to Fig. 38 there is shown the run length expander 96 in more detail. The run lengths and color information are loaded from the DRAM memory 86 via the DRAM controller unit 104 into respective double buffers 138 and 139. The use of double buffers eases the memory bandwidth requirements by clustering accesses to the DRAM memory 86 allowing the use of fast page mode memory access.
Furthermore, the use of double buffers allows one set of data to be loaded while another set is in use.
Once the graphics engine module 102 has completed its operations it notifies the processor bus interface 101 which sets the IJMGO bit in the control register (see Table which starts the operation of the run length expander 93. The run length expander 93 begins by loading the run length buffer 138 under the direction of the controller 140. The length, transparency and opacity levels are decoded by controller 140 which forwards the relevant property information for that transparency and opacity level from the double buffer 139 to the blend calculator 97 (Fig. 35). Pixel data within the band rendering system 88 is stored in Red, Green, Blue (RGB) format with 8 bits for each primary color component and a further 8 bit transparency or opacity mask.
There are a maximum of 128 levels in a particular page layout, each of which can be either transparent or opaque. A transparent level is defined by a single base 24 bit RGB color or by data coming from the scanner 1 (Fig. in addition to transparency data which can vary according to a linear blend in any direction or by modulation by data coming from the scanner. An opaque level entry comprises a color blend in any direction or data taken from the scanner. As mentioned previously, only the top ievel Sy- transparent and top level opaque data for each pixel is forwarded by the GEM 102, S with the transparency livel only being considered if it is greater than its corresponding t 25 opaque level. The above combinations of transparency and opacity levels allows for great versatility in the possible output, a few examples of which will be outlined in the t following numbered paragraphs.
1. By allowing the opacity level to be the color data coming from the scanner, real world scanned images can be used to "texture map" any of the objects making up the page layout.
2. The opaque level of an object can also be texture mapped with a recolored black and white image, for example text, which has been input by the user on the copier/canner 1. As will be further be described hereinafter, the blend calculator 97 allows all the white parts of a scanned image to be recolored with a predefined constant color and all the black parts to also be recolored with a color blend defined as part of the opacity level. Additionally, the roles of white and black can be swapped.
The determination of whether a particular color is white or black is defined through a comparison with a threshold value. As such effects can be defined on a level by level 21 basis, it is possible to have one part of the page layout texture mapped with images and a second part recolored with the black and white image coming from the scanner.
3. On top of any opaque level there can be defined a transparency level containing a blend tending towards any RGB color. Additionally, it is possible to define the basic color of the transparent level to be scanner data and simultaneously have its transparency vary with a linear blend. With this set up, the data from the scanner will be gradually superimposed over any underlaying graphical objects. This allows for the possibility for scanned images to smoothly mix and fade into graphical objects of a page layout.
4. Controlling the transparency of a level with scanned image data allows for many useful effects. For example, it is possible to modulate the transparency of the level gradually, according to the luminosity component of the scanned image data, which gives an effect of viewing a scanned image through stained glass.
Where a transparent level lies over an opaque level the pixel values for the two levels must be combined or composited in certain ways. Equation 18 below shows how to derive a final color, color(x,y), from a transparent level color component C2(x,y), an opaque level color Cl(x,y) and a transparency fraction k(x,y) which takes a value between 0 and 1, with 0 being equivalent to total transparency and 1 being equivalent to S total opacity. The compositing equation, utilized for each primary color RGB, is as follows: T'h color(x,y) C 2 k(x,y) Cl(x,y (EQ 18) The opacity level color component (C 1 can comprise a blend for each primary color component with the blend or color value being defined in Equation 19: w Blend Value Ax By C (EQ 19) 25 where A B and C are predetermined constants derived from the requisite color blend.
In the present embodiment, A and B are assigned 15 bit fixed point numbers with 5 bits after the decimal point and C is an 8 bit number whose value is always positive. By utilising separate values of A, B and C for each primary color component, an arbitrary linear blend in any direction may be defined.
S 30 With respect to the transparency level, k(x,y) controls the amount of transparency in the image, with the value C 2 define the transparency color level.
As mentioned previously, the transparency component k(x,y) can be derived from scanner data or can be a linear function of the current pixel position In the latter case the transparency amount is defined by the equation: Transparency Dx Ey F (EQ In the present embodiment the values D and E are assigned 15 bit fixed point numbers with 5 bits after the decimal place. F is an 8 bit number whose value is I 1 i~cedsm02) (3120141 (CFP03681 [G:\cisa\edge~edgeOLSpeci~doe -22always positive. These values are sufficient to define a linear transparency blend in any direction.
As outlined previously, the blend calculator 97 also has the ability to recolor scanner data that contains high contrasting color components to be altered to be other colors. This allows there to be superimposed, on any particularly created computer artwork, recolored text or patterns derived from the scanner device 1.
Returning now to Figs. 36 and 37, there is shown the opaque level entry 141 and transparent level entry 142 making up the property table 95. With reference to the opaque level entry 141, blend values for A, B and C are defined for each of the primary color components red, green and blue, thereby defining an arbitrary blend plane in three dimensions. Additionally, a Kind Field is provided for the implementation of various texture mapping options for the opaque level as previously discussed. The value of the Kind Field of opaque level entry 141 and-corresponding effects are defined as follows: 00 The opaque blend value is as defined by the A, B, C coefficients.
01 Color data for this level comes from the scanning device 1.
Any black text in the scanned image is detected and recolored with a blend defined by the A, B, C, coefficients. Non black portions are to be recolored with the contents of the Recolor register.
11 As for the detection of black pixels, but applied to white pixels rather than black pixels.
With reference to Fig. 38, the transparency level entry 142 includes values D, E and F as previously defined in addition to base color value components for each of the RGB pixel components. The transparency level also implements various options as 25 defined by the KB and KT bits. If the KB bit is set, then the base color is taken from the property table, otherwise the color value is taken from the scanner. If the KT bit is te set, then the amount of transparency is defined by the values D, E and F, otherwise the St transparency value is derived from the luminance component of the incoming scanner ,,data.
30 Referring now to Fig. 39, there is shown the blend calculator 97. The blend calculator 97 implements the blend calculations of Equation 19 and Equation 20 and includes separate blend processor units for processing Red 144, Green 145, Blue 146 and transparency data 147, to produce RGB output pixel data 149 and transparency blend data 150. The current x and y portions are provide( i; counters 151. The input to the counters 151 include pixel clocking information and line clocking information 153 derived from the printing device 4. Although the actual pixel clocking data may differ with different brands of ink jet printers, it is assumed that a i VCLOCK_PULSE signal is activated when the printer requires a new pixel. This (Zedge02) (312014) (CFP0368) [G;\cisra\zedge\zedge02]Speci:doe -23signal in turn will increment the x counter to output the next pixel location. Similarly, each time the printer starts the new line in a current band the line counter is incremented by a VE_SYNC signal from the printing device and the x counter is simultaneously reset to its relevant offset value. Additionally, both the x and y counters are reset when a new page starts, which occurs on a BVESYNC signal from the printer.
Referring now to Fig. 40, there is shown a blend processor 155 (144-146 of Fig. 39) in more detail. The blend processor 155 implements Equation 19 with the x value being multiplied by A, the y value by B with the two values being added together and then added to C. The transparency blend processor 147 of Fig. 39 works in an equivalent manner but for the altered inputs D, E, F. As seen in Fig. 35, the output of the blend calculator 149, 150 is forwarded to the compositor 98. Further, in Fig. 39, the RGB output 149 from blend processor 97 is sequential in its RGB components. The particular color output is controlled by multiplexer 148 whose inputs are the required RGB blends.
Referring now to Fig. 34, there is shown the compositor 98 in more detail.
The inputs to the compositor 98 include the base color 158 from the property table, the RGB values 149 from the blend calculator 97, the KB and KT bits 159, 160 from the property table 95, the transparency factor 150 from the blend calculator 97 in addition to scanner data 20 from the scanner 1. The compositor 98 includes a full mixer 162 and a simple mixer 163. The full mixer 162 is responsible for implementing Equation Ut:. 18, with the transparency amount k(x,y) of Equation 18 being determined by the multiplexer 164, under the control of the KT signal, to be one of the transparency U amount 150 calculated by the blend calculator or the derived luminance component U, f UA 25 from the scanner data 20, derived via luminance calculator 161. The luminance
I
calculator 161 derives and approximation to the luminance value of the scanner data, °.with the standard luminance equation being: Luminance 0.30 R 0.59G 0.11B (EQ 21) Alternatively, as the green component of the scanner data 20 contains almost two-thirds 30 of the luminance of the signal, if necessary, the luminance calculator 161 can be eliminated, with its output being replaced by the green component of the scanner data base color C2(x,y) of Equation 18 is determined by multiplexer 165 under the o.,i:-ol of the KB signal 159, and is selected from the scanner data input 20 or the base color input 158.
The opaqLe color Cl(x,y) of Equation 18 is determined by multiplexer 166 under the control of the Kind field of the opaque level of the current object's property tr (17edref2I (12fl4d (FPnflmf -1 I I W I i INPRIO -24table entry to be one of the calculated blend value 149, scanner data 20 or a recolor register data value 168.
A recolor detection unit 170 thresholds the scanner input data 20 to determine if the pixel input data has a value at one of the extremes of input so as to require replacement by color data stored in the recolor register 171. The output signal 173 from recolor detection unit 170 is used to control multiplexers 175, 176 and to thereby replace the scanner input data 20 with recolor register data 171 when an extreme is detected.
Referring now to Fig. 42, there is shown the full mixer 162 of Fig. 43 in more detail. The full mixer 162 implements Equation 19 with base color input C2(x,y) 180 and opaque color input Cl(x,y) 181. The transparency amount input k(x,y) 182 determines the amount of transparency with opaque detector 184 detecting fully opaque base color data (which for 8 bit capacity data occurs when the opacity value equals 255) and outputting a signal to multiplexer 185 when fully opaque transparency information is detected. Multiplexer 185 chooses between fully opaque data and composited data and outputs the chosen color data to the simple mixer 163 (Fig. 41).
Referring again to Fig. 41, the simple mixer 163, whose structure is the same as the full mixer 162, is provided to allow a user to superimpose, onto the layout, recolored high contrast items put, by a user, on the scanning device 1. This pfovides a final layer that can be placed over a whole layout. The amount of transparency in this final layer is controlled by multiplexer 175 which chooses between a fully transparent input signal 188 and a transparency value determined by recolor register 171.
Finally, the output 189 from the simple mixer 163 is forwarded to the ink jet 'printer 4 for printing.
25 Referring again to Fig. 35, the compositor 98 is required to work at the output speed of the inkjet printing device and as a result, a clock resynchronization unit 137 is provided to synchronise the various control signals from the ink jet printing device with Sthat of the band rendering subsystem. The band rendering subsystem 88 is best implemented as an Application Specific Integrated Circuit (ASIC) in CMOS device S 30 technology utilizing submicron design rules. In such a technology, it is likely that there will be a mismatch between the clock speed of the band rendering subsystem and the ink jet printing device, unless they are both run from the same clock (which is the preferable method of operation). When the band rendering subsystem 88 runs at a higher clock speed than the ink jet printing device (which, in the case of Canon's ink jet printer, has a clock speed of approximately 5.376 MHz) a clock resynchrCtization unit 137 is provided for the orderly synchronization of signals between the ink jet printer 4 and band rendering subsystem 88. The clock t (Zedeof2) (312014) (CFP0368) 0 [G:\cisrazede\zedgeO21Soeci:doc o" M IN Mftol MAN II 'I ft I wj! i F I I i N resynchronization unit 137 consists of a series of input and output first in first out (FIFO) queues to resynchronise input and output data and control signals.
It can be seen from the foregoing description that there is provided a efficient system for the rendering of complex computer based images and their combination with scanned data so as to create versatile and attractive art works which are particularly adapted for printing out on band based ink jet printers.
Referring now to Figs. 43 and 44, an example of the creation of an image 215 is shown. The image 215 is made up of a number of objects 216 to 223, with each of the objects having its own predefined color (or color blend) and transparency (or transparency blend) data. Hence, if object 217 is defined to be partially transparent, then object 220 will appear to be visible through object 217 from the direction of viewing. Similarly, if object 220 is defined to be at least partially transparent, then object 221 shall be visible through object 220.
The objects 218, 219 and 220 can be defined to take either their color or transparency data from an image placed on the scanner 1 (Fig. In accordance with the discussion hereinbefore mentioned with respect to Figs. 36 and 37, the setting of the Kind Field of the opaque level entry (Fig. 36) and the setting of the KB and thile KT bits of the transparency level entry 142 (Fig. 3 ,vill determine the transparency and color nature of the objects 218-220 with each object able to have independent transparency and color components. If the objects 218-220 are considered to occur on 0 the same page, then the preferred embodiment is highly suitable for the creation of "canned" or pre-formatted images having varying portions which can be easily altered by a novice user. For example, the image 215 could be a form of birthday greeting r, wherein the objects 216, 217, 221, 222 and 223 remain static and the objects 218, 219 25 and 220 can be altered by the user with for example the objects 218 and 219 comprising photographs and the object 220 comprising a hand written message.
Referring now to Fig. 44, the objects 218, 220, having data components to be taken from thile scanner 1, can be prepared by means of a "pro-forma" sheet having a space 218 for the placement of a first photograph, a space 219 for the placement of a S 30 second photograph and a space 220 for the insertion of a handwritten message. The image data corresponding to the photograph occupying the space of object 218 could then, for example, be used directly in the final image. The image data from the 4 photograph corresponding to object 219 could, for example, be used to modulate the transparency of object 219 with the transparency tending towards a predetermined color. Finally, the hand written message data corresponding to object 220 could be subjected to detection of text by means of detecting black incoming pixels on an otherwise white background. The detected text could be replaced with an arbitrary blend of colors creating an appealing affect.
(Zcdge2) (312014) (CFP0368) [G:\cisra\zedgezedge02JSpeci:do 1 II. -LI Ydllllha*~ll~ -26- The overall final image can be quickly produced merely through the selection of the objects 216-223 and the placing on the scanner a sheet having the information as required by the pro forma sheet 224.
The foregoing only describes one embodiment of the present invention.
Modifications, obvious to those skilled in the art, can be made thereto without departing from the scope of the invention.
II
t U1 1 Ci (Zedge2) (312014) (CFP0168) [G :\cisa\zedge\zedgeO2]Spci :doc
Claims (9)
- 2. A method of composing images as claimed in claim 1, wherein each of said multiplicity of objects has associated level data having a numerical component and said objects can overlap in position with a higher level object forming part of a final image in V' 4 15 preference to a lower level object. 4 4 43. A method of composing images as claimed in claim 2, wherein each of said objects has associated transparency data and where the object with the higher level data of said overlapping objects exhibits a transparency of a degree dependent on said 20 associated transparency data.
- 4. A method of composing images as claimed in claim 3, wherein said transparency data includes a blend of the degree of transparency.
- 5. A method of composing images as claimed in claim 3 or 4, wherein said associated transparency data is derived from said scanned image data.
- 6. A method of composing images as claimed in any one of the preceding claims, wherein said color data of at least one of said multiplicity of said objects in which color data has been assigned to be said corresponding pixel data of said scanned image data, is assigned to at least one of the colors of said scanned image data to render a second color.
- 7. A method of composing images as claimed in claim 6, wherein said second color is a blend of colors whose actual color value is dependent on the position of said pixel within said scanned image data.
- 8. A method of composing images as claimed in claim 7, wherein said color ata includes a color blend in any direction. (O.zodgelzedgeO21auclaimsmdoc 1 "Rlm -28-
- 9. An apparatus for producing an image made up of pixels, said apparatus comprising: scanning means for inputting scanned data, storage means for storing outlines of objects and associated object color data, at least one of said objects having associated object color data defined to be a component of corresponding said input scanned data, and band rendering means, connected to said storage means and said scanning means, for forming an object band intersection list and using said list to render said objects utilising said associated object color data. An apparatus as claimed in claim 9, wherein said rendering means further comprises transparency determination means for determining the transparency of said at least one of said objects from said scanned data.
- 11. An apparatus as claimed in claim 9 or 10, wherein said rendering means further comprises detection means for detecting scanned data of a first predetermined number of colors and replacing said colors with a second predetermined number of colors. wi: 12. A method of producing an image, substantially as hereinbefore described with reference to the accompanying drawings.
- 13. Apparatus for producing an image substantially as described herein with 25 reference to the drawings. DATED this Thirteenth Day of July 1998 Canon Kabushiki Kaisha Canon Information Systems Research Australia Pty Ltd Patent Attorneys for the Applicant SPRUSON FERGUSON (312014) (Zedga02) (CFP0368AU) o:zedge\zedgea02ouclaimsdoc i IIYC..' l- 1(~JI~ sii~" ABSTRACT Utilisation Of Scanned Images In An Image Compositing System 6 Method and apparatus for producing an image made up of pixels is disclosed. The apparatus i one broad configuration comprises a scanning means for inputting scanned data, storage means connected to the scanning means for storing outlines of objects and associated object color data, at least one of the objects having associated object color data defined to be a component of corresponding the input scanned data, and rendering means, connected to the storage means and the scanning means, for rendering the objects utilising the associated object color data. i ft S o 4 It i S It itJ I #9 *9 I i *4 9 4 c ii i." ttl tf 4 69 99t s 49 9 S I" 4 li (Zedge02) (312014) (CFP0368) (G:\cisrrAzedge\zedge02Speci:doc
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
AU30583/95A AU697314B2 (en) | 1994-09-16 | 1995-09-11 | Utilisation of scanned images in an image compositing system |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
AUPM8221 | 1994-09-16 | ||
AUPM8221A AUPM822194A0 (en) | 1994-09-16 | 1994-09-16 | Utilisation of scanned images in an image compositing system |
AU30583/95A AU697314B2 (en) | 1994-09-16 | 1995-09-11 | Utilisation of scanned images in an image compositing system |
Publications (2)
Publication Number | Publication Date |
---|---|
AU3058395A AU3058395A (en) | 1996-03-28 |
AU697314B2 true AU697314B2 (en) | 1998-10-01 |
Family
ID=25621490
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
AU30583/95A Ceased AU697314B2 (en) | 1994-09-16 | 1995-09-11 | Utilisation of scanned images in an image compositing system |
Country Status (1)
Country | Link |
---|---|
AU (1) | AU697314B2 (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0497344A2 (en) * | 1991-01-30 | 1992-08-05 | Dainippon Screen Mfg. Co., Ltd. | Image layout processing method and apparatus |
-
1995
- 1995-09-11 AU AU30583/95A patent/AU697314B2/en not_active Ceased
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0497344A2 (en) * | 1991-01-30 | 1992-08-05 | Dainippon Screen Mfg. Co., Ltd. | Image layout processing method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
AU3058395A (en) | 1996-03-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5841898A (en) | Utilization of scanned images in an image compositing system | |
EP0702328B1 (en) | Object based rendering system and method | |
JP3919754B2 (en) | A method for reducing the number of compositing operations performed in a sequential pixel drawing system | |
US7012620B1 (en) | Full-color desktop publishing system | |
JP4365950B2 (en) | Graphic object processing method and apparatus for high-speed raster format rendering | |
CA2279353C (en) | A method and apparatus for performing chroma key, transparency and fog operations | |
JP3844791B2 (en) | A method for adjusting the density of digital images. | |
JP4343344B2 (en) | A high-speed image rendering method using raster graphic objects | |
US20050162441A1 (en) | Method and system for dynamically allocating a frame buffer for efficient anti-aliasing | |
JP3571735B2 (en) | Display graphic system for color laser copy machine | |
US20050200867A1 (en) | Compositing list caching for a raster image processor | |
US7663642B2 (en) | Systems and methods for rendering a polygon in an image to be displayed | |
WO2007070293A1 (en) | Transparency printing | |
AU697314B2 (en) | Utilisation of scanned images in an image compositing system | |
JP4143613B2 (en) | Drawing method and drawing apparatus | |
AU699532B2 (en) | Object based rendering system | |
AU744091B2 (en) | Processing graphic objects for fast rasterised rendering | |
US5971633A (en) | Method and device for printing objects on a medium using square sub-bands | |
AU2005201932A1 (en) | Parametric patch colour blend rendering | |
AU2005201933A1 (en) | Method of rendering self-overlapping colour blend patches | |
Coueignoux | Character generation and display | |
AU2005200948A1 (en) | Compositing list caching for a raster image processor | |
JPH03216361A (en) | Printer | |
AU2008240345A1 (en) | Automatic repeating FIFO | |
AU2003220748A1 (en) | Scan-based Rendering of Abutting Graphical Objects |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PC | Assignment registered |
Owner name: CANON KABUSHIKI KAISHA Free format text: FORMER OWNER WAS: CANON KABUSHIKI KAISHA, CANON INFORMATION SYSTEMS RESEARCH AUSTRALIA PTY LTD |