DICOM文件压缩 [英] DICOM File compression

查看:586
本文介绍了DICOM文件压缩的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的工作线需要使用DICOM文件。每个DICOM文件在单个目录中构成许多.dcm文件。我需要通过网络发送这些文件,这是有点这样由于文件的大规模的过程。
我也是一个程序员,我想知道什么是理想的方式来压缩这样的文件?我说的是在本地计算机上进行的压缩,然后在目标计算机上解压缩(即压缩仅用于加速文件的网络传输)。有一个简单的方法来裁剪DICOM文件? (文件包含整个头部的成像,而我只对头部的一小部分感兴趣)。

My line of work requires the use of DICOM files. Each DICOM file constitutes many .dcm files in a single directory. I am required to send these files over the network, a process which is somewhat so due to the massive size of the files. I am also a programmer and I was wondering what is the ideal way to compress such files? I'm talking about a compression that will be made on the local computer and later decompressed on the destination computer (namely the compression is solely for speeding up the over-the-network transfer of the file). Is there a simple way to crop the DICOM files? (the files contain imaging of an entire head, whereas I'm only interested in a small part of the head).

谢谢!

推荐答案

在医学背景下,有损压缩是在不鼓励和禁止之间。如果你坚持裁剪现有的数据集,标准要求你至少形成一个新的图像&系列UID。标准允许以jpeg2000的形式进行无压缩压缩,但这是非常罕见的 - 如果我不得不打赌,我会说你的数据集是未压缩的。

In medical context, lossy compression is somewhere between not encouraged and forbidden. If you'd insist on cropping existing datasets the standard demands you to form at least new image & series UIDs. The standard does allow losless compression in the form of jpeg2000, but it is quite rare - if I had to bet I'd say your dataset is uncompressed altogether.

在我的经验表明,将医疗数据集压缩为固体归档(solid archive) - 即将所有图像统一为单个流。这是非常有意义的,因为在附近图像之间通常存在很多相似性,并且这种 是利用该相似性(统一压缩字典)的方式。这可以作为rar和gzip压缩程序的命令行选项。

In my experience it is significantly better to compress a medical dataset as a solid archive - that is, unify all the images into a single stream. This makes a lot of sense, as there is typically a lot of similarity between nearby images and this is the way to take advantage of that similarity (a unified compression dictionary). This is available as a command line option both to rar and gzip compressors.

这篇关于DICOM文件压缩的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