Hello,
I'm currently working on a project where I have to compare similar histograms. These histograms are obtained from photos taken under different illumination conditions.
I know that OpenCV offers the compareHist function. However this function returns a metric of similarity and I'm looking for a method that matches corresponding peaks/valleys between similar histograms.
For instance, if we have two photos of the same subject, one underexposed and one with the "ideal" exposure, their histograms of intensity might look like this:
As shown by the arrows, the peaks on one histogram also exist in the other. Anyone have a suggestion on how to match corresponding peaks?
Thank you!