NAME
anaglyph.pl - create a anaglyph from the source images
SYNOPSIS
# color anaglyph
perl anaglyph.pl left_input right_input output
# grey anaglyph
perl anaglyph.pl -g left_input right_input output
perl anaglyph.pl --grey left_input right_input output
perl anaglyph.pl --gray left_input right_input output
# pure anaglyph (blue)
perl anaglyph.pl -p left_input right_input output
perl anaglyph.pl --pure left_input right_input output
# pure anaglyph (green)
perl anaglyph.pl -p --green left_input right_input output
perl anaglyph.pl --pure --green left_input right_input output
DESCRIPTION
See http://www.3dexpo.com/anaglyph.htm for an example where this might be useful.
Implementation based on the description at http://www.recordedlight.com/stereo/tutorials/ps/anaglyph/pstut04.htm though obviously the interactive component is missing.
AUTHOR
Tony Cook <tony@imager.perl.org>
Thanks to Dan Oppenheim, who provided the impetus for this sample.
REVISION
$Revision: 719 $