next up previous contents
Next: Section 6: Final thoughts Up: An Introduction to IDL Previous: Exercise 2: Plotting Saharan   Contents

Section 5: Images

IDL is quite good at handling images. I'll just give one example here.

image = READ_PNG ('~lecjm/public_html/Teaching/IDL_course/New_Course_v1/Data/080409_1000_wv62.png')
window,0,retain=2,xsize=1180,ysize=1180
tv,image

Read off values using rdpix.

Try tv,bytscl(image) and tv,hist_equal(image). What do these actually do?

How would you resize the image so it fits in a smaller window? (Look up rebin and congrid)



John Marsham 2009-12-07