Selfmade color coded 3d images

It is short instructions how to create color coded 3d images at your home. You need photo camera, digital prefered. Some image processing program, Adobe Photoshop for Mac and Windows users. And at last, 3d glases with red and blue filters (Blue for right eye and red for left one). In my experiments I used glases enclosed in Natianal Geographic magazine, August 1998.
First make 1 foto of your object, then move foto camera to right for ~4" or 10 cm. and make next foto. Now you have 2 images for both eyes. Download your images to computer (or develop and scan). Let's assume that image you made first (for left eye) is called "a_left.jpg" and second (for right eye) is called "a_right.jpg".
Start photoshop program and load "a_left.jpg". Use menu command: image-adjust-desaturate to discard color information. Then use: image-adjust-channel mixer. Enter following data to "Channel Mixer" window: Output channel: BLUE, Source channels: red-0%, green-0%, blue-0%, Constant: 100%. Press "OK".
Now use menu command: image-adjust-hue/saturation. In "Hue/Saturation" window enter: Edit:Master, Hue -65% (minus), Saturation:0%, Lightness:0%. Press "OK". Now look at results- you must see normal b/w image using red filter and nothing or very light traces of image using blue filter. Now load second image, "a_right.jpg" to program. Use desaturate command and use menu: image-adjust-channel mixer. In mixer window enter: Output channel: RED, Source channels: R,G,B-0%, Constant-100%. Press "OK".
Drag "red" image to "blue" one. New layer must use "multiply mode". (layer-layer options, Mode: Multiply).
Now drag layers to set the most distant object in both layers as near as possible. Now crop image to remove single layer places of image. Now flatten image: menu: layer-flatten image. Convert to indexed color: image-mode-indexed color. Now export image as GIF or PNG. Don't use JPG file format because internal YUV compression distorts image.
In other programs you need to filter left eye image to "cyan only" and right eye image to "red only". Just test images before merging that you can see them only using one filter. Also you don't need to adjust images very precise- distance between left and right eye image can vary- make few experiments to achieve best 3d results.
3d stereo image
Color coded (Red + Cyan) 3d stereo image.

© 2001 by Savel