We are independent & ad-supported. We may earn a commission for purchases made through our links.
Advertiser Disclosure
Our website is an independent, advertising-supported platform. We provide our content free of charge to our readers, and to keep it that way, we rely on revenue generated through advertisements and affiliate partnerships. This means that when you click on certain links on our site and make a purchase, we may earn a commission. Learn more.
How We Make Money
We sustain our operations through affiliate commissions and advertising. If you click on an affiliate link and make a purchase, we may receive a commission from the merchant at no additional cost to you. We also display advertisements on our website, which help generate revenue to support our work and keep our content free for readers. Our editorial team operates independently of our advertising and affiliate partnerships to ensure that our content remains unbiased and focused on providing you with the best information and recommendations based on thorough research and honest evaluations. To remain transparent, we’ve provided a list of our current affiliate partners here.
Technology

Our Promise to you

Founded in 2002, our company has been a trusted resource for readers seeking informative and engaging content. Our dedication to quality remains unwavering—and will never change. We follow a strict editorial policy, ensuring that our content is authored by highly qualified professionals and edited by subject matter experts. This guarantees that everything we publish is objective, accurate, and trustworthy.

Over the years, we've refined our approach to cover a wide range of topics, providing readers with reliable and practical advice to enhance their knowledge and skills. That's why millions of readers turn to us each year. Join us in celebrating the joy of learning, guided by standards you can trust.

What Is Histogram Matching?

Mary McMahon
By
Updated: May 17, 2024
Views: 13,144
References
Share

Histogram matching converts the histogram, the profile of light and dark elements, in a target image to that of a reference image. It is used in image processing to adjust one or more images for better clarity, quality, or other traits. Computer programs can perform this procedure automatically when directed to do so by the user. Complex algorithms are involved to ensure that the data remains as intact as possible.

In a histogram, important information about the distribution of light and dark in an image is provided, classically in the form of a bar graph. Each bar in the graph indicates the number of pixels that share a specific trait, from absolute darkness to complete whiteness. Histograms can be used with both color and black and white images. In matching procedures, images are run through an algorithm to line their histograms up.

One common application of this technology is in the processing of satellite images. Researchers may want to make a mosaic of images that were taken at different times, angles, or in different conditions. For example, some consumers use mapping programs and expect to be able to see a satellite view of an area which may include an assortment of images taken by different cameras and at different times. In histogram matching, the color and tone profiles of the images are adjusted so they can be matched up with a minimum of clashing.

This procedure is also used for handling medical images, restoration of photographs, or processing of data from sensors that are not always completely reliable. The reference image provides a baseline histogram for a computer algorithm to use in the match. In the process, it is important to be aware that gaps and errors can be introduced to the image. Missing data can create problems, depending on the image and the level of adjustment that needs to take place, and may be a cause for concern in some settings. Computer programs used in histogram matching can be adjusted to address this.

As with other digital image adjustments, it is possible to reverse histogram matching if it does not work as expected. The user can ask the computer to undo the image transformation and return the target to its previous state. This can allow the user to determine what went wrong, and adjust the parameters of the histogram matching for a more successful second attempt. If an image is particularly sensitive, it may be advisable to leave the raw file intact and make a copy for processing and transformation, in case of accidents.

Share
WiseGeek is dedicated to providing accurate and trustworthy information. We carefully select reputable sources and employ a rigorous fact-checking process to maintain the highest standards. To learn more about our commitment to accuracy, read our editorial process.
Link to Sources
Mary McMahon
By Mary McMahon

Ever since she began contributing to the site several years ago, Mary has embraced the exciting challenge of being a WiseGeek researcher and writer. Mary has a liberal arts degree from Goddard College and spends her free time reading, cooking, and exploring the great outdoors.

Editors' Picks

Discussion Comments
Mary McMahon
Mary McMahon

Ever since she began contributing to the site several years ago, Mary has embraced the exciting challenge of being a...

Learn more
Share
https://www.wisegeek.net/what-is-histogram-matching.htm
Copy this link
WiseGeek, in your inbox

Our latest articles, guides, and more, delivered daily.

WiseGeek, in your inbox

Our latest articles, guides, and more, delivered daily.