How can I generate the Intensity Mapping Function from two histograms?

I have got histograms of two images taken at different exposure. How can I generate the Intensity Mapping Function from these histograms?

답변 (1개)

Image Analyst
Image Analyst 2015년 2월 16일
편집: Image Analyst 2015년 2월 16일

0 개 추천

Try imhistmatch(), or for something more accurate, try the one in my File Exchange http://www.mathworks.com/matlabcentral/fileexchange/28972-custom-shaped-histogram
For color, the best one I've seen is by Mark Grundland: http://www.eyemaginary.com/Portfolio/ColorHistogramWarp.html
Also see this by Brett Shoelson at the Mathworks: http://www.mathworks.com/matlabcentral/fileexchange/27396-matchhistograms

댓글 수: 2

ABC's "Answer" moved here:
This is what I want. I need the code to generate the last graph in the image
Just make a line and clip it.
inputGrayLevels = 0 : 255;
outputGrayLevels = slope * (inputGrayLevels - centerGL);
% Clip
outputGrayLevels = max(outputGrayLevels, 0);
outputGrayLevels = min(outputGrayLevels, 255);

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

카테고리

도움말 센터File Exchange에서 Time Series Events에 대해 자세히 알아보기

질문:

ABC
2015년 2월 16일

댓글:

2015년 2월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by