matlab设计实验mri数据的显示

上传人:好** 文档编号:115358217 上传时间:2019-11-13 格式:DOC 页数:2 大小:26.50KB
返回 下载 相关 举报
matlab设计实验mri数据的显示_第1页
第1页 / 共2页
matlab设计实验mri数据的显示_第2页
第2页 / 共2页
亲,该文档总共2页,全部预览完了,如果喜欢就下载吧!
资源描述

《matlab设计实验mri数据的显示》由会员分享,可在线阅读,更多相关《matlab设计实验mri数据的显示(2页珍藏版)》请在金锄头文库上搜索。

1、MRI数据的显示 load mriD = squeeze(D);h0=figure(toolbar,none,. position,198 56 450 468,. name,实例81);h1=axes(parent,h0,. position,0.3 0.45 0.5 0.5,. visible,off);image_num = 8;image(D(:,:,image_num)axis imagecolormap(map)x = xlim;y = ylim;b1=uicontrol(parent,h0,. units,points,. tag,b1,. style,pushbutton,.

2、backgroundcolor,0.75 0.75 0.75,. position,50 100 60 20,. string,二维图,. callback,. cla,. contourslice(D,image_num),. axis ij,. xlim(x),. ylim(y),. daspect(1,1,1),. colormap(default);b2=uicontrol(parent,h0,. units,points,. tag,b2,. style,pushbutton,. backgroundcolor,0.75 0.75 0.75,. position,250 100 60

3、 20,. string,三维图,. callback,. cla,. phandles = contourslice(D,1,12,19,27,8);,. view(3);,. axis tight,. set(phandles,LineWidth,2);b3=uicontrol(parent,h0,. units,points,. tag,b3,. style,pushbutton,. backgroundcolor,0.75 0.75 0.75,. position,50 50 60 20,. string,立体图,. callback,. cla,. Ds = smooth3(D);,

4、. hiso = patch(isosurface(Ds,5),FaceColor,1,.75,.65,EdgeColor,none);,. hcap = patch(isocaps(D,5),FaceColor,interp,EdgeColor,none);,. colormap(map),. view(45,30),. axis tight,. daspect(1,1,.4),. lightangle(45,30),. lighting phong,. isonormals(Ds,hiso),. set(hcap,AmbientStrength,.6),. set(hiso,SpecularColorReflectance,0,SpecularExponent,50);b4=uicontrol(parent,h0,. units,points,. tag,b4,. style,pushbutton,. backgroundcolor,0.75 0.75 0.75,. position,250 50 60 20,. string,关闭,. callback,close);

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 建筑/环境 > 施工组织

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号