Error in finding histogram of an image having required bins range [0 255].
조회 수: 1 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Histograms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!