Digital Image Processing

Course Nos. ECE.09.452 and ECE.09.552
Fall 2009

Introduction to the Matlab Image Processing Toolbox

Basics


Types of Images in Matlab

For this class, will use the following three image types:
  1. RGB or True-Color Images: There are three matrices associated with a true-color image of size M x N - the Red matrix, the Green Matrix and the Blue matrix, each of size M x N. Typically, each of these matrices contain values between 1 and 256; 1 indicating the least intensity and 256 the highest for each of the colors. The three matrices are combined into a single M x N x 3 multidimensional matrix with 3 planes - the R plane, the G plane and the B plane.
  2. Indexed Images: Although indexed images are used for displaying color images, we shall use them for displaying gray-level images. There are two matrices associated with an indexed image of size M x N to be diplayed using G gray levels:
  3. An image matrix element with a value of, say 5, will be displayed with the graylevel corresponding to the 5th row of the colormap matrix.
  4. Intensity Images: These are the actual graylevel images. There is only one matrix, the image matrix, but the elements of the matrix must have values between zero and 1 only.
  5. Binary Images: Again, only one image matrix with elements being 1 or 0.

Importing and Exporting Image Files

Conversions Between Different Image Types