>  Docs Center  >  Libraries  >  Coyote  >  IMAGE_BLEND

IMAGE_BLEND

IMAGE_BLEND

Name


      IMAGE_BLEND

Purpose


      The purpose of this program is to demonstrate how to
      use the alpha channel to blend one image into another.
      The specific purpose is to see a color image on top of
      a gray-scale image, with the gray-scale image showing
      through behind the color image.

Author


      FANNING SOFTWARE CONSULTING
      David Fanning, Ph.D.
      1645 Sheely Drive
      Fort Collins, CO 80526 USA
      Phone: 970-221-0438
      E-mail: david@idlcoyote.com
      Coyote's Guide to IDL Programming: http://www.idlcoyote.com

Category



      Widgets, Object Graphics.

Calling Sequence



      Image_Blend

Required Inputs



      None. The images "worldelv.dat" and "ctscan.dat" from the
      examples/data directory are used.

Optional Inputs



      backgroundImage:: A 2D image variable that will be used for the background image.
      foregroundImage: A 2D image variable that will be used for the foreground image.
  OPTIONAL KEYWORD PARAMETERS:
      COLORTABLE: The number of a color table to use for the foreground image.
      Color table 3 (red temperature) is used as a default.

Common Blocks



      None.

Side Effects



      None.

Restrictions



      None. The program XCOLORS is required from the Coyote library.

Example



      Image_Blend, Colortable=5

Modification History



      Written by David Fanning, 30 March 99.
      Fixed bug where I redefined the image parameter. Duh... 1 April 99. DWF.
      Moved the program into the 21st century. :-) 21 March 2003. DWF.
      Added TIFF, GIF (if version supports it), and PS output. 27 December 2006. DWF.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us