필터 지우기
필터 지우기

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 CenterFile Exchange에서 Histograms에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by