MATLAB: How to normalise Image intensity

digital image processingimageimage analysisimage processing

Hi,
I have 2 picture of the same object taken on different time. There are intensity different between the 2 picture(minor changes in lighting condition.)
Is there a way for me to make both to have the same intensity? Eg, Im2's intensity follows Im1's intensity?
Im1:
Im2
Thanks

Best Answer

Hi Kyle,
The method suggested by Sean de is fine to normalize the maximum intensity. However, it will not necessarily give you the same appearance for both images (due to the intensity distributions not definitely being scaled by a multiplicative factor).
I suggest you try the histogram transfer method in order to get a somewhat similar appearance. Something along the lines of:
b = histeq(b,imhist(a));
Cheers.
Related Question