Adaptive Histogram
Adaptive Histogram
Introduction:
Adaptive histogram is a digital image processing technique employed to increase the
contrast of images. Adaptive Histogram is different from Normal Histogram equalization in
some manners that adaptive histogram increases the contrast locally. It splits the image into
separate blocks and calculates histogram equalization for every portion. Thus, Adaptive
Histogram Equalization calculates many histograms, each one equivalent to a individual part of
the image. It improves the local contrast and definitions of edges in all individual areas of the
image.
Because their neighborhood wouldn't totally be contained within the image, pixels close to the
image boundary need to be handled differently. This is true, for instance, of the pixels in the
illustration to the left of or above the blue pixel. The image can be made larger by mirroring the
pixel lines and columns regarding the image boundaries. The border's pixel lines should not be
copied directly because that would result in a neighborhood histogram with a sharp peak.
Properties:
1. One of the parameters of the method is the size of the neighborhood area. It makes up a
distinctive length scale where contrast is increased at smaller scales and decreased at
bigger scales.
2. The result value of a pixel under Adaptive Histogram Equalization is proportional to its
rank among the pixels in its neighborhood due to the nature of histogram equalization.
This makes it possible to implement the algorithm effectively on specialized hardware
that can compare the central pixel to every other pixel nearby. One way to calculate an
unnormalized result value is to add 2 for each pixel that has a smaller value than the
centre pixel and 1 for each pixel that has an equal value.
3. The transformation function will apply a small range of pixel values to the entire range of
the final image when the image region comprising a pixel's neighborhood is
homogeneous regarding intensities; as a result, the histogram of this region will be
strongly peak. Due to this, Adaptive Histogram Equalization overamplifies small levels
of noise in the image's relatively homogeneous regions. [2]
clear all
close all
clc
f = imread('pout.tif');
k = adapthisteq(f);
figure
subplot(1,2,1)
imshow(k)
subplot(1,2,2)
imhist(k,64)
References