DICOM图像浏览器

合集下载

基于Qt和DCMTK的DICOM浏览器的开发

基于Qt和DCMTK的DICOM浏览器的开发

基于Qt和DCMTK的DICOM浏览器的开发康亚冰;刘哲星;艾育华;陈芳炯;耿仁文【摘要】DICOM (Digital Imaging and Communications in Medicine) is a kind of digital imaging andrncommunications standard in medicine, which covers medical image collection, filing, communication,rndisplay, query and almost all information exchange protocols. It simplifies the implementation of medical rnimage information exchange. This paper proposes a method of extracting information, displaying and rnprocessing of DICOM images based on Qt and DCMTK, and preliminarily realizes a DICOM imaging rnbrowser.%DICOM(Digital Imaging and Communications in Medicine,DICOM)是医学数字成像和通讯的标准,它涵盖了医学影像的采集、归档、通信、显示以及查询等几乎所有信息交换的协议,它的推出简化了医学影像信息交换的实现.本文提出基于Qt框架和DCMTK平台实现DICOM医学影像信息提取、图像显示以及图像处理的方法,并初步实现了一个DICOM图像的浏览器.【期刊名称】《中国医疗设备》【年(卷),期】2012(027)011【总页数】5页(P50-53,36)【关键词】图像浏览器;PACS;DICOM3.0;Qt;DCMTK【作者】康亚冰;刘哲星;艾育华;陈芳炯;耿仁文【作者单位】华南理工大学电子与信息学院,广东广州510641;南方医科大学生物医学工程学院,广东广州510515;南方医科大学南方医院,广东广州510515;华南理工大学电子与信息学院,广东广州510641;南方医科大学南方医院,广东广州510515【正文语种】中文【中图分类】TP393.092;TP311.520 前言计算机和通信技术的高速发展推动了数字影像的进步,医院信息化建设目前已经取得了长足的进步。

学习使用医学影像软件DICOMViewer

学习使用医学影像软件DICOMViewer

学习使用医学影像软件DICOMViewer第一章:医学影像技术的发展和应用医学影像技术是现代医学中不可或缺的重要手段,它可以通过获取人体内部的图像信息,帮助医生进行诊断、治疗和手术规划等工作。

随着科技的不断发展,医学影像软件也得到了极大的改进和创新,其中一款重要的软件就是DICOMViewer。

第二章:DICOMViewer的介绍和功能DICOMViewer,全称Digital Imaging and Communications in Medicine Viewer,是一种专业的医学影像软件。

它采用DICOM标准格式,可以快速加载、显示和处理医学影像数据。

DICOMViewer具有多种功能,包括影像的浏览、窗宽窗位调整、多序列对比、测量分析、三维重建等。

通过这些功能,医生可以更方便地分析和解读医学影像。

第三章:DICOMViewer的使用技巧和操作方法DICOMViewer的使用方法并不复杂,但需要一些专业的技巧。

首先,用户需要打开软件,并加载DICOM格式的影像数据。

加载完成后,可以在软件界面上进行窗宽窗位的调整,以改变图像的对比度和亮度。

此外,用户还可以选择不同序列的影像进行对比,以帮助更全面地了解患者的病情。

另外,软件还提供了多种测量工具,如长度、面积、角度的测量,以及多个影像的叠加和三维重建。

用户可以根据需要选择合适的功能来处理影像。

第四章:DICOMViewer在临床应用中的价值DICOMViewer在临床应用中具有重要的价值。

首先,它可以帮助医生更直观地观察和分析患者的病情,准确判断疾病的位置和程度。

其次,DICOMViewer可以进行影像的测量和分析,提供客观的数据支持,辅助医生做出准确的诊断和治疗方案。

再次,DICOMViewer还可以进行三维重建,使医生可以更全面地了解患者的解剖结构,为手术规划提供帮助。

总之,DICOMViewer在临床应用中的价值不可低估。

第五章:DICOMViewer的发展趋势和挑战随着医学影像技术的不断发展,DICOMViewer也面临着一些发展趋势和挑战。

小赛看看 教程

小赛看看 教程

小赛看看教程【前言】本文主要介绍一个优秀的DICOM阅读器:小赛看看,包括文字版和视频版,文字版需要3分钟。

本文阅读群体为医学影像、放射诊疗、核医学、骨科、五官科、心内科、神经内外科、康复科等工作者,也对计算机编程、通信工程、信息工程开发者有提示意义。

