comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Anaglyph display by IDL ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Anaglyph display by IDL ? [message #1668] Wed, 16 February 1994 09:17 Go to previous message
sterner is currently offline  sterner
Messages: 106
Registered: February 1991
Senior Member
xiaoming@fstgds08.tu-graz.ac.at (Xiaoming Xu) writes:

> is it possible display an anaglyph image pair with IDL?
> Thank you for your answer in advance!

Try using color_quan to combine the left and right images into
one red/green or red/blue image.

For example, suppose your anaglyph viewer has a red filter for the
left eye and a blue one for the right eye. Let the corresponding
images be left and right. Then try the following:

c = color_quan(left, left*0, right, r, g, b)
tv, c
tvlct, r, g, b

This assumes that both images are scaled to the range 0 to 255.

Ray Sterner sterner@tesla.jhuapl.edu
Johns Hopkins University North latitude 39.16 degrees.
Applied Physics Laboratory West longitude 76.90 degrees.
Laurel, MD 20723-6099
[Message index]
 
Read Message
Read Message
Previous Topic: Need help with CONTOUR shading error
Next Topic: IDL Map warping

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 18 02:37:58 PDT 2025

Total time taken to generate the page: 0.96113 seconds