Boost GIL


HM

Histogram Matching(HM)

Histogram Matching(HM)

Contains implementation and description of the algorithm used to compute global histogram matching of input images.

Algorithm :- 1. Calculate histogram A(pixel) of input image and G(pixel) of reference image. 2. Compute the normalized cumulative(CDF) histograms of A and G. 3. Match the histograms using transformation => CDF(A(px)) = CDF(G(px')) => px' = Inv-CDF (CDF(px))