Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Have you tried normalizing the images by the standard deviation?

Convert them both to the CV_32F type, and calculate the mean and standard deviation of each image. Subtract the mean from each then divide by the stddev.

This is a simple way. If you want to search for more complicated ways, the key terms to use is "illumination invariance". There are a huge number of methods, so good luck.