++ed by:
ALEXBYK ANTIPASTA AWNCORP EGOR EMAZEP

25 PAUSE user(s)
13 non-PAUSE user(s).

Tony Cook

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.

CAVEAT

Using JPEG as the output format is not recommended.

AUTHOR

Tony Cook <tonyc@cpan.org>

Thanks to Dan Oppenheim, who provided the impetus for this sample.

REVISION

$Revision$




Hosting generously
sponsored by Bytemark