next up previous contents
Next: Smoothing etc Up: Greyscale images Previous: Reading an image   Contents

Bytscling and Hist_equalising

The image is still dark and lacks contrast

Plot a histogram of the image:

w,0 
plot,histogram(meteosat)
tv,bytscl(meteosat)  ;OR tvscl(meteosat)

plot,histogram(bytscl(meteosat))

bytscl will rescale any array to 0-255.

Contrast in some areas can be improved using,

tv,hist_equal(meteosat)

plot,histogram(hist_equal(meteosat))



lecjm 2008-11-06