필터 지우기
필터 지우기

Hi! Question about image processing.

조회 수: 1 (최근 30일)
Portgas Ace
Portgas Ace 2014년 8월 9일
댓글: Image Analyst 2014년 8월 15일
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
Image Analyst 2014년 8월 9일
편집: Image Analyst 2014년 8월 9일
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
Portgas Ace 2014년 8월 15일
hi! the link you've given about the colorhistwarp by mark grundland seems to be promising. But i cant seem to find a sample code for me to work with. We're allowed to use already working codes as long as we have understand how does it happen. If you could help me find a code to perform the colorhist warping, I would appreciate it really much.
Image Analyst
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.

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by