Professional Documents
Culture Documents
利用 MATLAB 实现医学图像处理与分析
利用 MATLAB 实现医学图像处理与分析
利用 MATLAB 实现医学图像处理与分析
6
2008 年 6 月 Application Research of Computers Jun. 2008
利 用 M AT LAB 实 现 医 学 图 像 处 理 与 分 析 *
1 1 2 1
高向军 , 田联房 , 王立非 , 毛宗源
( 1. 华南 理工 大学 自 动化科 学与 工程 学院 , 广州 510640; 2. 广州 中医 药大 学 祈福 医院 影像 中心 , 广州 511495 )
Abstract: This paper introduced how to realize the read, display and store of the DICOM format image file using MATLAB
( R2006b) ’s image processing toolbox. By analyzing those functions of the medical image processing in the image processing
toolbox, prosented the condition to judge the DICOM format image file and the warning about using those function. At last, in-
troduced two applications, which verifies it was concise and effective to realize the complex algorithm about the medical image
processing and analysis using the MATLAB software.
Key words: MATLAB; medical image; DICOM; level set
近年来, 许多数字化 医学影 像设备 不断应 用于临 床, 产 生 版本包括了对 DICOM 格式 的阅读、分析 到存 储的 函数。同 时
了大量的医学图像( 如 CT、MRI、PET、SPET 等) 。这些 医学 图 此版本也支持 Analyze 7. 5 和 Interfile 两 种医 学图 像格 式。 其
像具有成像机理多样、数 据结构 复杂、数据量 大等特 点 [ 1] 。而 中, Analyze 7. 5 是由 Mayo Clinic 编写的一种图像文 件格式, 用
实现对医学图像的处理和分析 是进行 放射医 疗诊断 的前提 和 来存储 MRI 数 据; Interfile 格式 用来 存 储核 医学 图 像, 便 于 在
基础, 因此具有相当重要的意义和价值。 不同系统上共 享及 交换。因 此 在 MATLAB( R2006b ) 环 境中,
为使医学图像设备的制造 厂商和 用户在 标准网 络上实 现 可以直接利用 MATLAB 所提供的医学图像处理 函数来实现 医
设备互连, 便利各类型的医学图像的开发和应用, 由美国 放射 学图像的处理和分析, 而不必再关心图像文件的格式、读写、显
本实例代码如下:
I = dicomread( ′CT-MONO2-16-ankle. dcm′) ; % 读 入 DICOM 文件
(a) 皮肤组织 (b) 骨骼组织
imshow( I, ′ , [ ] ) % 如图 2
DisplayRange′
图 员 图像显示效果
info = dicominfo( ′ ) ; % 读入图像文件信息
CT-MONO2-16-ankle. dcm′
siUID = info. SeriesInstanceUID; % 获取 图像 的序列 实例 UID
2 图像格式转换 Imodified = I; % 定 义一个 同维的 数据 矩阵
maxv = max( I( : ) ) ;
dicomwrite( Imodified, ′
ankle_newseries. dcm′
, info) ; 在 MATLAB 中, 笔者 实现算 法如下: a) 读入图 像, 预定 义
3. 2 Level s et 图像分割 初始轮廓, 如图 3( a) 所示; b) 定义 离散化 水平集 函数; c) 曲 线
( 上 接第 1740 页 ) 相 比, 本文 算法虽 然计 算量 有所 增大, 但 能 acomposite method[ J] . P attern Recogn ition , 1989 , 22 ( 4 ) : 381-
前景边界的方块效应问题, 适用 于更多 类型的 指纹图 像, 且 分 [ 8] ROSENFILD A, KAK A C. Digital image processing [ M] . New