%%打开DICOM数据并将其保存为图像文件%变量%filename = 'filename' 括起来,要转换的 dicom 文件的名称%imagetype = 用“imagetype”括起来,输出图像类型的名称(png、bmp、jpg、png、tiff、gif 等。) 函数 dicom2image(文件名,图像类型) % Dicom 到图像转换器% 作者:兰斯·蒂诺% 版本:0.2 %% 输入错误检查%%%%%%%%%%%%%%%%%%%%%%%输入姓名%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%% 如果 ~exist('filename','var') % 不存在error('你需要一个输入名称!'); 结尾%%%%%%%%%%%%%%%%%%%%%%% 图像类型 %%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%% 如果
2022-03-29 19:01:29
2KB
matlab
1