Read, Display and Analyze Lena Image

Save the image of lena shown below in a file lena.jpg. The format of this image, called "jpeg", is one of the standard formats used in web browsers. The letters stand for "Joint Photographic Experts Group".

The image can be read with the IDL procedure read_jpeg.

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_JPEG, 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.