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 #82390 is a reply to message #82299] Thu, 06 December 2012 15:45 Go to previous messageGo to previous message
Rebecca C is currently offline  Rebecca C
Messages: 5
Registered: December 2012
Junior Member
Haha, well I got those numbers by just viewing it with the TV and trying out different things until both showed up in full without being cut off, so its just approximate and admittedly random.

Secondly, the oceans.jpg says in the regular file explorer of my computer that it's 367x137 jpg file, same deal with Sky, which is how I got those dimensions.

For "rebin", I thought it would be good if the less-wide image, sky, could be the same width as ocean. I added the line

sky2=rebin(sky,367,137)

and then changed the later instance of "sky" to "sky2".

Of course I got execution halted, (Rebin: Result dimensions must be integer factor of original dimensions). I spent an hour trying to read about Rebin, decided I don't understand and cannot seem to translate it into this homework, and tried other things.

I really am doomed! I'm a senior in college and all of my grades over the years have been A's and A-'s, but I am taking this single course pass/fail and think I will be failing. I appreciate all of your advice, by the way, thank you immensely for your tips. :)

Rebecca
[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:06 PDT 2025

Total time taken to generate the page: 0.00410 seconds