Read, Display and Analyze Lena Image

Save the image of lena shown below in a file lena.png.

The image can be read with the IDL procedure read_image.

Write a procedure named read_lena. Use the procedure to read the image and print out the following information:

  1. Number of rows in the image
  2. Number of columns in the image
  3. Brightest pixel value
  4. Darkest pixel value
  5. Brightest pixel location
  6. Darkest pixel location
You will find the following procedures or functions to be useful: READ_IMAGE, MAX, MIN, SIZE, WHERE. You can find information about these functions in IDL Online Help.

Submit the program named read_lena.pro to the instructor for evaluation.