How can I generate the Intensity Mapping Function from two histograms?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen

I have got histograms of two images taken at different exposure. How can I generate the Intensity Mapping Function from these histograms?
0 Kommentare
Antworten (1)
Image Analyst
am 16 Feb. 2015
Bearbeitet: Image Analyst
am 16 Feb. 2015
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 Kommentare
Image Analyst
am 16 Feb. 2015
ABC's "Answer" moved here:

This is what I want. I need the code to generate the last graph in the image
Image Analyst
am 16 Feb. 2015
Just make a line and clip it.
inputGrayLevels = 0 : 255;
outputGrayLevels = slope * (inputGrayLevels - centerGL);
% Clip
outputGrayLevels = max(outputGrayLevels, 0);
outputGrayLevels = min(outputGrayLevels, 255);
Siehe auch
Kategorien
Mehr zu Histograms finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!