【目录】一、DICOM阅读器简介二、国产免费优秀Dicom阅读器:小赛看看【内容】一、DICOM阅读器简介DICOM viewer,中文名称可以翻译为浏览器、查看器、阅读器、看图器,都是正确的,特指单机或网络版可以阅读、浏览、查看标准DICOM文件的应用程序。

如何评定一款DICOM阅读器的优秀与否,笔者认为主要包括以下几点(纯个人观点,不必挂心):1、运行稳定,一个成熟版本软件的基本素质,小赛看看运行中读取巨量数据(2000条以上)有类似死机状态。

Radiant dicom viewer非常稳定,没有出现错误、死机。

2、读取速度,Radiant是笔者用过(近20个)dicom阅读器中速度最快的,称得上王者,数量越多越明显,最大读取过近5000个文件,不到1分钟,还有一个是文件解锁功能,即文件读取结束后,可删除、修改原文件,不占用源文件,其他阅读器无此功能。

小赛看看读取速度中等,但是文件越多,速度越慢。

3、显示效果,小赛看看MPR多曲面重建显示效果很好,很方便观看图像,成像质量不错。

Radiant显示效果清晰、锐利,成像质量标准。

4、渲染速度,特指3D渲染速度,小赛看看无此功能,估计重点在PET-CT 图像融合,没有增加此模块。

Radiant渲染速度超快,但是三维图像显示效果略粗糙。

5、测量数据,二者中规中矩,基本测量数据都有。

6、前后对比,小赛看看提供前后图像对比,Radiant无此功能。

7、快捷键支持,这个对于提高工作效率有极大的帮助,笔者非常喜欢用快捷键,曾经跟小赛看看开发者联系过,提示过此事,后续版本未见增加,无此功能。

Radiant非常好,所有均支持快捷键,速度超快,无系统键占用。

医学生最好掌握的计算机软件

医学生最好掌握的计算机软件

医学生最好掌握的计算机软件1.文字处理系列,即office系列了word:是进行论文综述写作的必备软件,用得好可以单独应用它实现整个论文的写作,包括插入图片,参考文献的引用等。

这个不多介绍。

powerpoint:开题报告,论文答辩,大会小会发言,宣传自己作品,这个软件最好不过了,它可以查入动画,声音,视频等演示文件,增加您的说服力。

可以在网上找个教程自己来学。

excel:电子表格,有简单的统计功能,作统计图表很方便,输入数据就可以生成标准的统计图表,方便在word里引用。

还可以用它作记帐本呀,我就是这样,把实验费用都记在这里,可以随时统计金额。

onenote:这个在office2003里有,相当于记事本,但功能比记事本强大得多,可以插入图片,表格等。

2.字典工具:当然是金叶公司的产品了,这是专业的医学软件制作公司,最早出的网际金典相信很多朋友都用过吧。

2.1.新编全医药学大词典,对于医学生来说,这个词典比金山词霸要好很多,可以翻译出很专业的医学词组,词汇量极大。

2.2.医师用药参考:提供专业的用药参考,包括药物的相互作用,禁忌等。

3.统计软件用spss或sas都得啊,这可是论文中统计分析必不可少的哦。

sas9.0有中文版的,但是很大,有6CD,1.4G,安装后也很大,spss占用空间比较小,100M左右,10.0版我看到过中文版的,但不支持sp2,这些软件可以在网上找找。

4.参考文献管理软件:4.1.reference manager,推荐使用,它和 endnote都是isi公司的产品,但我个人认为RM比endnote好用,新出的endnote8.0支持中文,但常出问题,不知是***的原因还是软件本身的bug,但RM就很少出问题。

外文的参考文献用它的规范可以做得很标准。

4.2医学文献王:这是金叶公司2004.11推出的国内首款个人参考文献管理软件,对中文献的支持绝对比任何软件都好,但第一次做这种软件,仍有很多细节没处理好,不久将升级,让我们拭目以待吧。

脑血管造影旋转减影图像在普通电脑上的播放方法

脑血管造影旋转减影图像在普通电脑上的播放方法

