Borrar filtros
Borrar filtros

Error in finding histogram of an image having required bins range [0 255].

1 visualización (últimos 30 días)
I am having an brain image. Following code is used to find histogram (Input image and histogram is attached):
I_1=niftiread('Brats18_2013_5_1_flair.nii.gz');
I=double(I_1);
[R C N]=size(I);
for i=100
img_1=I(:, :, i);
img=fliplr(imrotate(img_1,-90));
H=imhist(img)
end
But I am not getting desired histogram. Kindly provide the solution.

Respuestas (0)

Categorías

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

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by