请教,关于imshow
程序如下I1_1= repmat(uint16(0), );
for i=1:10
imagename=strcat('F:\fairy\Maria\images_bumil\case_1\extend\',num2str(i));
I1_1(:,:,1,i)=dicomread(imagename);
end
figure,imshow(I1_1,'DisplayRange',[]);
结果一运行就说
??? Error using ==> imuitools\private\imageDisplayParseInputs>validateCData
Unsupported dimension
Error in ==> imuitools\private\imageDisplayParseInputs at 205
cdata = validateCData(cdata,image_type);
Error in ==> imshow at 151
[cdata, cdatamapping, clim, map, xdata, ydata, ...
Error in ==> readdicom_tt at 20
figure,imshow(I1_1,'DisplayRange',[]);
我看了imagetype是intnsity的啊,不知道为什么不能显示。我是想把一大堆两维dicom文件放到一个三维矩阵里,然后显示。
新手,希望大家帮帮忙,谢谢
页:
[1]