フィルターのクリア

3D histogram problem when deal with int16 image

2 ビュー (過去 30 日間)
crus
crus 2013 年 6 月 3 日
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 件のコメント
Image Analyst
Image Analyst 2013 年 6 月 3 日
Please do "whos B" and tell us what it says.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeHistograms についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by