Multiple backdrop compositing
AssigneeAdobe Systems Incorporated
InventorMark Hamburg
Life of this patent
Estimating the term…
Abstract
Methods and apparatus, including computer program products, implementing techniques for compositing a digital image. The invention performs the steps of providing a current accumulation image; identifying as the current element of the digital image to be processed a graphics element having a backdrop property, the backdrop property identifying a backdrop image into which the element is to be blended; using the element and the backdrop image to create a modified backdrop image; obtaining a shape mask for the element; and crossfading the current accumulation image with the modified backdrop image using the shape mask. The result of the crossfading becomes the current accumulation image for any further compositing.
Claims24
A computer program product for compositing graphics elements having a compositing order, the computer program product being tangibly embodied in a machine-readable storage device and comprising instructions operable to cause a programmable processor to perform operations comprising:
- initializing an accumulation buffer and one or more backdrop buffers and then processing the graphics elements taken in the compositing order through a compositing loop of actions, the actions comprising processing each graphics element in order by:
- determining whether the graphics element is a backdrop update element;
- if the graphics element is a backdrop update element, identifying one or more backdrop buffers associated with the graphics element and updating each of the one or more backdrop buffers using the current accumulation buffer contents;
- and
- if the graphics element is not a backdrop update element, identifying a source buffer, the source buffer being the accumulation buffer or a backdrop buffer;
- copying the source buffer to a working buffer;
- using the element to modify the working buffer;
- determining a shape mask for the graphics element;
- and crossfading the accumulation buffer with the working buffer using the shape mask, leaving the result in the accumulation buffer.
A computer program product tangibly embodied in a machine-readable storage device and comprising instructions operable to cause a programmable processor to perform operations comprising:
- identifying a graphics element in a compositing order, the graphics element identifying a source image from among a plurality of images;
- copying the source image into a working buffer;
- using the element to modify the working buffer;
- determining a shape mask for the graphics element;
- and
- crossfading a first image with the modified working buffer using the shape mask.
A computer program product tangibly embodied in a machine-readable storage device and comprising instructions operable to cause a programmable processor to perform operations comprising:
- receiving a first input from a user through a user interface, the first input placing a backdrop update element in an image stack, the backdrop update element specifying that a first image is to be copied to a first backdrop buffer when the backdrop element is processed in compositing the image stack;
- and
- receiving a second input and a third input from the user through the user interface, the second and third input respectively placing a first and a second filter element in the image stack at a later compositing position than the backdrop update element, each of the first and the second filter element specifying operations to be performed when the respective filter element is processed in compositing the image stack,
- the first element specifying (i) a first filter operation to be performed on the first image from the first backdrop buffer to produce a first filtered image and (ii) a color blend of the first filtered image to be performed into a current accumulation buffer,
- the second element specifying (i) a second filter operation to be performed on the first image from the first backdrop buffer to produce a second filtered image and (ii) a color blend of the second filtered image to be performed with into the current accumulation buffer.
Dependencies are inferred from the claim text.