I'm new in OpenCV and also in Image processing.
I have two images in grayscale. I want to balance their brightness (both images should have very similar brightness).
I think about equalizeHist
, but the result doesn't depend on the second image. I also find information about histogram matching, but I don't find any working example in OpenCV.
Could you give me a hint and example how to do that?