脑血管造影旋转减影图像在普通电脑上的播放方法沈正林;赵玉勤【期刊名称】《放射学实践》【年(卷),期】2014(000)008【总页数】1页(P920-920)【关键词】血管造影术;脑血管;图像处理,计算机辅助;放射摄影术【作者】沈正林;赵玉勤【作者单位】441021 湖北,湖北省文理学院附属襄阳中心医院心导管室;441021 湖北,湖北省文理学院附属襄阳中心医院心导管室【正文语种】中文【中图分类】R814.41脑血管造影旋转减影图像在诊断复杂脑血管病变具有重要作用。

然而目前的DICOM读图软件在普通电脑上无法实现连续减影图像阅读功能。

蒙片组和靶片组的信息必须经DSA主机减影或后处理工作站配对减影处理才能显示出来。

还因机型的兼容问题可能导致在不同品牌的机器之间也不能相互观看彼此的旋转减影图像。

现向读者推荐一种在普通电脑上播放脑血管造影的旋转减影图像的简单方法。

第一步:从完成的旋转减影序列的第一帧减影图像开始,按照采集顺序进行实时监视器图像存储store monitor (SM)。

当Monitor监视器上显示的是减影图像,那么存储的也必然是减影图像。

将全部SM图像选定后刻盘。

在这个步骤中,最重要的一点就是不要把存储顺序颠倒了,因为DSA主机会根据存储的先后自动从小到大进行重新命名后存储。

如果存储顺序混乱必定导致播放顺序的混乱。

根据采集角速度的大小,旋转序列的图像数目可有不同。

通常情况下,脑血管旋转序列的图像帧数在100多帧,也就是要执行100多次SM像的选择和保存,稍显繁琐。

所有的DICOM读图软件都能读出这种单帧的减影SM图像。

第二步:用RadiAnt DICOM viewer软件打开光盘,选择SM序列,当其全部载入后就可以点击play进行减影图像的旋转播放了。

它的原理是利用连续显示图片的方法来达到旋转观察的效果。

RadiAnt是一个精致小巧的医学DICOM格式图像浏览器,由波兰人设计研发。

它小巧、简单、友好的设计风格和全面、实用、高效的功能特点,对快速地浏览DICOM格式的图像起到了很大作用,可以直接通过英文名字在网上下载这个免费软件。

基于DICOM动态图像的Web浏览系统开发

基于DICOM动态图像的Web浏览系统开发
为 医 学 影 像 技 术 及 图 像 后 处 理 、计 算 机 技 术 . EGmail:jsjwl@ccmu.edu.cn

3个问题: (1)DICOM 格式 图 像 无 法 直 接 在 通 用 浏 览 器 或
看图软件中打开,而 需 要 使 用 专 用 的 影 像 工 作 站 或 安 装 专 用 浏 览 软 件 ;如 果 医 生 或 科 研 工 作 者 需 要 在 医 院 、 实验室等以外的场所观看影像极为不便;
Abstract:A Webinteractivebrowsingsystem basedontheDICOM (digitalimagingandcommunicationsin medicine)standardandcontinuous multiGframedynamic medicalimageisestablished.Thecontinuous multiG framedynamic DICOM image system with theinteractive realGtime browsing is realized by using the technologiessuchasthevideocompression,streaming mediatransmission,Web,etc.Theuserscanbrowse thecontinuousmultiGframeimageofthedynamicDICOMimagedirectlyontheordinary Webbrowsertogeta singleframelosslessimageforaspecificpurpose.Thissystem canbeusedforthe wideareasharingofthe medicalimageandremoteimageteachingandresearch. Keywords:medicaldynamicimage;onlinebrowsing;videocompressiontechnology;DICOM

中国医学科学院肿瘤医院PET—CT科影像诊断软件及报告软件参数1

中国医学科学院肿瘤医院PET—CT科影像诊断软件及报告软件参数1

