clc; // 清屏
clear; //清楚变量 workspace
close all; // 关闭图像?
I = dicomread("path"); //医学图像的读取
f = imread("path"); //普通图像的处理
figure; //创建一个画板
imshow(I) //显示图像
figure;
imshow(I,[1024,2048]); //数值0是黑,255是白
figure;
subplot(2,2,1);
imshow(I);
figure;
subplot(2,2,2);
inshow(iI,[1222,1245])
figure;
subplot(2,2,3);
inshow(iI,[1222,1245])
figure;
subplot(2,2,4);
inshow(iI,[1222,1245])
医学图像读取代码
最新推荐文章于 2024-02-18 14:12:52 发布