java 如何使用java程序读取dicom文件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/7820512/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-30 21:33:48  来源:igfitidea点击:

How to read a dicom file by using java program

javadicom

提问by ChristopherF

I am trying to write a medical program which needed a to read and change the dicom(.dcm) file, but I tried my best and still find no way to open it. So please, is there any one can teach me how to read it and modify it, I am really appreciate..........

我正在尝试编写一个需要读取和更改 dicom(.dcm) 文件的医疗程序,但我已尽力而为,仍然找不到打开它的方法。所以请问有没有人可以教我如何阅读和修改它,我真的很感激.......

回答by COD3BOY

Since Java 1.4, the Java standard includes a specification for working with images stored in files. This specification is called Java Image I/O. It provides a pluggable framework for easily adding support for alternate image formats using third-party plugins.

从 Java 1.4 开始,Java 标准就包含了处理存储在文件中的图像的规范。该规范称为 Java Image I/O。它提供了一个可插入的框架,可以使用第三方插件轻松添加对替代图像格式的支持。

and you have aDICOM pluginfor Java Image I/O can be used to add support for DICOM in your program. Or see this.

并且您有一个用于 Java Image I/O的DICOM 插件,可用于在您的程序中添加对 DICOM 的支持。或者看这个。

回答by malat

Another option is GDCM, it is written in C++, but provide bindings in Python, C# and Java ! See:

另一种选择是 GDCM,它是用 C++ 编写的,但提供 Python、C# 和 Java 的绑定!看:

http://gdcm.sf.net

http://gdcm.sf.net