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

Home » Public Forums » archive » Re: Writing mpeg from IDL (pseudo_to_true included)
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: Writing mpeg from IDL (pseudo_to_true included) [message #7486 is a reply to message #7404] Fri, 15 November 1996 00:00 Go to previous message
sterner is currently offline  sterner
Messages: 106
Registered: February 1991
Senior Member
"A. Scott Denning" <scott@abyss.atmos.colostate.edu> writes:

> Here is the simple procedure "pseudo_to_true", which I neglected to post
> along with the write_mpeg procedure:
. . .
> image24(0,*,*) = red(image8(*,*))
> image24(1,*,*) = green(image8(*,*))
> image24(2,*,*) = blue(image8(*,*))

Try the following simple change and see if it speeds things up a bit:

image24(0,0,0) = red(image8)
image24(1,0,0) = green(image8)
image24(2,0,0) = blue(image8)

Do a timing test in a loop and compare the two variations.

Ray Sterner sterner@tesla.jhuapl.edu
The Johns Hopkins University North latitude 39.16 degrees.
Applied Physics Laboratory West longitude 76.90 degrees.
Laurel, MD 20723-6099
WWW Home page: http://fermi.jhuapl.edu/s1r/people/res/res.html
[Message index]
 
Read Message
Read Message
Previous Topic: self programming IDL needed?
Next Topic: converting a gif file to a postscipt file

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

Current Time: Sat Oct 11 08:59:23 PDT 2025

Total time taken to generate the page: 1.20149 seconds