ImageOverlay:

Path: Common/Graphics

% This function displays an image file and overlays text boxes.
 The image file is in a .mat file. To generate the image:

   xPict = imread('filename');
   save imageName xPict

   ImageOverlay('imageName',wData)
--------------------------------------------------------------------------
   Form:
   ImageOverlay( x, wData, tBoxes )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x                 Image file on initialization or text data
   wData             Window name
                     .name   string
                     .color  [r g b]
   tBoxes            Box positions

   -------
   Outputs
   -------
   none

--------------------------------------------------------------------------

Back to the Common Module page