Effacer les filtres
Effacer les filtres

3D histogram problem when deal with int16 image

2 vues (au cours des 30 derniers jours)
crus
crus le 3 Juin 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.
  1 commentaire
Image Analyst
Image Analyst le 3 Juin 2013
Please do "whos B" and tell us what it says.

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by