can we change the intensity value of the histogram??
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
user06
am 2 Jul. 2015
Kommentiert: Image Analyst
am 5 Jul. 2015
suppose we ha histogram. on a particular x value i want to change the y value . can it be possible ? if yes then tell me ..
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 3 Jul. 2015
Yes. To change the counts array, just change it. For example to change the number of counts in bin #101 (which holds counts for gray level 100), and to get rid of big spikes at the ends, do this:
[pixelCounts, grayLevels] = imhist(grayImage);
pixelCounts(101) = 1234; % Change count to 1234.
% Suppress big spikes at 0 and 255:
pixelCounts(1) = 0;
pixelCounts(256) = 0;
4 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Histograms finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!