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

Home » Public Forums » archive » JPEG image help - Easy for people who understand 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: JPEG image help - Easy for people who understand IDL?! [message #82398 is a reply to message #82299] Thu, 06 December 2012 14:26 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Rebecca C writes:

> I'm not really sure what this group is for but I'm hoping someone who understands IDL can see this and help me! Thanks in advance for reading on :)

You are in the right place to learn something about IDL,
but we don't do homework here. (Most of us have had our
fill of it in previous lives.)

> So, I'm in "Intro to IDL" class, and understand mostly nothing.

Oh, oh. There are some pretty good books available. You might
want to see if you can find one in the library. I would
recommend Ken Bowman's book as a really good place to start:

http://www.idlcoyote.com/documents/book_recommendations.html


> We are given two files, one "ocean.jpg" and the other "sky.jpg". The question is to merge the two jpegs so one is on top, and the other on bottom, and to save this jpg.
>
> Here is the procedure I have:
>
> PRO jpghomework
>
> file='sky.jpg'
> read_JPEG,file,sky
>
> file2='ocean.jpg'
> read_JPEG,file2,ocean
>
> tv,sky,true=1
> tv,ocean,true=1
>
> end
>
> I have been trying to read and figure this out for two days, and it is due soon. Our professor is nonexistent (unreachable, no course material etc) so please think of this as I'm just a person who knows nothing about IDL, has Google, and the IDL workstation in front of me to try things out.

Well, maybe you will get a C for effort, anyway. Here is what I
do. I would open up the IDL on-line help:

IDL> ?

And I would study the keywords for the Window, Size,
and TVRD commands, and, of course, the TV command. Do
this for 10-15 minutes and see if a specific question
occurs to you. If it does, get back to us and we'll see
how it goes. We are very good at answering specific
questions. :-)

Most of your questions, by the way, can be found by
perusing this web page:

http://www.idlcoyote.com

Especially, the Programming Tips section:

http://www.idlcoyote.com/documents/tips.php

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Two new IDL Help Articles describing how to use the Workbench are made available now.
Next Topic: Obtaining all values of an HDF5 attribute w/o looping

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

Current Time: Wed Oct 08 19:55:20 PDT 2025

Total time taken to generate the page: 0.00485 seconds