title: 3D-Anaglyph creation algorithm, using depth map image: where to find?
body: <p>I'm looking for a generic algorithm to calculate a red/cian anaglyph starting from the original image and his b/w depth map (example: <a href="http://www.swell3d.com/2008/07/turn-2d-painting-into-3d-anagl.html" rel="nofollow">http://www.swell3d.com/2008/07/turn-2d-painting-into-3d-anagl.html</a>)</p>
  
  <p>That algorythm are used, for example, in Photoshop but I can't find a readable explanation to reproduce it.</p>
  
  <p>Thanks</p>