3D histogram problem when deal with int16 image

2 次查看(过去 30 天)
Hi,everyone I met a strange problem when dealing with a histogram of a 3D image.My purpose is to obtain a histogram of a 3D image.It works well on a standard image,but,occuring problem when applied to another one.following are my images and simple code.
clc; clear;
file1='HFH_001.hdr';
A=analyze75read(file1);
B=A(:);
imhist(B);
>>HFH_001.hdr can be loaded here http://www.kuaipan.cn/home.htm>user_name:616974841@qq.com
password:violence
class(HFH_001.hdr) equals int16,the intensity ranges from 0 to 407.But when applied to the
code,the histogram only have one value:128,I don't know why.Would you help me.
Thanks.

回答(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