Change scale of intensity histogram

3 visualizaciones (últimos 30 días)
Hugo
Hugo el 30 de En. de 2014
Comentada: Hugo el 30 de En. de 2014
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

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 30 de En. de 2014
Maybe you want :
ylim([min_value max_value])
  1 comentario
Hugo
Hugo el 30 de En. de 2014
Thanks a lot, couldn't find it in the help function

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Histograms en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by