中国医学科学院肿瘤医院PET—CT科影像诊断软件及报告软件参数1、软件配置清单2、软件功能描述2.1 PACS影像诊断处理软件(1)可接收和显示多种设备的不同种类影像,如CR、CT、MRI、US、DSA等,支持动(静)态影像显示;(2)可通过网络进行影像数据快速查询与调阅(3)采用多线程调阅技术,支持影像的后台调阅,当第一屏影像显示完成后即可以进行图像处理,不需要等待全部影像传输完毕(4)所有诊断工作站都提供PACS原厂MPR功能,支持正交,任意角度显示和3D显示(5)可在每台诊断工作站上实现3D影像后处理功能,包括容积重建、血管分析等(6)支持设置多屏幕(单屏、双屏、四屏等)影像处理及显示(7)支持高分辨率灰阶及彩色专业显示器图像显示处理(8)在多显示屏环境下可自动设定影像显示模式以适合屏幕大小及分辨率(9)可根据患者姓名、检查设备、检查部位、检查时间等多种查询条件的组合形式查询,方便医生针对各种条件快速获取影像资料(10)提供病人影像历史记录管理面板,显示同一病人所有检查纪录并可加载相应影像(11)可同时调阅一个患者或多个患者不同诊断序列、不同体位、不同时期、不同成像设备的影像对比显示和诊断(12)灵活的挂片协议(“所见即所得”方式创建挂片协议),可根据不同设备的影像自动使用相应的挂片协议(13)自动加载病人既往影像资料和报告(14)全屏显示和分组显示(15)定位线显示和跟踪(16)链接平行图像系列,同步显示,支持智能链接(17)影像的整体窗宽/窗位调整,自动窗宽/窗位调整(18)可根据不同图像要求预设多种窗宽/窗位及快捷方式调整窗宽/窗位(19)可进行影像局部放大,自由缩放功能,放大倍率可以调整(20)提供图像增强功能(21)支持关键影像标注功能(22)用户自定义的图像排列方式(23)影像自由缩放及局部放大功能(24)能测量长度、角度、各种封闭区域面积,并可在图上增加文字注释、图形、箭头标注等,可手画线,并可保存标注信息(25)检查记录可附加留言备注(26)肢体测量,中心线测量,Cobb角测量(27)脊柱标记功能:一次标记,自动在所有序列的相关脊柱关节标准顺序号码(28)图像变换:提供图像显示移动、水平和垂直镜像、旋转、翻转功能等影像显示功能(29)图像平滑处理、负片显示功能(30)影像格式转换功能,能够将DICOM 影像转换成JEPG、BMP等多种常用影像格式,也可把普通格式影像转换为DICOM格式(31)影像动态电影回放,播放速度可由操作者调整,可将电影导成AVI方式输出(32)可接收存储多种设备及同时显示不同种类的DICOM影像(33)提供病人检查记录的刻盘导出,导出的光盘自带DICOM图像浏览器(34)多种打印排列组合方式,胶片打印可以任意排版,如品字型、回字型排列打印(35)提供所见即所得的胶片打印方式(36)提供预设文字、图片信息的页眉页脚打印(37)系统从在线影像存储提取图像时,首幅图像调阅时间应小于2秒。

dcm文件怎么打开?dcm文件用什么软件可以打开?

dcm文件怎么打开?dcm文件用什么软件可以打开?

dcm文件怎么打开?dcm文件用什么软件可
以打开?
dcm文件用什么软件可以打开?dcm文件被广泛应用于医疗行业,支持心电图、核磁共振图、超声心动图等等,如果你没有安装特定的打开dcm的软件是无法打开dcm文件的。

那么要使用哪一款软件打开dcm文件呢?其实医学DICOM图像浏览器软件就可以打开。

具体步骤:
1、在本站下载医学DICOM图像浏览器,得到安装包。

2、我们找到下载好的软件安装程序,然后双击安装。

3、接下来的这一步是安装的路径,这里默认是安装在c盘,直接下一步。

4、接下来提示已做好安装程序的准备,也就是我们前期的设置都完成了,直接就可以安装了。

5、接下来就是正在安装这个软件,中间有个进度条会显示安装的进度。

6、进度条走完之后,就直接会提示软件已经安装完成,也就是软件已经安装成功了,那么我们选择完成按钮结束此次的安装过程。

7、然后我们打开刚才安装好的软件,就进入了软件的界面。

8、接下来我们就来试着打开下我们的dcm文件,点击菜单栏的文件选项,选择打开文件,也可以直接选择打开文件的图标。

9、选择打开文件之后,就会弹出选择dcm文件的窗口,这里找
到我们想要打开的dcm文件所在的位置,找到文件然后选择打开即可。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

