« Colorize Black & White Art by Keymixing | Main | Alpha Channel as a Clipping Channel »

October 15, 2004

Creating an Outline

outline0.jpg
Sometimes it's handy to turn black and white images into smooth outlines. Here's a little recipe for doing just that.

outline1.jpg
Introduce some grey into the black and white image. One easy way to do this is to blur the image a bit. The bigger the blur, the broader the outline will be.

outline2.jpg
Make a copy of the original image and invert it.

outline3.jpg
When the two images are multiplied, wherever either image is black the resulting product is black. Wherever either image is grey, the other image is by necessity also grey, and the product of the multiplication is a dark grey.

outline4.jpg
If black is represented by an intensity of zero, and white is represented by an intensity of one, then the middle of a blur in a black and white image is a .5 grey.

The product of a .5 grey with itself is a .25 grey. To make a .25 grey look white, you need to brighten it by 400%

outline5.jpg

demoman.jpg
Here's the "outline" recipe in action. Black and white 3D turbulence wipes this movie set from "normal" to "icy." All of the gray areas in the wipe have been extracted using the recipe described above and turned electric blue.

Posted by digital artform at October 15, 2004 04:34 PM

Comments

Post a comment




Remember Me?

(you may use HTML tags for style)