Re: JPEG image help - Easy for people who understand IDL?! [message #82390 is a reply to message #82299] |
Thu, 06 December 2012 15:45   |
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
|
|
|