opencv - Is it possible to make two grayscale images stastistically equivalent? -


i have 2 grayscale images g1 , g2 . have statistics (min ,max ,mean , standard deviation). change g2 such statistics of g2 (min ,max,mean , sd)match g1. have tried arithmetic scaling , got min , max values of both g1 , g2 match mean , sd still different. have tried histogram fitting of g2 in g1 did not wanted either. using software called spider question applicable image-processing can performed using different software packages(opencv matlabetc) .any ideas , suggestions appreciated.

the easiest thing apply histogram equalization both images (histeq in matlab). if not want change both images, can histogram matching, that's bit more complicated.


Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -