Duff-Porter Alpha-Compositing Operators

In image alpha-compositing, the Duff–Porter operators are a standard set of 12 rules for determining the RGB values of each output pixel as a function of the RGB values of two corresponding input pixels. In this Demonstration an image of a spiral staircase (the "object") is composited with a background image of a tiger (the "image"). The default object "over" image compositing method corresponds to the usual application of alpha blending to semi-transparent foreground objects. Different compositing methods produce other interesting effects.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.