AU2003248032B2 - Apparatus for Printing Using Non-overlapping Graphic Objects - Google Patents
Apparatus for Printing Using Non-overlapping Graphic Objects Download PDFInfo
- Publication number
- AU2003248032B2 AU2003248032B2 AU2003248032A AU2003248032A AU2003248032B2 AU 2003248032 B2 AU2003248032 B2 AU 2003248032B2 AU 2003248032 A AU2003248032 A AU 2003248032A AU 2003248032 A AU2003248032 A AU 2003248032A AU 2003248032 B2 AU2003248032 B2 AU 2003248032B2
- Authority
- AU
- Australia
- Prior art keywords
- graphic
- graphic object
- edge
- visible
- lagging
- 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
- 238000007639 printing Methods 0.000 title claims description 40
- 238000000034 method Methods 0.000 claims description 90
- 239000010410 layer Substances 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 12
- 239000002356 single layer Substances 0.000 claims description 12
- 235000008733 Citrus aurantifolia Nutrition 0.000 claims 1
- 235000011941 Tilia x europaea Nutrition 0.000 claims 1
- 239000004571 lime Substances 0.000 claims 1
- 230000008569 process Effects 0.000 description 49
- 238000013459 approach Methods 0.000 description 30
- 238000012545 processing Methods 0.000 description 17
- 238000009877 rendering Methods 0.000 description 15
- 238000012360 testing method Methods 0.000 description 14
- 229910003460 diamond Inorganic materials 0.000 description 13
- 239000010432 diamond Substances 0.000 description 13
- 238000010586 diagram Methods 0.000 description 11
- 230000015654 memory Effects 0.000 description 11
- 238000004891 communication Methods 0.000 description 10
- 230000005540 biological transmission Effects 0.000 description 9
- 239000012634 fragment Substances 0.000 description 7
- 238000003860 storage Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- 239000000463 material Substances 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 239000003086 colorant Substances 0.000 description 2
- 230000009977 dual effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000000638 solvent extraction Methods 0.000 description 2
- 241000115929 Anabolia appendix Species 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 238000010017 direct printing Methods 0.000 description 1
- 230000008030 elimination Effects 0.000 description 1
- 238000003379 elimination reaction Methods 0.000 description 1
- 238000010348 incorporation Methods 0.000 description 1
- 238000012432 intermediate storage Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012552 review Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 238000000844 transformation Methods 0.000 description 1
- 239000013598 vector Substances 0.000 description 1
Landscapes
- Record Information Processing For Printing (AREA)
Description
S&F Ref: 645852
AUSTRALIA
PATENTS ACT 1990 COMPLETE SPECIFICATION FOR A STANDARD PATENT Name and Address of Applicant: Actual Inventor(s): Address for Service: Invention Title: Canon Kabushiki Kaisha 30-2, Shimomaruko 3-chome, Ohta-ku Tokyo 146 Japan Alexander Vincent Danilo Spruson Ferguson St Martins Tower Level 31 Market Street Sydney NSW 2000 (CCN 3710000177) Apparatus for Printing Using Non-overlapping Graphic Objects ASSOCIATED PROVISIONAL APPLICATION DETAILS [33] Country [31] Applic. No(s) AU 2002951651 [32] Application Date 25 Sep 2002 The following statement is a full description of this invention, including the best method of performing it known to me/us:- 5815c -1- APPARATUS FOR PRINTING USING NON-OVERLAPPING GRAPHIC OBJECTS Copyright Notice This patent specification contains material that is subject to copyright protection.
The copyright owner has no objection to the reproduction of this patent specification or related materials from associated patent office files for the purposes of review, but otherwise reserves all copyright whatsoever.
Technical Field of the Invention The present invention relates generally to computer-based printing systems and, in particular, to inexpensive printing systems for high speed printing.
Background Art Fig. 1 shows a functional block diagram for a system 100 for Personal Computer (PC) based printing. A host machine 102 having a printing pre-processor 104 communicates over a connection 106 with a communication bus 114. A printer 108 having an embedded printing processor 110 communicates over a connection 112 with the communication bus 114.
Fig. 2 shows a flow diagram of a generic process 300 by which the system of Fig. 1 performs printing. A first step 302 parses input data in Page Description Language (PDL) after which a step 306 generates object representations therefrom. A subsequent step 310 scanline-processes the objects after which a step 314 renders the scanline processed data to sequential pixels, for printing by a final print step 318. The steps 302 to 310 are typically implemented, as indicated by an arrow 322, in the host machine 102 by the printing pre-processor 104, whereas the steps 314 to 318 are generally performed in the printer 108 by the printing processor 110 and a print engine 222 (see Fig. 3).
100903 645852.doc 100903 645852.doc -2- In the printer system 100, the communication bus 114 typically uses low-speed serial protocols such as the universal serial bus (USB), or alternately uses parallel protocols such as IEEE 1284.
In low cost printers the printing processor 110 needs to be a low cost device in order to keep the cost of the printer 108 to a minimum. The consequent hardware limitations of the processor 110 lead to an approach where a pre-rendered bitmap is generated in the host machine pre-processor 104 in the step 310. This is referred to as the bitmap approach. The pre-rendered bitmap is then sent to the processor 110 in the printer 108 for rendering to sequential pixels in the step 314. An exemplary pre-rendered compressed bitmap for an A4 6-ink bubble jet page consumes typically 35 to megabytes of data, which requires 40 to 50 seconds of transmission using the USB protocol. This is a significant delay, however users of inexpensive printers are generally satisfied with the cost/speed trade off.
In more expensive printers, the burden of computation can be shifted from the host-processor 104 to the printer processor 110, allowing elimination of the data transmission bottleneck over the bus 114, and thereby speeding up printing of the print job. This is achieved by sending the page data over the bus 114 using a more efficient data representation. In one such arrangement, the scanline-processing step 310 generates a "display list" representation of the data to be printed, this representation consuming less data than the pre-rendered bit-map representation. This is referred to as the display list approach. The display list approach requires the rendering step 314 to render the display list to a bitmap for printing in the print step 318. In some cases, the display list may be interpreted to provide pixels for direct printing without writing pixels to a bitmap.
Display lists represent graphic objects by edges, which may be straight line vectors, quadratic line segments etc. These edges are stored in the display list (also 100903 645852.doc -3referred to as an edge list) by edge records that may include, for example, the following four elements: a current scan line intersection co-ordinate (referred to as the X coordinate), (ii) a count (referred to herein as NY) of how many scan lines a current segment of this edge will last for (in some embodiments this may be represented as a Y limit), (iii) a value to be added to the X co-ordinate of this edge record after each scan line (referred to here as the DX), and (iv) a direction (DIR) flag which indicates whether the edge crosses scan lines in an upward or a downward manner.
Display list techniques use the known order of rendering (as determined by the pixel position X of an edge on a particular scanline Y) to determine on a pixel by pixel basis how an object should finally be painted onto the bitmap for printing. In the exemplary case considered here, objects being printed are opaque. In this case, if a number of graphic objects overlap, the object which is painted last will be fully visible, while objects painted earlier will be obscured. This mode of operation is commonly referred to as the "painter's algorithm" since all objects are painted but only the topmost object is finally made visible. If many coincident objects exist on a page, an individual pixel may thus be re-written a number of times to the bit memory, repetitively consuming memory bandwidth and processing cycle time, and generating data which is ultimately discarded.
In a variation of the display list approach, display list data is stored for all objects on a page, however each object is tagged with a layer number, thus enabling the relative viewing position of the object, with reference to other objects on the page, to be determined. This technique, referred to as the display list variation approach, is 100903 645852.doc implemented by adding an additional (fifth) element to the edge record in the display list as follows: one or more priority numbers (which represent the layer position of the object whose edge is being considered relative to the layer position of other page objects).
In this case, during rendering by the step 314, the printing processor 110 scans horizontally across a page evaluating, at each pixel position, which object is on top before outputting a pixel value for the pixel position. The rendering step 314 dynamically generates the pixel by examining all active objects at the particular pixel position, and writing only the pixel for the object that is topmost on the page. Accordingly, the output pixel at each pixel position is only output once.
In order to perform both the display list approach, and the display list variation approach, a list of active edges must be maintained by the printing processor 110 for objects on a per-scan line basis. Only those objects having an edge that falls on the scanline being considered are examined when deciding on the object to be painted at a particular pixel position.
In summary, the conventional bitmap approach places a high processing burden on the host processor 104, thereby reducing the processing burden on the printer processor 110 and enabling manufacture of relatively inexpensive printers as a result.
The bitmap approach typically suffers, however, from a transmission bottleneck due to the limited bandwidth available in the communication bus 114 and consequently from poor printing throughput. The display list approaches place a significantly greater burden of computation on the printing processor 110, raising the cost of the printer, but generally providing better performance in printing throughput.
100903 645852.doc 100903 645 852.doc Summary of the Invention It is an object of the present invention to substantially overcome, or at least ameliorate, one or more disadvantages of existing arrangements.
Disclosed are arrangements which seek to address the above problems by generating at a host, from an image to be printed, a visually equivalent image comprising non-overlapping graphic objects. This visually equivalent image can be scan-line rendered at a printer communicating with the host, without the need to perform overlap detection at the printer, thereby reducing the processing burden at the printer.
According to a first aspect of the invention, there is provided a method of printing an image, the method comprising the steps of: generating at a host, from an image to be printed, a display list representation of a visually equivalent image comprising non-overlapping graphic objects; and scan-line rendering, using the display list representation, the visually equivalent image at a printer communicating with the host, without performing overlap detection at the printer.
According to another aspect of the invention, there is provided a method of converting a representation of first image, having a first set of overlapping graphic objects, into a display list representation of a visually equivalent second image, having a second set of non overlapping graphic objects, said method comprising the steps of: categorising each graphic object in the first set as being one of a fully visible graphic object, (ii) a partly visible graphic object, and (iii) an invisible graphic object; defining, in relation to each said fully visible graphic object in said first set, a substantially identical graphic object in the second set; and 100903 645852.doc -6defining, in relation to visible regions of each said partly visible graphic object in said first set, one or more graphic objects being visually equivalent to the partly visible graphic object, in the second set.
According to another aspect of the invention, there is provided a method of converting a representation of a first image, having a first set of graphic objects spanning a plurality of layers, into a display list representation of a visually equivalent second image, having a second set of graphic objects on a single layer, said method comprising the steps of: categorising each graphic object in the first set as being one of a fully visible graphic object, (ii) a partly visible graphic object, and (iii) an invisible graphic object; defining, in relation to each said fully visible graphic object in said first set, a substantially identical graphic object in the second set; and defining, in relation to visible regions of each said partly visible graphic object in said first set, one or more graphic objects being visually equivalent to the partly visible graphic object, in the second set.
According to another aspect of the invention, there is provided a method of converting, on a scanline basis, a representation of a first image having a first set of overlapping graphic objects, into a display list representation of a visually equivalent second image having a second set of non overlapping graphic objects, said method comprising, for a current scanline, the steps of: determining, in a current scanning direction, a leading and a lagging edge of a visible region of a first one of said graphic objects in said first set; defining said lagging edge to be a leading edge of a next one of said graphic objects if said first graphic object extends beyond said lagging edge in the current 100903 645852.doc 100903 645852.doc -7scanning direction and (ii) said next graphic object is visible immediately beyond the lagging edge in said current scanning direction; defining said lagging edge to be a leading edge of a next one of said graphic objects if said next graphic object extends beyond said lagging edge in a direction opposite to the current scanning direction, and (ii) said next graphic object is visible immediately beyond the lagging edge in said current scanning direction; and: repeating steps to for all successive pairs of leading and lagging edges on the scanline; wherein said pairs of leading and lagging edges establish the second set of visually equivalent graphic objects for said current scanline.
According to another aspect of the invention, there is provided a method of converting, on a scanline basis, a representation of a first image having a first set of graphic objects spanning a plurality of layers, into a display list representation of a visually equivalent second image having a second set of graphic objects on a single layer, said method comprising, for a current scanline, the steps of: determining, in a current scanning direction, a leading and a lagging edge of a visible region of a first one of said graphic objects in said first set; defining said lagging edge to be a leading edge of a next one of said graphic objects if said first graphic object extends beyond said lagging edge in the current scanning direction and (ii) said next graphic object is visible immediately beyond the lagging edge in said current scanning direction; defining said lagging edge to be a leading edge of a next one of said graphic objects if said next graphic object extends beyond said lagging edge in a direction opposite to the current scanning direction, and (ii) said next graphic object is visible immediately beyond the lagging edge in said current scanning direction; and: 100903 645852.doc 100903 645852.doc -8repeating steps to for all successive pairs of leading and lagging edges on the scanline; wherein said pairs of leading and lagging edges establish the second set of visually equivalent graphic objects for said current scanline.
According to another aspect of the invention, there is provided an apparatus for printing an image, the apparatus comprising: means for generating at a host, from an image to be printed, a display list representation of a visually equivalent image comprising non-overlapping graphic objects; and means for scan-line rendering, using the display list representation, the visually equivalent image at a printer communicating with the host, without performing overlap detection at the printer.
According to another aspect of the invention, there is provided an apparatus for converting a representation of first image, having a first set of overlapping graphic objects, into a display list representation of a visually equivalent second image, having a second set of non overlapping graphic objects, said apparatus comprising: means for categorising each graphic object in the first set as being one of a fully visible graphic object, (ii) a partly visible graphic object, and (iii) an invisible graphic object; means for defining, in relation to each said fully visible graphic object in said first set, a substantially identical graphic object in the second set; and means for defining, in relation to visible regions of each said partly visible graphic object in said first set, one or more graphic objects being visually equivalent to the partly visible graphic object, in the second set.
According to another aspect of the invention, there is provided an apparatus for converting a representation of a first image, having a first set of graphic objects spanning a plurality of layers, into a display list representation of a visually equivalent second 100903 645852.doc 100903 645852.doc -9image, having a second set of graphic objects on a single layer, said apparatus comprising: means for categorising each graphic object in the first set as being one of a fully visible graphic object, (ii) a partly visible graphic object, and (iii) an invisible graphic object; means for defining, in relation to each said fully visible graphic object in said first set, a substantially identical graphic object in the second set; and means for defining, in relation to visible regions of each said partly visible graphic object in said first set, one or more graphic objects being visually equivalent to the partly visible graphic object, in the second set.
According to another aspect of the invention, there is provided an apparatus for converting, on a scanline basis, a representation of a first image having a first set of overlapping graphic objects, into a display list representation of a visually equivalent second image having a second set of non overlapping graphic objects, said apparatus comprising: means for determining, in a current scanning direction, a leading and a lagging edge of a visible region of a first one of said graphic objects in said first set; means for defining said lagging edge to be a leading edge of a next one of said graphic objects if(i) said first graphic object extends beyond said lagging edge in the current scanning direction and (ii) said next graphic object is visible immediately beyond the lagging edge in said current scanning direction; means for defining said lagging edge to be a leading edge of a next one of said graphic objects if said next graphic object extends beyond said lagging edge in a direction opposite to the current scanning direction, and (ii) said next graphic object is visible immediately beyond the lagging edge in said current scanning direction; and: 100903 645852.doc means for repeating steps to for all successive pairs of leading and lagging edges on the scanline; wherein said pairs of leading and lagging edges establish the second set of visually equivalent graphic objects for said current scanline.
According to another aspect of the invention, there is provided an apparatus for converting, on a scanline basis, a representation of a first image having a first set of graphic objects spanning a plurality of layers, into a display list representation of a visually equivalent second image having a second set of graphic objects on a single layer, said apparatus comprising: means for determining, in a current scanning direction, a leading and a lagging edge of a visible region of a first one of said graphic objects in said first set; means for defining said lagging edge to be a leading edge of a next one of said graphic objects if said first graphic object extends beyond said lagging edge in the current scanning direction and (ii) said next graphic object is visible immediately beyond the lagging edge in said current scanning direction; means for defining said lagging edge to be a leading edge of a next one of said graphic objects if said next graphic object extends beyond said lagging edge in a direction opposite to the current scanning direction, and (ii) said next graphic object is visible immediately beyond the lagging edge in said current scanning direction; and: means for repeating steps to for all successive pairs of leading and lagging edges on the scanline; wherein said pairs of leading and lagging edges establish the second set of visually equivalent graphic objects for said current scanline.
According to another aspect of the invention, there is provided a computer program for directing a processor to execute a method of converting a representation of first image, having a first set of overlapping graphic objects, into a display list representation of a visually equivalent second image, having a second set of non overlapping graphic objects, said program comprising: 100903 645852.doc 100903 645852.doc -11code for categorising each graphic object in the first set as being one of a fully visible graphic object, (ii) a partly visible graphic object, and (iii) an invisible graphic object; code for defining, in relation to each said fully visible graphic object in said first set, a substantially identical graphic object in the second set; and code for defining, in relation to visible regions of each said partly visible graphic object in said first set, one or more graphic objects being visually equivalent to the partly visible graphic object, in the second set.
According to another aspect of the invention, there is provided a computer program for directing a processor to execute a method of converting a representation of a first image, having a first set of graphic objects spanning a plurality of layers, into a display list representation of a visually equivalent second image, having a second set of graphic objects on a single layer, said program comprising: code for categorising each graphic object in the first set as being one of a fully visible graphic object, (ii) a partly visible graphic object, and (iii) an invisible graphic object; code for defining, in relation to each said fully visible graphic object in said first set, a substantially identical graphic object in the second set; and code for defining, in relation to visible regions of each said partly visible graphic object in said first set, one or more graphic objects being visually equivalent to the partly visible graphic object, in the second set.
According to another aspect of the invention, there is provided a computer program for directing a processor to execute a method of converting, on a scanline basis, a representation of a first image having a first set of overlapping graphic objects, into a display list representation of a visually equivalent second image having a second set of 100903 645852.doc -12non overlapping graphic objects, said program comprising, in relation to a current scanline: code for determining, in a current scanning direction, a leading and a lagging edge of a visible region of a first one of said graphic objects in said first set; code for defining said lagging edge to be a leading edge of a next one of said graphic objects if said first graphic object extends beyond said lagging edge in the current scanning direction and (ii) said next graphic object is visible immediately beyond the lagging edge in said current scanning direction; code for defining said lagging edge to be a leading edge of a next one of said graphic objects if said next graphic object extends beyond said lagging edge in a direction opposite to the current scanning direction, and (ii) said next graphic object is visible immediately beyond the lagging edge in said current scanning direction; and: code for repeating steps to for all successive pairs of leading and lagging edges on the scanline; wherein said pairs of leading and lagging edges establish the second set of visually equivalent graphic objects for said current scanline.
According to another aspect of the invention, there is provided a computer program for directing a processor to execute a method of converting, on a scanline basis, a representation of a first image having a first set of graphic objects spanning a plurality of layers, into a display list representation of a visually equivalent second image having a second set of graphic objects on a single layer, said program comprising, in relation to a current scanline: code for determining, in a current scanning direction, a leading and a lagging edge of a visible region of a first one of said graphic objects in said first set; code for defining said lagging edge to be a leading edge of a next one of said graphic objects if said first graphic object extends beyond said lagging edge in the 100903 645852.doc 100903 645852.doc -13current scanning direction and (ii) said next graphic object is visible immediately beyond the lagging edge in said current scanning direction; code for defining said lagging edge to be a leading edge of a next one of said graphic objects if said next graphic object extends beyond said lagging edge in a direction opposite to the current scanning direction, and (ii) said next graphic object is visible immediately beyond the lagging edge in said current scanning direction; and: code for repeating steps to for all successive pairs of leading and lagging edges on the scanline; wherein said pairs of leading and lagging edges establish the second set of visually equivalent graphic objects for said current scanline.
Other aspects of the invention are also disclosed.
Brief Description of the Drawings One or more embodiments of the present invention will now be described with reference to the drawings, in which: Fig. 1 shows a functional block diagram for a PC based printing system; Fig. 2 shows a printing process flow diagram used in the system of Fig. 1; Fig. 3 shows a general purpose computer system upon which disclosed arrangements can be practiced; Fig. 4 illustrates overlapping graphic objects; Fig. 5 shows equivalent non-overlapping graphic objects; Fig. 6 depicts active edge lists for conventional and non-intersecting object arrangements; Fig. 7 depicts a process for converting overlapping graphic objects into equivalent non-overlapping graphic objects.
Fig. 8 depicts a dataflow diagram for production, updating and use of edge lists; Figs. 9 and 10 show process flow diagram fragments for producing nonoverlapping graphic objects in the PCP host processor; 100903 645852.doc 100903 645852.doc -14- Fig. 11 shows a process flow diagram for rendering the non-overlapping object representation received from the PCP to sequential pixels in the printer ERP processor; Detailed Description including Best Mode Where reference is made in any one or more of the accompanying drawings to steps and/or features, which have the same reference numerals, those steps and/or features have for the purposes of this description the same function(s) or operation(s), unless the contrary intention appears.
The present description discloses a new rendering architecture in which the scanline processing step 310, which is performed by the host processor 104, generates a simplified graphic object display list representation which is transmitted over the communication bus 114 to the printer processor 110. The simplified object representation, which is based upon converting the object representation generated by the step 306 into an equivalent non-overlapping and non-self-intersecting object representation, is suitable for rendering by a relatively inexpensive printing processor 110 in the step 314. The disclosed approach requires transmission of less data over the communication bus 114 than required by the bitmap approach, and does not require the printer processor 110 to be as powerful as is dictated by the display list approaches previously described. Using the new architecture, printers can provide significantly greater printing throughput than conventional bitmap approaches, at a lower cost than that of conventional display list arrangements. The disclosed new architecture refers to the host processor 104 as the PC pre-processor (PCP), while the printer processor 110 in the printer 108 is referred to as the Embedded Rendering Processor (ERP).
The disclosed new architecture provides significant advantages over the conventional display list approach which generates a "complete" display list in the host processor 104, and sends this complete display list to the printer. In the conventional display list approaches the printer processor 110 must consider, at a given pixel X 100903 645852.doc position on a particular scanline Y, all edges of all active objects when deciding upon a value for the pixel. Since at X, an arbitrary number of objects may be active, the computation required by the printer processor 110 in the conventional display list approaches increases linearly for each additional object present on the printed page. The designer of conventional display list printers must therefore select a printer processor 110 that can perform adequately under this potential processing burden. The new architecture significantly reduces the burden on the printer processor 110 which need only consider a "flat" object representation which is equivalent to the print data in the job to be printed, but which is represented as an equivalent non-overlapping and non-self-intersecting object representation. The new architecture distributes rendering of a print job between the powerful host 102 and a "weak" slave 108 utilising an efficient compact representation between the two.
Fig. 3 shows how the new printing architecture is preferably practiced using a general-purpose computer system 200. The system 200 includes the host 102, the host processor (PCP) 104, the printer 108, and the print processor (ERP) 110, as shown in Fig. 3. The processes of Figs. 2, and 7-11 may be implemented as software, such as an application program executing within the computer system 200. In particular, the printing method steps are effected by instructions in the software that are carried out by the system. The instructions may be formed as one or more code modules, each for performing one or more particular tasks. The software may also be divided functionally into two code parts, in which a first code part performs the printing method steps and a second part manages a user interface between the first part and the user. The software can also be divided into two physical parts, one part stored and processed in the host 102, and one part stored and processed in the printer 108. The physical partitioning of the software can be carried out largely independently of the functional partitioning. The software may be stored in a computer readable medium, including the storage devices described below, 100903 645852.doc -16for example. The software is loaded into the system from the computer readable medium, and then executed by the system 200. A computer readable medium having such software or computer program recorded on it is a computer program product. The use of the computer program product in the system 200 preferably effects an advantageous apparatus for implementing the new printing architecture.
The computer system200 comprises the host computer module 102, input devices such as a keyboard 202 and mouse 203, output devices including the printer 108, (which includes the ERP 110, a memory 226 and a printer engine 222), and a display device 214. The printer 108 is connected to the host computer 102 by the communication bus 114. A Modulator-Demodulator (Modem) transceiver device 216 is used by the host computer module 102 for communicating to and from a communications network 220, for example connectable via a telephone line 221 or other functional medium. The modem 216 can be used to obtain access to the Internet, and other network systems, such as a Local Area Network (LAN) or a Wide Area Network (WAN).
The host computer module 102 typically includes at least one processor unit being the PCP 104, a memory unit 206, for example formed from semiconductor random access memory (RAM) and read only memory (ROM), input/output (I/O) interfaces including a video interface 207, and an I/O interface 213 for the keyboard 202 and mouse 203 and optionally a joystick (not illustrated), and an interface 208 for the modem 216. A storage device209 is provided and typically includes a hard disk drive 210 and a floppy disk drive 211. A magnetic tape drive (not illustrated) may also be used. A CD-ROM drive 212 is typically provided as a non-volatile source of data. The components 104 and 206 to 213 of the host computer module 102, typically communicate via an interconnected bus 204 and in a manner that results in a conventional mode of operation of the host computer system 102 known to those in the relevant art. Examples 100903 645852.doc 100903 645852.doc -17of computers on which the described arrangements can be practised include IBM-PC's and compatibles, Sun Sparcstations or alike computer systems evolved therefrom.
Typically, the application program is physically resident on the host hard disk drive 210 and read and controlled in its execution by the PCP 104, and (ii) in the printer memory 226 and read and controlled in its execution by the ERP 110. Intermediate storage of the program and any data fetched from the network 220 may be accomplished using the semiconductor memory 206, possibly in concert with the hard disk drive 210 and the printer memory 226. In some instances, the application program may be supplied to the user encoded on a CD-ROM or floppy disk and read via the corresponding drive 212 or 211, or alternatively may be read by the user from the network 220 via the modem device 216. Still further, the software can also be loaded into the computer system 200 from other computer readable media. The term "computer readable medium" as used herein refers to any storage or transmission medium that participates in providing instructions and/or data to the computer system 200 for execution and/or processing.
Examples of storage media include floppy disks, magnetic tape, CD-ROM, a hard disk drive, a ROM or integrated circuit, a magneto-optical disk, or a computer readable card such as a PCMCIA card and the like, whether or not such devices are internal or external of the host computer module 102. Examples of transmission media include radio or infrared transmission channels as well as a network connection to another computer or networked device, and the Internet or Intranets including email transmissions and information recorded on websites and the like.
The new printing architecture may alternatively be implemented in dedicated hardware such as one or more integrated circuits performing the functions or sub functions of printing in accordance with the new architecture. Such dedicated hardware may include graphic processors, digital signal processors, or one or more microprocessors and associated memories.
100903 645852.doc 100903 645852.doc -18- The PCP 104 produces, in the step 310, a display list representation of the objects to be painted onto the page. The display list representation provided by the PCP relates however, in contrast to the complete display list provided by conventional display list printers, to a set of printably equivalent non-overlapping objects which may be painted onto the output page without any regard for overlap. Figs. 4 and 5 illustrate the equivalence between conventional and flat object representations.
Fig. 4 shows two diamond shapes 614 and 616 positioned with reference to a pair of mutually perpendicular axes 618 and 620. The diamond shape 614 overlaps the diamond shape 616 as depicted by dashed line segments 610 and 612.
Fig. 5 shows equivalent diamond shapes 614' and 616' where the overlapped line segments 610 and 612 have been expunged from the representation. Fig. 5 shows how the edge 604 of the diamond shape 614 (see Fig. 4) has been preserved, as depicted by the reference numeral 604'. However, a "new" edge 1106 has been generated to account for the intersection between the diamond shape 614 and the diamond shape 616 along the edge 604. Similarly, a new edge 1108 has been generated to account for the intersection between the diamond shape 614 and the diamond shape 616 along the edge 622.
Fig. 5 depicts an arrangement wherein the additional edges 1106 and 1108 have been generated in order to account for the intersection between the diamond shapes 614 and 616 along the edges 604 and 622 respectively. Alternately, the edge segments 1110 and 1112 can serve the dual purpose of acting both as edges of the diamond shape 614', and (ii) as edges of the diamond shape 616'. It is, in fact, this latter approach which is described in more detail in regard to Figs. 9 to 11. Although only two exemplary approaches have been described in order to represent overlapping objects in terms of equivalent non-overlapping objects, other approaches that achieve the same conversion from overlapping to non-overlapping equivalent representations may also be used.
100903 645852.doc -19- The new disclosed printing architecture generates the equivalent nonoverlapping representation of objects in the PCP 104 in the method step 310, and this non-overlapping representation is passed to the ERP 110 over the communication bus 114, for further processing by the ERP 110 in the step 314. The non-overlapping object representation can be rendered by the ERP 110 using significantly less computational power than would be required in the conventional display list approach, since the ERP requires, at most, to process an individual object at each pixel position. The nonoverlapping object representation replaces a plurality of objects at each pixel location with a single object, thereby limiting the processing to a known maximum processing burden per pixel. Accordingly, the worst case computational burden can be calculated in advance, and used to select a particular processor device for the ERP 110 in the particular printer 108 to be manufactured.
In broad terms, processing by the PCP 104 involves tracking the edges of graphic objects falling on a particular scanline Y. At the decision stage for determining a pixel value output for a given pixel position X, the PCP outputs either the edge of an existing object from the print job, or a new synthesised edge. New synthesised edges are generated at the edge intersection between overlapping objects, as has been described with reference to Figs. 4 and 5. If the approach exemplified in Fig. 5 is adopted, then a new edge is generated, as exemplified by the edge segments 1106 and 1108, for example.
If, on the other hand, the approach is adopted wherein the edge segment 1110 acts as both the edge segment for the object 614' as well as the edge segment for the object 616', then the new synthesized edge is actually represented by an indicator tagged to the edge segment 1110 indicating that the edge segment serves a dual purpose.
Whether the original print job contains overlapping objects, and/or self intersecting objects, the PCP 104 generates multiple non-intersecting objects which represent, equivalently, the overlapping and/or self-intersecting objects. This approach 100903 645852.doc 100903 645852.doc has the remarkable effect of providing the ERP 110 with a print job comprising a plurality of non-overlapping/non-self intersecting objects, thereby significantly reducing the processing burden on the ERP 110, and defining a maximum processing burden envelope for the ERP 110.
The fact that all ERP objects are non-overlapping and non-self intersecting implies that the order of objects in an ERP job (as represented by an edge list) is fixed in first position, and then in scanline order. No re-order of edges in the edge list is required, in contrast to conventional display list approaches, in which edge list reordering is required when multiple overlapping and/or intersecting edges are being considered.
The disclosed printing architecture makes use of a number of edge lists which will be described in more detail with reference to Figs. 8-11. As introductory background, however, it is noted that an "input" or PCP edge list is used to represent the object representations in the original print job. An "active" edge list tracks edges for a current scan line, and an "output" or ERP edge list is that edge list that is sent from the host 102 over the bus 114 to the printer 108 for processing by the printer ERP 112 and subsequent printing.
Fig. 6 illustrates contents of active edge lists, for both conventional display list arrangements and the disclosed non-intersecting object edge list approach, for scanlines 39 to 41 of Figs. 4 and 5. The edges 602', 604', 606' and 608' are depicted as they intersect scanlines 41 to 39 at the top of Fig. 6. An active edge list 912 for the conventional display list arrangement contains a scanline identifier 902 as well as edge data 904-910 for the aforementioned edges as they refer to the scanline 41. Accordingly, the data block 904 contains priority information indicating that the object associated with the edge 602' is the top (ie visible) object. The arrow segment in the data block 904 is oriented in a position that corresponds to the orientation of the edge 602'.
The adjacent data block 906 corresponds to the edge 604' and contains the appropriate 100903 645852.doc 100903 645852.doc -21 priority and edge orientation information. Similarly, the data blocks 908 and 910 contain priority levels of"P=2" indicating that the object 616' is one level below the object 614.
The active edge list 912' also referred to in conventional display list arrangements, contains data blocks 914-922 which correspond to the edges 602'-608' for the scanline no. 39. It will be apparent that the active edge list 912' has been re-ordered so that the data block 918 represents the edge segment 606' whereas the data block 920 represents the edge segment 604'. This re-ordering is necessary to account for the fact that the edges 604' and 606' cross over between the scanline nos. 41 and 39. This requirement for re-ordering is a feature of traditional display list approaches, and is one of the features leading to the significant computation burden on the printer process 110.
In contrast, the active edge list 912", used in the disclosed non-overlapping object approach, corresponds to the non-overlapping objects 614' and 616' for scanline no. 39. Accordingly, while the data blocks 928 and 934 mirror, apart from priority flags, the data blocks in the previous active edge lists 912 and 912', the data blocks 930 and 932 represent the edges 1110 and 1106 in Fig. 5. It will be apparent that the active edge list 912" is different from the previous active edge lists in a number of regards. In the first instance, although a priority level of"P=l" is shown in each data block, this priority flag is in fact redundant since all objects are at the same level. Furthermore, there is no need to re-order active edge list data blocks, since as edges expire they are merely removed from the active edge list, and new edges are merely inserted at the correct location in the active list. The maximum number of active edges is fixed for a page, and can approach at most the number of pixels on a scanline.
As the PCP 104 scanline converts a page for printing in the step 310, the output generated is accumulated into a display list of non-overlapping/non-intersecting ERP objects (ie the output ERP edge list) which is communicated to the ERP 110 over the communication bus 114.
100903 645852.doc 100903 645852.doc 22 Fig. 7 depicts a process 700 for converting overlapping objects exemplified by the objects 614 and 616 into equivalent non-overlapping objects as exemplified by the objects 614' and 616'. The process 700 commences with a step 702 that indicates that a current pixel position is being considered (with reference to an arbitrary scan line).
Thereafter, a testing step 704 determines whether there are any active edges at the present pixel position. If there are none, then the process 700 is directed in accordance with a arrow to a step 706 that increments the pixel position, and returns the process to the step 702.
If there are active edges at the step 704, however, then the process 700 is directed to a step 710 that determines the topmost one of such edges. A following testing step tests whether the detected topmost edge is at a level equal to or greater than the "active object". (This active object will either be set, in a step 730, at a default level, being a level below which no "real" object can be positioned, or will be set, in steps 724 and 720, to be actual objects). If the detected topmost edge is indeed greater than or equal to the level of the active object, then the process 700 is directed in accordance with a "YES" arrow to a testing step 718. This step tests whether the edge is a leading edge of the corresponding object (such as the edge 602' on the scan line 41 in Fig. 6) or the lagging edge (such as the edge 604' on the scan line 41 in Fig. 6).
If the edge is a commencing edge, then the process 700 is directed in accordance with a arrow to a step 724 which defines the corresponding object to be the active object. If the edge is a terminating edge, then the process 700 is directed in accordance with a arrow to a step 730 that terminates the active object, and sets the default active object at the aforementioned very low level.
Once the step 724 sets the object corresponding to the detected topmost commencing edge as the active edge, then the process 700 is directed in accordance with 100903 645852.doc 100903 645852.doc -23an arrow to a step 728 that increments the pixel position, and returns the process to the step 702 with an arrow.722.
After the step 730 in which the active object has been terminated because the detected edge was a terminating step, the process 700 is directed to a testing step 734.
This step tests whether another object is projecting visibly beyond the previously defined active object in the scanning direction from beneath the previously defined active object.
If there is such a projecting object, then the process 700 is directed in accordance with a "YES" arrow to a step 738 that defines the previously mentioned terminating edge as being the commencing edge of the detected projecting object. This was described as the variant of the method described in relation to Fig. 5. Thereafter, a step 720 defines the "other" projecting object to be the active object, and the process 700 is directed in accordance with an arrow 716 to the step 706.
If there is no other object projecting visibly from beneath the aforementioned terminated object in the step 734, then the process 700 is directed in accordance with a "NO" arrow to the step 706.
Although the print architecture disclosed is primarily directed to rendering object representations on a printed page, an additional capability can be supported relating to bitmap data. Accordingly, during scan conversion, the PCP 104 can also keep track of memory consumed by the edge lists, and can generate a bit map representation of the page in parallel. During normal operation, this bit map representation would be discarded. However, if the PCP 104 detects that the ERP (output) edge list the nonoverlapping/non-self intersecting object representation) is larger than the equivalent bit map (which might happen, for example, if there are a large number of single pixel objects), then the PCP 104 can utilise the bit map representation generated instead of the display list for the ERP 110. The PCP 104 can also simply calculate the amount of memory used by the ERP object representation, and can decide to generate the bit map 100903 645852.doc 100903 645852.doc -24after verifying whether the ERP representation is large enough to necessitate this alternative. This last step is performed by interpreting the ERP display list, and then discarding it.
Accordingly, either the ERP representation or the bit map can be sent to the print engine 222, depending on the factors noted above.
In another arrangement, the PCP 104 can render the page to be printed in bands.
In this case, the ERP objects are generated in fixed vertical band sizes. In this arrangement, the decision as to whether to send ERP objects or equivalent bit maps to the print engine 222 can be made on a per-band basis.
The overlapping diamond shapes 614 and 616 shown in Fig. 4 can be represented by the following Adobe postscript description (to be referred to as description /DeviceRGB setcolorspace 255 255 0 setcolor 30 10 moveto 30 lineto 50 lineto [1] 30 lineto closepath fill 255 0 255 setcolor 10 moveto 30 lineto 50 lineto 30 30 lineto closepath 100903 645852.doc fill showpage This Adobe postscript description can be converted by known methods (see "Computer Graphics Principles and Practice" by Foley, Van Dam, Feiner, and Hughes; Addison-Wesley; ISBN 0-201-12110-7) to the following object representation (to be referred to as description as performed in the step 306 of Fig. 2: Setting Color: "Color" <red>,<green>,<blue> Filled Polygon: "FillPoly" y> y> [2] Color: 255,255,0 FillPoly: 30,10,50,30,30,50,10,30,30,10; Color: 255,0,255 FillPoly: 50,10,70,30,50,50,30,30,50,10; The above object representation represents an input (PCP) edge list for the scanline process of the step 310 in Fig. 2.
Fig. 8 depicts a dataflow diagram relating to production, updating and use of edge lists used by the PCP 104 and the ERP 110. The input page for printing is represented at a block 1002, this page being converted in the step 306 to an input edge list 1006 (exemplified by the PCP edge list The input edge list is processed, on a per scanline basis, to provide a per-scanline active edge list 1010 which is updated in an updating process 1014. The active edge list updating process 1014 makes use both of the active edge list itself 1010 and the input edge list 1006 as depicted by an arrow 1012 and a dashed arrow 1018 respectively. The active edge list is also processed in an edge process 1022 which produces an output edge list 1026 (exemplified by an ERP edge list described below). The output edge list is updated in the output edge list updating process 1030 which makes use both of the output edge list 1026 as depicted by an arrow 1028 and the active edge list 1010 as depicted by a dashed arrow 1032.
100903 645852.doc 100903 645852.doc -26- The output (ERP) edge list derived from the exemplary input (PCP) edge list takes the following form, which represents the objects 614' and 616' in terms of their non-overlapping and non-intersecting edges: Setting Color: "Color" <red>,<green>,<blue> Polygon Edge: "Edge" starting-y, ending-y, gradient> I Color: 255,255,0 Edge: 30,50,30,-1 [3] Color: 255,255,2551 Edge: 30,50,40,1 Color: 255,0,255 I Edge: 50,50,40,-1 Color: 255,255,2551 Edge: 50,50,30,1 Color: 255,0,255 Edge: 40,40,30,1 Color: 255,255,0 Edge: 10,30,10,1 Color: 255,0,255 Edge: 50,30,20,-1 1 Color: 255,255,255 Edge: 70,30,10,-1 Color: 255,255,255 Edge: 40,20,10,-1 Color: 255,0,255 Edge: 40,20,10,1 Figs. 9 and 10 show a flow diagram comprising two flow diagram segments 800 and 800' for a process by which the PCP 104 produces a non-overlapping object graphic description (exemplified by the output edge list from an input edge list exemplified by The process fragments 800 and 800' depict the process 310 of Fig. 2 in more detail.
The process depicted in Figs. 9 and 10 is also presented in pseudo-code format in Appendix A. Appendix A relates to the process 300 of Fig. 2 insofar as the host machine 102 is concerned, namely up to the boundary 320. Appendix A thus relates to steps 302, 306 and 310 in Fig. 2.
Fig. 9 relates to the process fragment 800, and commences with a step 802 (see Appendix A lines 173 to 178) that reads the input list Thereafter, a step 806 (see 100903 645852.doc 100903 645852.doc -27- Appendix A line 173) indicates that following steps are performed for a current scanline.
A subsequent step 810 (see Appendix A lines 174 to 177) builds an active list, exemplified in Fig. 6, from the input list Thereafter, a step 814 (see Appendix A line 186) sorts the active list into pixel order. Thereafter, a step 818 (see Appendix A lines 198 to 378) indicates that following sub-steps are performed for a current pixel position X.
A subsequent step 822 (see Appendix A lines 198 to 379) compares the active list, built in the step 810 (see Appendix A lines 174 to 177), to the output list. A subsequent testing step 826 (see Appendix A lines 206 to 216) decides whether an output edge in the output list at the current pixel position has a corresponding active edge in the active list. If this is the case, then the process fragment 800 is directed in accordance with a "yes" arrow to an arrow 838 (which continues in Fig. 10 on the arrow segment 838). If, on the other hand, the testing step 826 (see Appendix A lines 206 to 216) returns a "no", then the process fragment 800 is directed in accordance with an arrow 830 to a step 832 (see Appendix A lines 214 to 215) which terminates the output edge that has been considered. A subsequent step 836 sends the terminated output edge to the printer 110 (as depicted by a dashed arrow 312) for processing in the step 314 of Fig. 2. The sequence of output edges depicted by the arrow 312 constitutes the (simplified) display list representation of the image having non-overlapping graphic objects that is sent to the printer for rendering, this being visually equivalent to the image represented by the input list Fig. 10 shows the continuation process fragment 800' and in particular, a step 844 (see Appendix A lines 239 and 116 to 131) continues from the arrow segment 838, and finds a topmost edge (ie the edge having the highest level flag) in the active list for the X being considered. A subsequent testing step 848 (see Appendix A lines 291 and 305 to 312) determines whether the topmost edge in the active list has a corresponding 100903 645852.doc 100903 645852.doc -28output edge. If this is, in fact the case, then the process segment 800' is directed in accordance with a "yes" arrow to a step 858 (see Appendix A line 195) which checks the pixel position X) being considered. If, on the other hand, the testing step 848 (see Appendix A lines 291 and 305 to 312) determines that the topmost edge in the active list does not have a corresponding output (ERP) edge in the output, then the process segment 800' is directed in accordance with a "NO" arrow to a step 854 (see Appendix A lines 292 to 300 or lines 313 to 377) which creates a new edge in the output list. It is this step 854 (see Appendix A lines 292 to 300 and lines 313 to 377) which creates both new existing edges, such as the edge 604' in Fig. 5, and new synthesized edges which are acquired for object intersections, such as the edge segment 1106 or the dual-purpose edge segment 1110.
The process segment 800' is then directed to a testing step 862 (see Appendix A line 195) that determines whether the present scanline has been completed. If this is not the case, then the process segment 800' is directed in accordance with a "no" arrow (ie., 840) to the arrow segment 840 in Fig. 9 and thereby back to the step 818 (see Appendix A lines 198 to 378). If, on the other hand, the present scanline has been completed, then the process fragment 800' is directed in accordance with a "yes" arrow to a step 868 (see Appendix A line 383) which increments the scanline A subsequent step 872 (see Appendix A lines 388 to 413) then compares the active list, exemplified in Fig. 6, with the current scanline Thereafter, a testing step 876 (see Appendix A line 389) determines whether any active edges exist which are no longer required. If this is, in fact the case, then the process segment 800' is directed in accordance with a "yes" arrow to a step 880 (see Appendix A lines 390 to 406) that removes such active edges. If, on the other hand, there are no such edges, then the process segment 800' is directed in accordance with a "no" arrow, and thence via an arrow segment 842, back to the arrow segment 842 in Fig. 9 to the step 806(see Appendix A line 173).
100903 645852.doc 100903 645852.doc -29- Fig. 11 shows a flow diagram 500 of the ERP process 314 that renders the ERP object representation received from the PCP to sequential pixels. The process 500 commences with a step 502 which receives the object descriptions from the PCP (these being the ERP output edge list records exemplified by A subsequent step 506 constructs an active edge list for the first scanline, after which a step 510 scan converts scanline objects to pixels. These pixel values are output, as depicted by a dashed arrow 316. A subsequent testing step 514 determines whether all objects on the scanline have been completed. If this is, in fact, the case then the process 500 is directed in accordance with a "yes" arrow to a termination step 518. If, on the other hand, not all objects have been completed, then the process 500 is directed in accordance with a "no" arrow to a step 522 which updates active edges for the next scanline. Thereafter, a step 526 deletes completed edges from the active edge list, and a subsequent step 530 inserts new active edges into the edge list. The process 500 is then directed in accordance with an arrow 532 to the step 510.
Industrial Applicability It is apparent from the above that the arrangements described are applicable to the data processing industry.
The foregoing describes only one embodiment of the present invention, and modifications and/or changes can be made thereto without departing from the scope and spirit of the invention, the embodiments being illustrative and not restrictive. Thus for example, the described method could be extended to include transmission of graphic material for dynamic displays, e.g. object based animations across a network.
Furthermore, although the description is couched in terms of objects having uniform opaque colours, the described method can be easily adapted to apply to objects having varying colours and opacity, provided that the ERP can deal with bit maps having colour and opacity described by linear ramps and/or linear transformations.
100903 645852.doc 100903 645852.doc In the context of this specification, the word "comprising" means "including principally but not necessarily solely" or "having" or "including" and not "consisting only of'. Variations of the word comprising, such as "comprise" and "comprises" have corresponding meanings.
100903 645852.doc Appendix A Pseudo implementation of PCP edge to ERP edge algorithm for simple non-compositing case. Must sort output ERP list #include <stdlib.h> #include <memory.h> typedef struct unsigned char r; unsigned char g; unsigned char b; rgb; #define LEADING 1 #define LAGGING 0 pcp_edge representation of a PCP input edge for the algorithm typedef struct pcp_edge struct pcp_edge *next; double current_x; double x_increment; int starting_y; int ending_y; int level_number; rgb color; int leading:1; pcp_edge; erp_edge representation of an ERP output edge for the algorithm typedef struct erp_edge struct erp_edge *next; int startingx; int starting_y; double currentx; double x_increment; int ending_y; rgb color; erp_edge; sort_pcp_edgesin_x Sort a list of pcp_edges into correct order, also sort for next scanline step.
Arguments: pcp_list The list to sort 100903 645852.doc 100903 645852.doc 32 *Returns: The head of the sorted iist static pcp__edge sort -pcp edges in-x p op edge pop edge pcp~Iist Bubble sort, which is OK, since most of the time the list will be sorted.
for for e =pop list; e! NULL e->next! NULL; e =e->next){ if (-nx-cretx<e>urnnext->cu rrentx e->currentx e->next->x increment e->x-increment pop edge t; pop edge np; t e>et nP e->next; *e->next *e; e->next->next t.next; e= t e->next np; fix the list pointer e pop list; I* force reloop break; if (e NULL 11 e->next NULL) break; return pop list; *use a table to flag which levels are active #define MAXLEVELS 32 pcp edge *leveisacive[MA(_LEVELS]; 100903 645852.doe 100903 645852.doc -33- 111 find_top_active_edge 112 Find the topmost active rendering object 113 114 Returns the leading edge of the topmost object 115 116 pcp_edge* 117 find_top_active_edgeO 118 119 int i; 120 121 for 122 123 i sizeof levelis active sizeof level isactive[0] 1; 124 i 125 i- 126 127 if (level_is_active[i] NULL) 128 return levelisactive[i]; 129 130 return NULL; 131 132 133 generate_erp_from_pcp 134 Convert and free a sorted list of "malloc'ed" 135 PCP edges to emit a linked list of ERP edges 136 137 Arguments: 138 in linked list of PCP edges, sorted in y, 139 then x then gradient order 140 xper_scanline number of pixels in final 141 image dimension 142 y_per_page number of scanline in final 143 image dimension 144 145 Returns: 146 A linked list of erp edges ready to encode 147 to send to an erp printer 148 149 erp_edge 150 generate_erp_from_pcp 151 152 pcp_edge *in, 153 int xper_scanline, 154 int y_per_page 155 156 157 pcp_edge *active_pcp; 158 erp_edge *out_list, **candidate_head; 159 int current_y, current_x; 160 pcp_edge *p_pcp, *processed_pcp, *top_active; 161 erp_edge *p_erp, *pe; 162 163 outlist NULL; 164 candidatehead &out list; 165 active_pcp NULL; 100903 645852.doc 100903 645852.doc -34- 166 current_y 0; 167 168 construct active list 169 170 buildactive: 171 if (current_y y_perpage) 172 return outlist; 173 while (in NULL in->starting_y current_y) 174 p_pcp in; 175 in in->next; 176 p_pcp->next active_pcp; 177 active_pcp p_pcp; 178 179 180 Clear the level activation table 181 182 memset(&levelisactive, 0, sizeof levelisactive); 183 184 Sort into sensible order 185 186 active_pcp sort_pcp_edges_in_x(active_pcp); 187 188 scan through active list, compare with erp list, 189 and emit edges if necessary 190 191 for 192 193 p_pcp processed_pcp active_pcp, 194 p_erp *candidate_head; 195 p_pcp NULL current_x x_perscanline; 196 p_pcp p_pcp->next 197 198 pcp_edge *top; 199 int toplevel, changed; 200 201 current_x (int)p_pcp->current_x; 202 203 Any erp edge that is before the next 204 active edge is finished 205 206 for 207 208 p_erp NULL 209 210 (p_pcp NULL 211 p_erp->current_x p_pcp->currentx); 212 p_erp p_erp->next 213 214 if (p_erp->ending_y 0) 215 p_erp->ending_y current_y; 216 217 218 (de)activate levels for objects present 219 at this location 220 100903 645852.doc 100903 645852.doc 221 for 222 223 changed 0, p processed_pcp; 224 p NULL; 225 p p->next 226 227 if (p->current_x current_x) finished 228 break; 229 if (p->leading LAGGING) 230 level_isactive[p->level_number] NULL; 231 else 232 levelisactive[p->level_number] p; 233 changed++; count crossings at current_x 234 235 236 Get the topmost active level before 237 we process this pcp edge 238 239 top_active find_top_active_edge(); 240 241 If we crossed more than one edge, 242 terminate all erp edges here.
243 244 if (changed 1) 245 for (p processed_pcp; p NULL; p p->next) 246 if (p->current_x current_x) finished 247 break; 248 for p_erp NULL; p_erp p_erp->next) 249 if (p_erp->current_x current_x) 250 if (p_erp->ending_y 0) 251 p_erp->ending_y currenty; 252 253 else 254 goto done_terminating_erps; 255 256 257 done_terminating_erps: 258 259 find topmost edge at this x position and 260 check against erp list 261 262 top NULL; 263 toplevel 0; 264 for (p processed_pcp; p NULL; p p->next) 265 if 266 267 p->current_x current_x 268 269 p->level_number toplevel 270 271 if 272 273 top_active NULL II 274 p->level_number 275 topactive->level_number) 100903 645852.doc 100903 645852.doc 36 276 top P 277 toplevel p->Ievel number; 278 processed pop top->next; 279} 280 2811 282 1 283 *We have an input pcp edge to check for 284 *output erp edge 285 286 if (top !=NULL){ 287 P* 288 have highest pop edge, if existing erp edge, 289 *then fine, otherwise spawn 290 291 if (out-list NULL){ 292 perp out-list malloc(sizeof (erp edge)); 293 perp->next NULL; 294 perp->startingjy currenty; 295 perp->starting-x current -x; 296 perp->current-x (double)perp->startingx; 297 perp->x -increment top->x-increment; 298 perp->color top->color; 299 perp->ending_y 0; 300 candidate-head &out-list; 301} 302 1 303 *check for new edge creation 304 305 else if 306( 307 perp NULL 308 11 309 perp->current-x top->current-x 310 11 311 perp->x-increment !=top->x-increment 312 313 erp edge *prev; 314 315 h malloc(sizeof (erp edge)); 316 if (perp NULL){ 317 h->next NULL; 318 goto insert-x-sorted-into-out-list; 319 320 else{ 321 h->next perp; 322 if (*candidate -head NULL) 323 h->next NULL; 324 *candjdate-head h; 325 1 326 if (*candidate-head perp) 327 *candidate-head h; 328} 329 else{ 330 insert-x-sorted-into out list: 100903 645852.doc 100903 645852.doc 37 331 for 332( 333 prey *candjdate-head NULL 334 out -list *candidate-head; 335 prey! NULL; 336 prey prev->next 337 338 if (prev->next perp){ 339 if (prev->next I= NULL){ 340 h->next prev->next; 341 prev->next h; 342} 343 else{ 344 prev->next h 345} 346 break; 347 348} 349} 350} 351 h->startingjy currenty; 352 h->startingx current-x; 353 h->current -x (double)current -x; 354 h->x-increment top->xi increme nt; 355 if 356( 357 top->Ieading LAGGING top active 1= NULL 358 359( 360 top->current-x top active->current-x 361 I 362( 363 top->current -x 364 top active->current-x 365 366 top->x_increment 367 top__active->x-increment 368) 369) 370) 371 h->color top active->color; 372 else 373 h->color top->color; 374 h->endingjy 0; 375 perp h 376} 377 perp perp->next; 378 379 1 380 1 381 *Increment the current scanline 382 383 current-y++; 384 1 385 *Update the two edge lists and go to 100903 645852.doc 100903 645852 .doc 38 386 incorporation of new edges 387 388 for (ppcp active pop; ppcp !=NULL;){ 389 if (p pcp->endingy currentjy){ 390 pcp edge *chuck, *prev; 391 392 chuck p_pcp; 393 ppcp ppcp->next; 394 if (active pcp chuck){ 395 active pop p pop; 396 397 else{ 398 for (prey active pop; prey NULL; prey prev->next){ 399 if (prev->next chuck){ 400 prev->next p_pcp; 401 break; 402} 403 404} 405 free(chuck); 406} 407 else{ 408 ppcp->current -x p pcp->cu rrent x p pcp->x increment; 409 p-pcp p-pcp->next; 410} 411 412 1 413 If pop active list is empty, all erp edges 414 must be terminated 415 416 if (active pop NULL){ 417 for (pe out -list; pe !=NULL; pe pe->next){ 418 if (pe->endingjy 0) 419 pe->endingy currentjy; 420 candidate-head &pe->next; 421} 422 423 424 *similar for erp 425 426 for (pe out-list; pe !=NULL; pe pe->next) 427 pe->current-x pe->current-x pe->x increment; 428 429 goto build-active; 430 431 432 (End of Appendix A) 433 434 100903 645852.doc 100903 645852.doc
Claims (1)
- 21-JUN-2007 16:36 SPRUSON FERGUSON 92615486 NO. 2616 P. 15/23 -39- o The claims defining the invention are as follows: O0 S1. A method of converting a representation of a first image, having a first set of C overlapping graphic objects, into a display list representation of a visually equivalent second image, having a second set of non overlapping graphic objects, said method o comprising the steps of: 0 categorising each graphic object in the first set as being one of a fully Svisible graphic object, (ii) a partly visible graphic object, and (iii) an invisible graphic C object; defining, in relation to each said fully visible graphic object in said first set, a substantially identical graphic object in the second set; and defining, in relation to visible regions of each said partly visible graphic object in said first set, one or more graphic objects being visually equivalent to the partly visible graphic object, in the second set. 2. A method of converting a representation of a first image, having a first set of graphic objects spanning a plurality of layers, into a display list representation of a visually equivalent second image, having a second set of graphic objects on a single layer, said method comprising the steps of: categorising each graphic object in the first set as being one of a fully visible graphic object, (ii) a partly visible graphic object, and (iii) an invisible graphic object; defining, in relation to each said fully visible graphic object in said first set, a substantially identical graphic object in the second set; and 645852 /835197_1 190607 COMS ID No: SBMI-07862573 Received by IP Australia: Time 16:39 Date 2007-06-21 21- JUN- 2007 16:37 SPRUSON FERGUSON 92615486 NO-2616 P. 16/23 o defining, in relation to visible regions of each said partly visible graphic object in said first set, one or more graphic objects being visually equivalent to the partly Svisible graphic object, in the second set. 3. A method of converting, on a scanline basis, a representation of a first image C having a first set of overlapping graphic objects, into a display list representation of a visually equivalent second image having a second set of non overlapping graphic objects, ci o said method comprising, for a current scanline, the steps of: C determining, in a current scanning dixection, a leading and a lagging edge of a visible region of a first one of said graphic objects in said first set; defining said lagging edge to be a leading edge of a next one of said graphic objects if said first graphic object extends beyond said lagging edge in the current scanning direction and (ii) said next graphic object is visible immediately beyond the lagging edge in said current scanning direction; defining said lagging edge to be a leading edge of a next one of said graphic objects if said next graphic object extends beyond said lagging edge in a direction opposite to the current scanning direction, and (ii) said next graphic object is visible immediately beyond the lagging edge in said current scanning direction; and: repeating steps to for all successive pairs of leading and lagging edges on the scanline; wherein said pairs of leading and lagging edges establish the second set of visually equivalent graphic objects for said current scanline. 4. A method of converting, on a scanline basis, a representation of a first image having a first set of graphic objects spanning a plurality of layers, into a display list representation of a visually equivalent second image having a second set of graphic objects on a single layer, said method comprising, for a current scanline, the steps of: 645852 /835197_1 190607 COMS ID No: SBMI-07862573 Received by IP Australia: Time 16:39 Date 2007-06-21 .21. JUN. 2007 16:37 .21.JUN.2%] 6:37SPRUSON FERGUSON 92615486NO266 P 172 NO-2616 P. 17/23 -41 o determining, in a current scanning direction, a leading and a lagging edge of a visible region of a first one of said graphic objects in said first set; defining said lagging edge to be a leading edge of a next one of said graphic c-Iobjects if said first graphic object extends beyond said lagging edge in the current scanning direction and (ii) said next graphic object is visible immediately beyond the o lagging edge in said current scanning direction; defining said lagging edge to be a leading edge of a next one of said graphic oobjects if said next graphic object extends beyond said lagging edge in a direction Cl opposite to the current scanning direction, and (ii) said next graphic object is visible imimediately beyond the lagging edge in said current scanning direction; and: repeating steps to for all successive pairs of leading and lagging edges on the scanline; wherein said pairs of leading and lagging edges establish the second set of visually equivalent graphic objects for said current scanline. 5. A method according to claim 1 or 3, wherein at least one of the first set of overlapping graphic objects and the second set of non overlapping graphic objects are opaque. 6. An apparatus for converting a representation of a first image, having a first set of overlapping graphic objects, into a display list representation of a visually equivalent second image, having a second set of non overlapping graphic objects, said apparatus comprising: means for categorising each graphic object in the first set as being one of a folly visible graphic object, (ii) a partly visible graphic object, and (iii) an invisible graphic object; 645852 85197_1 190607 COMS ID No: SBMI-07862573 Received by IP Australia: Time 16:39 Date 2007406-21 21-JUN-2007 16:37 -21. UN. 2% 16:37SPRUSON FERGUSON 92615436 N.66 P 82 NO-2616 P. 18/23 -42.- o means for defining, in relation to each said fally visible graphic object in said Cl first set, a substantially identical graphic object in the second set; and ;Z means for defining, in relation to visible regions of' each said partly visible Clgraphic object in said first set, one o r more graphic objects being visually equivalent to the partly visible graphic object, in the second set. 0 7. An apparatus for converting a representation of a first image, having a first set of gahcobjects spanning aplurality oflayers, inoadisplay litrepresentation o Cl visually equivalent second image, having a second set of graphic objects on a single layer, said apparatus comprising: means for categorising each graphic object in the first set as being one of a fully visible graphic object, (ii) a partly visible graphic object, and (iii) an invisible graphic object; means for defining, in relation to each said fully visible graphic object in said first set, a substantial-ly identical graphic object in the second set; and means for defining, in relation to visible regions of each said partly visible graphic object in said first set, one or more gaphic objects beinag visually equivalent to the partly visible graphic object, in the second set. 8. An apparatus for converting, on a scanline basis, a representation of a first image having a first set of overlapping graphic objects, into a display list representation of a visually equivalent second image having a second set of non overlapping graphic objects, said apparatus comprising: means for determining, in a current scanning direction, a leading and a lagging edge of a visible region of a first one of said graphic objects in said first set; 645852 835197 1 190607 COMS ID No: SBMI-07862573 Received by IP Australia: Time 16:39 Date 2007-06-21 -21. JUN. 2007 16:37 -21.UN.200 16:37 SPRUSON FERGUSON 92615486NO266P193 NO,2616 P. 19/23 -431- o means for defining said lagging edge to be a leading edge of a next one of said graphic objects if said first graphic object extends beyond said lagging edge in the ;Z current scanning direction and (ii) said next graphic object is visible immediately beyond c-i the lagging edge in said current scanning direction; s means for defining said lagging edge to be a leading edge of a next one of said graphic objects if said next graphic object extends beyond said lagging edge in a direction opposite to the current scanning direction, and (ii) said next graphic object is o visible immediately beyond the lagging edge in said current scanning direction; and: Cl means for repeating steps to for all successive pairs of leading and lagging edges on the scanline; wherein said pairs of leading and lagging edges establish the second set of visually equivalent graphic objects fbr said current scanline. 9. An apparatus for converting, on a scanline basis, a representation of a first image having a first set of graphic objects spanning a plurality of layers, into a display list representation of a visually equivalent second image having a second set of graphic objects on a single layer, said apparatus comprising: means for determining, in a current scanning direction, a leading and a lagging edge of a visible region of a first one of said graphic objects in said first set; means for defining said lagging edge to be a leading edge of a next one of said graphic objects if said first graphic object extends beyond said lagging edge in the current scanning direction and (ii) said next graphic object is visible imnmediately beyond the lagging edge in said current scanning direction; means for defining said lagging edge to be a leading edge of a next one of said graphic objects if said next graphic object extends beyond said lagging edge in a direction opposite to the current scanning direction, and (ii) said next graphic object is visible immediately beyond the lagging edge in said current scanning direction; and: 6458521/835197_1 190607 COMS ID No: SBMI-07862573 Received by IP Australia: lime 16:39 Date 2007-06-21 .21-JUN-2007 16:38 .21. UN. 007 6:38SPRUSON FERGUSON 92615486NO266 P 203 NO-2616 P. 20/23 -44- o means for repeating steps to for all successive pairs of leading and lagging edges on the scanline; wherein said pairs of leading and lagging edges establish ;Z the second set of visually equivalent graphic objects for said current scanline. 10. A computer program for directing a processor to execute a method of converting o a representation of a first image, having a first set of overlapping graphic objects, into a ~zJ- display list representation of a visually equivalent second image, having a second set of non overlapping graphic objects, said program comprising: ci code for categorising each graphic object in the first set as being one of a fully visible graphic object, (ii) a partly visible graphic object, and (iii) an invisible graphic object; code for defining, in relation to each said filly visible graphic object in said first set, a substantially identical graphic object in the second set; and code for defining, in relation to visible regions of each said partly visible graphic object in said first set, one or more graphic objects being visually equivalent to the partly visible graphic object, in the second set. 11. A computer program for directing a processor to execute a method of converting a representation of a first image, having a first set of graphic objects spanning a plurality of layers, into a display list representation of a visually equivalent second image, having a second set of graphic objects on a single layer, said program comprising: code for categorising each graphic object in the first set as being one of a fuilly visible graphic object, (Hi) a partly visible graphic object, and (iii) an in-visible graphic object; code for defining, in relation to each said fully -visible graphic object in said first set a substantially identical graphic object in the second set; and 645852 8351971 190607 COMS ID No: SBMI-07862573 Received by IP Australia: Time 16:39 Date 2007-06-21 21-JUN-2007 16:38 21. JU. 2%?16:38SPRUSON FERGUSON 92615486NO266 P 213 NO-2616 P, 21/23 o code for defining, in relation to visible regions of each said partly visible graphic object in saidfirst set one or more graphic objects being visually equivalent to the partly visible graphic object, in the second set. 12. A computer program for directing a processor to execute a method of converting, o on a scanline basis, a representation of a first image having a first set of overlapping 00 graphic objects, into a display list representation of a visually equivalent second image o having a second set of non overlapping graphic objects, said program comprising, in Cl relation to a current scanline: code for determining, in a current scanning direction, a leading awl a lagging edge of a visible region of a first one of said graphic objects in said first set; code for defining said lagging edge to be a leading edge of a next one of said graphic objects if said first graphic object extenids beyond said lagging edge in the current scanning direction and (ii) said next graphic object is visible immediately beyond is the lagging edge in said current scanining direction; code for defining said lagging edge to be a leading edge of a next one of said graphic objects if said next graphic object extends beyond said lagging edge in a direction opposite to the current scanning direction, and (ii) said next graphic abject is visible immnediately beyond the lagging edge in said current scanning direction; and: code for repeating steps to for all successive pairs of leading and lagging edges on the scanline; wherein said pairs of leading and lagging edges establish the second set of visually equivalent graphic objects for said current scanline. 13. A computer program for directing a processor to execute a method of converting, on a scanline basis, a representation of a first image having a first set of graphic objects spanning a plurality of layers, into a display list representation of a visually equivalent 6458521835197_1 190607 COMS ioNo: SBMI-07862573 Received by IP Australia: Time 16:39 Date 2007-06-21 21. JUN. 2007 16:39 SPRUSON FERGUSON 92615486 NO. 2616 P. 22/23 -46- o second image having a second set of graphic objects on a single layer, said program Cl comprising, in relation to a current scanline: ;Z cede for determining, in a current scanning direction, a leading and a lagging edge of a visible region of a first one of said graphic objects in said first set; code for defining said lagging edge to be a leading edge of a next one of said graphic objects if said first graphic object extends beyond said lagging edge in the 00 current scanning direction and (ii) said next graphic object is visible immediately beyond the lagging edge in said current scanning direction; Cl code for defining said lagging edge to be a leading edge of a next one of said graphic objects if said next graphic object extends beyond said lagging edge in a direction opposite to the current scanning direction, and (ii) said next graphic object is visible immediately beyond the lagging edge in said current scanning direction; and: code for repeating steps to for all successive pairs of leading and lagging edges on the scanline; wherein said pairs of leading and lagging edges establish the second set of visually equivalent graphic objects for said current scanline. 14. A method of printing an image substantially as described herein with reference to the accompanying drawings. 15. A method of converting a representation of an image substantially as described herein with reference to the accompanying drawings. 16. An apparatus for converting a representation of an image substantially as described herein with reference to the accompanying drawings. 645852 /835 197_1 190607 COMS ID No: SBMI-07862573 Received by IP Australia: Time 16:39 Date 2007-06-21 .21-JUN2007 16:39 SPRUSON FERGUSON 92615486 NO. 2616 P. 23/23 -47- 17. A computer program for directing a processor to execute a method of converting a representation of an image substantially as described herein with reference to the accompanying drawings, DATED this 19 t Day of June, 2007 CANON KABUSHIKI KAISHA Patent Attorneys for the Apphcant SPRUSON&FERGUSON 190607 645852 835197_1 COMS ID No: SBMI-07862573 Received by IP Australia: Time 16:39 Date 2007-06-21
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| AU2003248032A AU2003248032B2 (en) | 2002-09-25 | 2003-09-15 | Apparatus for Printing Using Non-overlapping Graphic Objects |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| AU2002951651 | 2002-09-25 | ||
| AU2002951651A AU2002951651A0 (en) | 2002-09-25 | 2002-09-25 | Apparatus for printing using non-overlapping graphic objects |
| AU2003248032A AU2003248032B2 (en) | 2002-09-25 | 2003-09-15 | Apparatus for Printing Using Non-overlapping Graphic Objects |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| AU2003248032A1 AU2003248032A1 (en) | 2004-04-08 |
| AU2003248032B2 true AU2003248032B2 (en) | 2007-07-19 |
Family
ID=34195202
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| AU2003248032A Ceased AU2003248032B2 (en) | 2002-09-25 | 2003-09-15 | Apparatus for Printing Using Non-overlapping Graphic Objects |
Country Status (1)
| Country | Link |
|---|---|
| AU (1) | AU2003248032B2 (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5724494A (en) * | 1994-07-25 | 1998-03-03 | Canon Information Systems Research Australia Pty Ltd | Optimization method for the efficient production of images |
| US5745121A (en) * | 1994-07-25 | 1998-04-28 | Canon Information Systems Research Australia Pty Ltd | Methods and apparatus for optimizing the composition of graphical elements |
-
2003
- 2003-09-15 AU AU2003248032A patent/AU2003248032B2/en not_active Ceased
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5724494A (en) * | 1994-07-25 | 1998-03-03 | Canon Information Systems Research Australia Pty Ltd | Optimization method for the efficient production of images |
| US5745121A (en) * | 1994-07-25 | 1998-04-28 | Canon Information Systems Research Australia Pty Ltd | Methods and apparatus for optimizing the composition of graphical elements |
Also Published As
| Publication number | Publication date |
|---|---|
| AU2003248032A1 (en) | 2004-04-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20040085559A1 (en) | Apparatus for printing using non-overlapping graphic objects | |
| EP1272977B1 (en) | Shape processor | |
| US5790134A (en) | Hardware architecture for image generation and manipulation | |
| EP2498218B1 (en) | Generating, storing, and displaying graphics using sub-pixel bitmaps | |
| EP1359545B1 (en) | Process for rendering mixed raster content files | |
| US8723884B2 (en) | Scan converting a set of vector edges to a set of pixel aligned edges | |
| US6429950B1 (en) | Method and apparatus for applying object characterization pixel tags to image data in a digital imaging device | |
| US20070070088A1 (en) | Image processing apparatus, image processing method, and program | |
| US6591020B1 (en) | Antialiazed high-resolution frame buffer architecture | |
| US20120105431A1 (en) | Previsualization for large format print jobs | |
| US20090091564A1 (en) | System and method for rendering electronic documents having overlapping primitives | |
| AU2003248032B2 (en) | Apparatus for Printing Using Non-overlapping Graphic Objects | |
| EP1271409B1 (en) | Method and System for Generating a digital image including a transparent object | |
| KR100633874B1 (en) | Systems and Methods to Optimize Halftone Printer Performance | |
| AU780003B2 (en) | Optimising pixel generation from compositing stack | |
| AU2003201329B2 (en) | A System and Method for Optimising Halftoning Printer Performance | |
| AU2003100910A4 (en) | Improving Visual Quality when Compressing Images with an Unknown Dimension | |
| AU2005201933A1 (en) | Method of rendering self-overlapping colour blend patches | |
| AU2005201932A1 (en) | Parametric patch colour blend rendering | |
| JPH11179968A (en) | Print system, printer and printing method | |
| JP2003333329A (en) | Preservation method of original data of halftone processed data | |
| JPH11198465A (en) | Character output device | |
| JPH0765177A (en) | Image processing system and image processing apparatus | |
| JPH07219722A (en) | Image output system and image output method | |
| CA2197822A1 (en) | Method of rendering an image for transmission over a network |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FGA | Letters patent sealed or granted (standard patent) | ||
| MK14 | Patent ceased section 143(a) (annual fees not paid) or expired |