Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


Harris Geospatial / Docs Center / Libraries / Coyote / HISTOMATCH

HISTOMATCH

HISTOMATCH

Name


      HistoMatch

Purpose



      This is a function for Histogram Matching, in which an image
      is manipulated in such a way that it's final histogram approximates
      the histogram of an input image or histogram. Histogram matching
      allows the user to specify the shape of the histogram of the final
      product.

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



      Image Processing

Calling Sequence



      output_image = HistoMatch(image, histogram_to_match)

Inputs



      image - The input image to be manipulated. Assumed to be a 2D byte array.
      histogram_to_match - Can be either a 1D long vector of 256 elements specifying
          the histogram to match, or a 2D byte array from which the histogram to
          match is calculated.

Outputs



      output_image - The manipulated image adjusted to the histogram specifications.

Input Keywords



      None.

Output Keywords



      None.

Dependencies



      None.

Method



      Based on the Histogram Matching method on pages 94-102 of Digital
      Image Processing, 2nd Edition, Rafael C. Gonzalez and Richard E. Woods,
      ISBN 0-20-118075-8.

Example



      There is an example program at the end of this file. It will require cgImage
      from the Coyote Library to run. You can also find an explanation of this program
      at http://www.idlcoyote.com/ip_tips/histomatch.html.

Modification History



      Written by David W. Fanning, January 2003.



© 2017 Exelis Visual Information Solutions, Inc. |  Legal
My Account    |    Buy    |    Contact Us