Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
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.

Antworten (0)

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by