Reducing the number of compositing operations performed in a pixel sequential rendering system
First Claim
1. An apparatus for rendering an object-based image one pixel at a time in scanline order, said apparatus comprising:
- an optimization module for generating a set of compositing messages corresponding to a first pixel and generating a reduced set of compositing messages from the set of compositing messages; and
a pixel compositing module comprising a stack for generating a resultant color and opacity for a current pixel in accordance with the compositing messages, said pixel compositing module, in addition to compositing the first pixel using the set of compositing messages, stores a result or partial result of the compositing of the first pixel, wherein said pixel compositing module utilizes the reduced set of compositing messages and the stored result or partial result to composite at least one subsequent pixel, whereinthe first pixel and the at least one subsequent pixel form part of a run of pixels along a scanline of the image between adjacent edges of objects in the object-based image,said optimization module sets first data in one or more of the compositing messages in the set to indicate that a compositing result of the one or more compositing messages is to be used in compositing the at least one subsequent pixel, andsaid optimization module sets the first data of a current compositing message if a predicted stack depth of the stack is of a predetermined depth and the current compositing message and all of the compositing messages having their associated first data set are associated with objects that have a constant color and opacity along the scanline.
0 Assignments
0 Petitions
Accused Products
Abstract
An apparatus for recording an object-based image one pixel at a time in scanline order includes an optimization module for generating a set of compositing messages corresponding to a first pixel and generating a reduced set of compositing messages from the set of compositing messages, and a pixel compositing module which, in addition to compositing the first pixel using the set of compositing messages, stores a result or partial result of the compositing of the first pixel. The pixel compositing module utilizes the reduced set of compositing messages and the stored result or partial result to composite at least one subsequent pixel, and the first pixel and the at least one subsequent pixel form part of a run of pixels along a scanline of the image between adjacent edges of objects in the object-based image.
-
Citations
14 Claims
-
1. An apparatus for rendering an object-based image one pixel at a time in scanline order, said apparatus comprising:
-
an optimization module for generating a set of compositing messages corresponding to a first pixel and generating a reduced set of compositing messages from the set of compositing messages; and a pixel compositing module comprising a stack for generating a resultant color and opacity for a current pixel in accordance with the compositing messages, said pixel compositing module, in addition to compositing the first pixel using the set of compositing messages, stores a result or partial result of the compositing of the first pixel, wherein said pixel compositing module utilizes the reduced set of compositing messages and the stored result or partial result to composite at least one subsequent pixel, wherein the first pixel and the at least one subsequent pixel form part of a run of pixels along a scanline of the image between adjacent edges of objects in the object-based image, said optimization module sets first data in one or more of the compositing messages in the set to indicate that a compositing result of the one or more compositing messages is to be used in compositing the at least one subsequent pixel, and said optimization module sets the first data of a current compositing message if a predicted stack depth of the stack is of a predetermined depth and the current compositing message and all of the compositing messages having their associated first data set are associated with objects that have a constant color and opacity along the scanline. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A method for rendering an object-based image one pixel at a time in scanline order, said method comprising the steps of:
-
generating a set of compositing messages corresponding to a first pixel, wherein the first pixel and at least one subsequent pixel form part of a run of pixels along a scanline of the image between adjacent edges of objects in the object-based image, said generating step comprising setting first data in one or more of the compositing messages in the set to indicate that a compositing result of the one or more compositing messages is to be used in compositing the at least one subsequent pixel, and setting the first data of a current compositing message if a predicted stack depth of the stack is of a predetermined depth and the current compositing message and all of the compositing messages having their associated first data set are associated with objects that have a constant color and opacity along the scanline; generating a reduced set of compositing messages from the set of compositing messages; compositing the first pixel using the set of compositing messages and a stack for generating a resultant color and opacity for the first pixel in accordance with the compositing messages; storing a result or partial result of said compositing of the first pixel; and rendering the image by compositing the at least one subsequent pixel using the reduced set of compositing messages and the stored result or partial result wherein each of the steps is computer implemented.
-
-
14. A computer readable memory device encoded with a computer program recorded for controlling the operation of a data processing apparatus on which the program code executes to render an object-based image one pixel at a time in scanline order, said program comprising:
-
code for generating a set of compositing messages corresponding to a first pixel, wherein the first pixel and at least one subsequent pixel form part of a run of pixels along a scanline of the image between adjacent edges of objects in the object-based image, said generating code comprising setting first data in one or more of the compositing messages is to be used in compositing the at least one subsequent pixel, and setting the first data of a current compositing message if a predicted stack depth of the stack is of a predetermined depth and the current compositing message and all of the compositing messages having their associated first data set are associated with objects that have a constant order and opacity along the scanline; code for generating a reduced set of compositing messages from the set of compositing messages; code for compositing the first pixel using the set of compositing messages and a stack for generating a resultant color and opacity for the first pixel in accordance with the compositing messages; code for storing a result or partial result of said compositing of the first pixel; and code for rendering the image by compositing the at least one subsequent pixel using the reduced set of compositing messages and the stored result or partial result, wherein the first pixel and the at least one subsequent pixel form part of a run of pixels along a scanline of the image between adjacent edges of objects in the object-based image.
-
Specification