Filter löschen
Filter löschen

3D histogram problem when deal with int16 image

2 Ansichten (letzte 30 Tage)
crus
crus am 3 Jun. 2013
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.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by