Hello YongHyun ,
There is a MATLAB function called ' imhistmatch ' which adjusts the histogram of an image to match N-bin histogram of a reference image. You can try to use this.
-Tejas
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!