Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Match corresponding peaks/valleys of similar histograms

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:

image description

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!

Match corresponding peaks/valleys of similar histograms

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:

image description

As shown by the arrows, the peaks on in one histogram also exist in the other. Anyone have has a suggestion on how to match corresponding peaks?

Thank you!

Match corresponding peaks/valleys of similar histograms

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:

image description

As shown by the arrows, the peaks in one histogram also exist in the other. Anyone has a suggestion on how to match corresponding peaks?

Thank you!