Image Viewer using Digital Imaging and Communications inMedicine (DICOM)Trupti N. BaraskarDepartment of Information Technology, Maharashtra Institute of Technology, Pune University, Maharashtra, India Email: trupti_001@, baraskartn@Mobile No. +91-9922789956, +91-20-25462867Abstract- Digital Imaging and Communications in Medicine is a standard for handling, storing, printing, and transmitting information in medical imaging. The National Electrical Manufacturers Association holds the copyright to this standard. It was developed by the DICOM Standards committee. The other image viewers cannot collectively store the image details as well as the patient's information. So the image may get separated from the details, but DICOM file format stores the patient's information and the image details. Main objective is to develop a DICOM image viewer. The image viewer will open .dcm i.e. DICOM image file and also will have additional features such as zoom in, zoom out, black and white inverter, magnifier, blur, B/W inverter, horizontal and vertical flipping, sharpening, contrast, brightness and .gif converter are incorporated.Keyword - Digital Imaging and Communication in Medicine (DICOM), National Electrical Manufacturers Association (NEMA), Information Object Definitions (IOD), Value Representation (VR).I.IntroductionDICOM stands for Digital Imaging and Communication in Medicine. The DICOM standard addresses the basic connectivity between different imaging devices and also the workflow in a medical imaging department. The DICOM standard was created by the National Electrical Manufacturers Association (NEMA) and it also addresses distribution and viewing of medical images. The standard comprises of 16 parts [1] and it is freely available at the NEMA website: ./dicom.html[2] .Within the innards of the standard are also contained a detailed specification of the file format for images. The latest version of the document is as of 2008[3]. In this article present a viewer for DICOM images DICOM Image File FormatThis present a brief description of the DICOM image file format. Like other image file formats, a DICOM file consists of a header, followed by pixel data. The header comprises of the patient name and other patient particulars and image details. Important in the image details are the image dimensions - width, height and image bits per pixel. All these details are hidden inside the DICOM file in the form of tags and their values. Before it gets into tags and values, a brief about DICOM itself and related terminology is in place. In what follows, this explains only those terms and concepts related to a DICOM file. In particular, this does not discuss the communication and network aspects of the DICOM standard. Everything in DICOM is an object - medical device, patient, etc. An object, as in object oriented programming is characterized by attributes. DICOM objects are standardized according to IODs (Information Object Definitions). An IOD is a collection of attributes describing a data object. In other words, an IOD is a data abstraction of a class of similar real world objects which defines the nature and attributes relevant to that class [4]. DICOM has also standardized on the most commonly used attributes and these are listed in the DICOM data dictionary [6]. An application which does not find a needed attribute name in this standardized list may add its own private entry, termed as a private tag; proprietary attributes are therefore possible in DICOM. Examples of attributes are study date, patient name, modality, transfer syntax UID, etc. As it can be seen, the attributes require different data types for correct representation. This “data type” is termed as Value Representation (VR) in DICOM. There are 27 such VRs defined[5], and these are AE, AS, AT, CS, DA, DS, DT, FL, FD, IS, LO, LT, OB, OF, OW, PN,SH, SL, SQ, SS, ST, TM, UI, UL, UN, US, and UT. For example, DT represents Date Time, a concatenated date time character string in the format YYYYMMDDHHMMSS.FFFFFF&ZZXX. An important characteristic of VR is its length, which should always be even. Characterizing an attribute are its tag, VR, VM (Value Multiplicity) and value. A tag is a 4 byte value which uniquely identifies that attribute. A tag is divided into two parts, the Group Tag and the Element Tag, each of which is of length 2 bytes. For example, the tag 0010 0020 (in hexadecimal) represents Patient ID, with a VR of LO (Long String). In this example, 0010 (hex) is the group tag, and 0020 (hex) is the element tag. The DICOM data dictionary gives a list of all the standardized group and element tags. Also important is to know whether a tag is mandatory or not. For data element type, five categories are defined - Type 1, Type 1C, Type 2, Type 2C, and Type 3. One more important concept is transfer syntax. In simple terms, it tells whether a device can accept the data sent by another device. EachCP1324,I nt e r nat i onal Conf e r e nc e on M e t hods and M ode l s i n Sc i e nc e and Te c hnol ogy (I CM 2ST-10)e di t e d by R. B. Pa t e l a nd B. P. Si ngh© 2010 A m e r i c a n I ns t i t ut e of Phys i c s 978-0-7354-0879-1/10/$30.00device comes with its own DICOM conformance statement, which lists all transfer syntaxes acceptableto the device. Transfer syntax tells how the transferred data and messages are encoded. Part [5 ] of the DICOM standard gives the transfer syntax as a set of encoding rules that allow application entities to unambiguously negotiate the encoding techniques (e.g., data element structure[8], byte ordering, compression) they are able to support, thereby allowing these application entities to communicate. (One more term here - Application Entity is the nameof a DICOM device or program used to uniquely identify it.)Transfer syntaxes for non-compressed images are:x Implicit VR Little Endian, with UID1.2.840.10008.1.2x Explicit VR Little Endian, with UID1.2.840.10008.1.2.1x Explicit VR Big Endian, with UID1.2.840.10008.1.2.2Images compressed using JPEG Lossy or Lossless compression techniques have their own transfer syntax UIDs. A viewer should be able to identify the transfer syntax and decode the image data accordingly; or display appropriate error messages if it cannot handle it. More points on a DICOM file, it is a binary file, which means that an ASCII-character-based text editor like notepad does not show it properly. A DICOM file may be encoded in Little Endian or Big Endian byte orders. Elements in a DICOM file are always in ascending order of tags. Private tags are always odd numbered. With this background, it is now time to develop into the DICOM File Format. A DICOM file consists of Preamble: comprising of 128 bytes, followed by, Prefix: comprising of the characters 'D', 'I', 'C', 'M', followed by, File Meta Header: This comprises, among others, of the Media SOP Class UID, Media SOP Instance UID, and the transfer syntax UID. By default, these are encoded in explicit VR, Little Endian. The data is to be read and interpreted depending upon the VR type. Data Set comprising of a number of DICOM Elements, characterized by tags and their values. The main functionality of a DICOM Image Reader is to read the different tags as per the transfer syntax and then use these values appropriately. An image viewer needs to read the image attributes - image width, height, bits per pixel and the actual pixel data. The viewer presented here can be used to view DICOM images with non-compressed transfer syntax. Open DICOM files with Explicit VR and Implicit VR Transfer Syntax, read DICOM files where image bit depth is 8 or 16 bits. Read a DICOM file with just one image inside it. Read a DICONDE file (a DICONDE file is a DICOM file with NDE - Non Destructive Evaluation - tags inside it). Display the tags in a DICOM file.Enable user to save a DICOM image as JPEG/GIF. This viewer is not intended to check whether all mandatory tags are present, open files with VR other than Explicit and Implicit - in particular, not to open JPEG compressed loss and lossless files. To read old DICOM files - requires the preamble and prefix for sure. Earlier DICOM files do not have the preamble and prefix, and just contain the string 1.2.840.10008 somewhere in the beginning. For the viewer, the preamble and prefix are necessary to read images which are not 8 bit or 16 bit in bit depth. In particular not to open color images, to read a sequence of images. Problem:Other file format used in modern times doesn’t have the facility to obtain the image of the patient and the related details together in the same document thus more storage space is required and difficulties are faced by the user.Solution:We can develop a viewer that that displays the patient details and image details in just one click and in just one file thus making it convenient for the end user. It also takes less storage space.II.Block Diagram Of DICOM FileStructureFigure 1. Block Diagram of DICOM file formatFile Header:The header consists of a 128 byte File Preamble, followed by a 4 byte DICOM prefix. The header may or may not be included in the file [9].Preamble Prefix128 bytes=??? ???4 bytes = ‘D’, ‘I’, ‘C’, ‘M’Table 1: DICOM File HeaderThe DICOM standard does not require any structure for the fixed size preamble. It is not required to be structured as a DICOM data element with a tag and a length. It is intended to facilitate access to the imagesand other data in the DICOM file by providing compatibility with a number of commonly used computer image file formats. If the File preamble is not used by an application profile or a specific implementation, all 128 bytes shall be set to 00H. This is intended to facilitate the recognition that the preamble is used when all 128 bytes are not set as specified above. The file preamble may for example contain information enabling a multi-media application to randomly access images stored in a DICOM data set. The same file can be accessed in two ways: First by a multi-media application using the preamble and second by a DICOM application which ignores the preamble. The four byte DICOM prefix shall contain the character string "DICM" encoded as uppercase characters of the ISO 8859 G0 Character Repertoire. This four byte prefix is not structured as a DICOM data element with a tag and a length.Sample output:Figure 2. Image view at DICOM file formatData Set:Data Element: A unit of information as defined by a single entry in the data dictionary [6]. An encoded Information Object Definition (IOD) attribute that is composed at a minimum three fields: Data Element Tag, Value Length, and Value Field. For some specific transfer syntaxes, a data element also contains a VR field where the value representation of that data element is specified explicitly.Data Element Tag: A unique identifier for a data element composed of an ordered pair of numbers (a group number followed by an element number).Data Element Type: Used to specify whether an attribute of an Information Object Definition. This translates to whether a Data Element of a Data Set is mandatory, mandatory only under certain conditions, or optional.Data Set: Exchanged information consisting of a structured set of Attribute values directly or indirectly related to Information Objects. The value of each Attribute in a Data Set is expressed as a Data Element. A collection of data elements ordered by increasingdata element tag number that is an encoding of the values of attributes of a real world object.Pixel Data: Graphical data (e.g., images or overlays) of variable pixel-depth encoded in the pixel data element, with value representation OW or OB. Additional descriptor data elements are often used to describe the contents of the pixel data element.Value Field: The field within a data element that contains the value(s) of that data element.Value Length: The field within a data element that contains the length of the value field of the data elementValue Representation (VR): Specifies the data type and format of the value(s) contained in the value field of a data element. A data set represents an instance of a real world information object. A data set is constructed of data elements. Data elements contain the encoded values of attributes of that object. The construction, characteristics, and encoding of a data set and its data elements are discussed here.Data Elements: A Data Element is uniquely identified by a Data Element Tag. The Data Elements in a Data Set shall be ordered by increasing Data Element Tag Number and shall occur at most once in a Data Set. There are 2 types of data elementStandard Data Elements have an even Group Number that is not (0000, eeee), (0002, eeee), (0004, eeee), or (0006, eeee). [5]Private Data Elements have an odd Group Number that is not (0001, eeee), (0003, eeee), (0005, eeee), (0007, eeee), or (FFFF, eeee).Although similar or related Data Elements often have the same Group Number; a Data Group does not convey any semantic meaningNote: A Data Element shall have one of three structures. Two of these structures contain the VR of the Data Element (Explicit VR) but differ in the way their lengths are expressed, while the other structure does not contain the VR (Implicit VR). All three structures contain the Data Element Tag, Value Length and Value for the Data Element. See Figure 2.Implicit and Explicit VR Data Elements shall not coexist in a Data Set and Data Sets nested within it. Whether a Data Set uses Explicit or Implicit VR, among other characteristics, is determined by the negotiated Transfer SyntaxFigure 3. Data set and Data elements structureData Element Field:A data element is made up of fields. Three fields are common to all three data element structures; these are the Data Element Tag, Value Length, and Value Field.A fourth field, Value Representation is only present in the two Explicit VR Data Element structures. The definitions of the fields are [6]:Data Element Tag: An ordered pair of 16-bit unsigned integers representing the group number followed by element number.Value Representation: A two byte character string contains the VR of the data element. The VR for a given data element tag shall be as defined by the data dictionary. The two characters VR shall be encoded using characters from the DICOM default character set.Value Length:A 16 or 32-bit (dependent on VR and whether VR is explicit or implicit) unsigned integer containing the explicit length of the value field as the number of bytes (even) that make up the value. It does not include the length of the data element tag, value representation, and value length fields.A 2-bit length field set to undefined length (FFFFFFFFH). Undefined lengths may be used for data elements having the Value Representation (VR) Sequence of Items (SQ) and Unknown (UN). For data elements with value representation OW or OB undefined length may be used depending n the negotiated transfer syntax.Value Field: An even number of bytes containing the Value(s) of the Data Element. The data type of value(s) stored in this field is specified by the data element's VR. The VR for a given data element tag can be determined using the data dictionary [6], or using the VR field if it is contained explicitly within the data element. The VR of standard data elements shall agree with those specified in the data dictionary. The value multiplicity specifies how many values with this VR can be placed in the value field. If the VM is greater than one, multiple values shall be delimited within the value field. The VMs of standard data elements are specified in the data dictionary value fields with undefined length are delimited through the use of sequence delimitation items and item delimitation data elements.RGB Color Model:A color in the RGB color model is described by indicating how much of each of the red, green, and blue is included. The color is expressed as an RGB triplet (r, g, b), each component of which can vary from zero to a defined maximum value. If all the components are at zero the result is black; if all are at maximum, the result is the brightest represent able white [11, 12, and 13].These ranges may be quantified in several different ways: From 0 to 1, with any fractional value in between. This representation is used in theoretical analyses, and in systems that use floating-point representations. Each color component value can also be written as a percentage, from 0% to 100%.ting, the component values are often stored as integer numbers in the range 0 to 255, the range that a single 8-bit byte can offer (by encoding 256 distinct values).High-end digital image equipment can deal with the integer range 0 to 65,535 for each primary color, by employing 16-bit words instead of 8-bit bytes. For example, the full intensity red is written in the different RGB notations as given table 2:Notation RGB tripletArithmetic(1.0, 0.0, 0.0) Percentage(100%, 0%, 0%)Digital 8-bit per channel(255, 0, 0)Table 2. RGB NotationIn this paper the digital 8-bit model as the input file is in binary for the RGB model and the ASCII code of the color has been used in almost all the algorithms of the features of the DICOM Image Viewer.III.System ArchitectureDescription:Parser: It is the first and the most important part of the project. It separates the data set and the image. The input to parser is .dcm file (i.e. a binary file) which is version 1.3, standardized by NEMA [10]. The output i.e. image and data set is then passed on to next stage. DICOM Header: The header is the part which makes DICOM different from all the other file formats. The header encompasses of patient details and image information like pixel representation, height, width, file data length etc. Thus in this stage we read patient details and image information so that they can be processed further.Display Details: The Header details which are processed in the above stage are displayed.Image Processing: In this stage, various features like Zoom In, Zoom Out, Blur, B/W inverter, Horizontal and Vertical flipping, Sharpening, Contrast, Brightness and .gif converter are incorporated. The final processed image in then passed onto the next stage.DICOM Image Viewer: The final image is displayed in this stage.IV.Implementation Images:Figure 5. Image and Text ViewerFigure 6. Invert ImageFigure 7. Blur imageFigure 8. White Inverter imageFigure 9. Zoom In ImageFigure 10. Sharpen ImageFigure 11. Flip Horizontal Image[10]Boqiang Liu, Minghui Zhu, Zhenwang Zhang, CongYin, Zhongguo Liu and Jason Gu* “Medical ImageConversion with DICOM” IEEE2007[11]Foley J., A. van Dam, Fejner S. Hughes J., Computergraphics - principles and practice, Second edition,Addison-Wesley, 1996[12]Gonzales R., R. Woods, Digital Image Processing,Adison Wesley, 1993[13]Marion A., An Introduction to Image Processing,Chapman and Hall, 1991Figure 11. Save Image FileV.ConclusionThe primary aim of this paper is to study “.dcm” fileformat and develop an image viewer with someenhanced features like Zoom, invert, brightness,sharpen and save image as “.gif” format.Implementation of algorithms e.g.. blur, horizontalflipping, vertical flipping black and white inversionetc. Benefits of the “.dcm” file format and imageviewer provides a greater leap to the present medicalscenario further helps for the future development ofvideo player for CT scan and MRI. Display the x-rayimage and the patient details together. Converts“.dcm” file to “.gif” file format. It is cost-effective inand helpful to health care industry. Because of theDICOM viewer images can be captured andcommunicated more quickly helps physician tomake diagnosis sooner and treatment decision can bemade quickly.References[1]Mario Mustra, Kresimir Delac, Mislav Grgic “Overviewof the DICOM Standard” 50th International SymposiumELMAR-2008, 10-12 September 2008, Zadar, Croatia[2]The DICOM Standard, /[3]Digital Imaging and Communications in Medicine(DICOM), NEMA Publications,"DICOM Standard",2008, available at:ftp:///medical/dicom/2008/[4]National Electrical Manufacturers Association “DigitalImaging and Communications in Medicine (DICOM)”Standards Publication PS 3.3-2004, 2009[5]National Electrical Manufacturers Association “DigitalImaging and Communications in Medicine (DICOM)”Standards Publication PS 3.5-2004, 2009[6]National Electrical Manufacturers Association “DigitalImaging and Communications in Medicine (DICOM)”Standards Publication PS 3.6-2004, 2009[7]National Electrical Manufacturers Association “DigitalImaging and Communications in Medicine (DICOM)”Standards Publication PS 3.7-2004, 2009[8]National Electrical Manufacturers Association “DigitalImaging and Communications in Medicine (DICOM)”Standards Publication PS 3.10-2004, 2009[9] “DICOM file structure.htmlCopyright of AIP Conference Proceedings is the property of American Institute of Physics and its content may not be copied or emailed to multiple sites or posted to a listserv without the copyright holder's express written permission. However, users may print, download, or email articles for individual use.。

相关文档
最新文档