Change scale of intensity histogram

3 次查看(过去 30 天)
I'm trying to build an intensity histogram of one of my images (type uint16), but the scale it uses makes it impossible to select an area on it. (see image below)
Can anybody explain me how to change the scale for my intensity histogram, at the moment i use imhist to generate a histogram.
% s = size(MRIbrain);
Slicenumber = round((s(3)/2));
A = MRIbrain(:,:,Slicenumber);
figure, imhist(A)
end

采纳的回答

Azzi Abdelmalek
Azzi Abdelmalek 2014-1-30
Maybe you want :
ylim([min_value max_value])

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Histograms 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by