Hi! Question about image processing.
古いコメントを表示
So I have here different retinal images and they all have different 'contrast'. What can I do to make these images have the same 'intensity' or 'contrast' or 'appearance' between them. Is there a way where for example an image seems dark, it will be contrasted to a lighter image and if it's a light image, it will be contrasted the other way around?
回答 (1 件)
Image Analyst
2014 年 8 月 9 日
編集済み: Image Analyst
2014 年 8 月 9 日
0 投票
You can try histogram matching like this algorithm: http://www.eyemaginary.com/Portfolio/ColorHistogramWarp.html
The Image Processing Toolbox also has a imhistmatch() function in it. I also have a histogram matching routine in my File Exchange http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862 where you can make the histogram be any shape you like, for example below I make the histogram be the shape of the girl's silhouette:

Or you can play around with imadjust().
You might also look into HDR, High Dynamic Range Imaging.
2 件のコメント
Portgas Ace
2014 年 8 月 15 日
Image Analyst
2014 年 8 月 15 日
Sorry, I'd like to have the Grundland algorithm in MATLAB code but I don't. If you code it up, please put it on the File Exchange. It is the best color histogram matching algorithm I've seen.
カテゴリ
ヘルプ センター および File Exchange で High Dynamic Range Images についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!