Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can equalize the two images with equalizeHist. This will also brighten up the dark areas to get more detail. This is the simpler solution.

Another solution would be to compute the histogram (H1,H2) of the two images, then calculate the energy of each histogram (E1,E2) and multiply image1 be E2/E1.