Implementing compositing operations on images
First Claim
Patent Images
1. A method of compositing graphic elements, the method being performed in a pixel-based renderer, said method comprising the steps of:
- receiving by the renderer a first graphic element having a first colour and a first opacity and a second graphic element having a second colour and a second opacity;
determining by the renderer a blend output of a blend function dependent on the first colour and the second colour, wherein the blend function uses the second colour to modify the first colour to determine the blend output; and
determining by the renderer a resultant colour and a resultant opacity of a compositing operation on the first and second graphic elements, the resultant opacity being equal to the first opacity and the resultant colour having contributions from the first colour and the second colour while being dependent only on the blend output to provide the contribution of the second colour, the resultant colour also being independent of the first opacity.
1 Assignment
0 Petitions
Accused Products
Abstract
In a method of compositing graphic elements in a pixel-based renderer, a first graphic element is received having a first color and a first opacity, and a second graphic element is received having a second color and a second opacity. A blend output is obtained from a blend function dependent on the first color and the second color, and a resultant color is determined of a compositing operation on the first and second graphic elements, with the resultant color being dependent on the blend output and otherwise being independent of the second color.
25 Citations
32 Claims
-
1. A method of compositing graphic elements, the method being performed in a pixel-based renderer, said method comprising the steps of:
-
receiving by the renderer a first graphic element having a first colour and a first opacity and a second graphic element having a second colour and a second opacity; determining by the renderer a blend output of a blend function dependent on the first colour and the second colour, wherein the blend function uses the second colour to modify the first colour to determine the blend output; and determining by the renderer a resultant colour and a resultant opacity of a compositing operation on the first and second graphic elements, the resultant opacity being equal to the first opacity and the resultant colour having contributions from the first colour and the second colour while being dependent only on the blend output to provide the contribution of the second colour, the resultant colour also being independent of the first opacity. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method of compositing graphic elements according to a blend operation, the method being performed by a pixel-based renderer, said method comprising the steps of:
-
receiving by the renderer a first graphic element having a first colour and a first opacity and a second graphic element having a second colour and a second opacity; determining by the renderer a blend output of a blend function, that operates on the first and second colours independent of their respective opacities and a compositing operator to produce a resultant colour, wherein the blend function uses the second colour to modify the first colour to determine the blend output; and determining by the renderer a resultant colour and a resultant opacity of the compositing operation on the first and second graphic elements, the resultant opacity being equal to the first opacity and the resultant colour having contributions from the first colour and the second colour while being dependent only on the blend output to provide the contribution of the second colour, the resultant colour also being independent of the first opacity. - View Dependent Claims (9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30)
-
-
31. An apparatus for compositing graphic elements in a pixel-based renderer, said apparatus comprising:
-
means for receiving a first graphic element having a first colour and a first opacity and a second graphic element having a second colour and a second opacity; means for determining a blend output of a blend function dependent on the first colour and the second colour, wherein the blend function uses the second colour to modify the first colour to determine the blend output; and means for determining a resultant colour and a resultant opacity of a compositing operation on the first and second graphic elements, the resultant opacity being equal to the first opacity and the resultant colour having contributions from the first colour and the second colour while being dependent only on the blend output to provide the contribution of the second colour, the resultant colour also being independent of the first opacity.
-
-
32. A computer program product comprising machine-readable program code recorded on a machine-readable recording medium, for controlling the operation of a data processing apparatus on which the program code executes to perform a method of compositing graphic elements in a pixel-based renderer, said method comprising the steps of:
-
receiving a first graphic element having a first colour and a first opacity and a second graphic element having a second colour and a second opacity; determining a blend output of a blend function dependent on the first colour and the second colour, wherein the blend function uses the second colour to modify the first colour to determine the blend output; and determining a resultant colour and a resultant opacity of a compositing operation on the first and second graphic elements, the resultant opacity being equal to the first opacity and the resultant colour having contributions from the first colour and the second colour while being dependent only on the blend output to provide the contribution of the second colour, the resultant colour also being independent of the first opacity.
-
Specification