简体   繁体   English

整个DICOM文件只有一种传输语法吗?

[英]Does an entire DICOM file has just one transfer syntax?

Sorry if this is quite basic, I am new to DICOM. 对不起,如果这是非常基本的,我是DICOM的新手。 I know a DICOM file has multiple parts like: Patient, Study, Series and Instance (Image). 我知道DICOM文件有多个部分,如:Patient,Study,Series和Instance(Image)。

Now to communicate with a device it needs a Transfer Syntax, which tells the mode of communication, like Little-Endian, Big-Endian, JPEG-Lossless, lossy etc. 现在要与设备通信它需要一个传输语法,它告诉通信模式,如Little-Endian,Big-Endian,JPEG-Lossless,有损等。

So, does each of the DICOM file parts (Patient, Study, Series and Instance (Image)) have their own transfer syntax? 那么,每个DICOM文件部分(患者,研究,系列和实例(图像))是否都有自己的传输语法? Like Patient can communicate as Little-Endian, Study might use JPEG-Lossless or MPEG-4 (if it is video) etc? 像患者可以作为Little-Endian进行通信,研究可能使用JPEG-Lossless或MPEG-4(如果是视频)等?

OR does the entire DICOM file just use one transfer syntax. 或者整个DICOM文件只使用一种传输语法。

A single transfer syntax is used through all the entire DICOM file (except for the first group with ID=0002, which is written with low endian/explicit VR transfer syntax) 在整个DICOM文件中使用单个传输语法(ID = 0002的第一个组除外,该组使用低端/显式VR传输语法编写)

When sending DICOM messages through a network then you can have a different transfer syntax for each message: there you can define different Presentation Contexts during the association negotiation, and each Presentation Context can have a different Transfer Syntax. 通过网络发送DICOM消息时,您可以为每条消息设置不同的传输语法:您可以在关联协商期间定义不同的表示上下文,并且每个表示上下文可以具有不同的传输语法。

After the association negotiation, you can transmit messages with different transfer syntaxes by selecting the proper presentation context/transfer identifier in the message header 在关联协商之后,您可以通过在消息头中选择适当的表示上下文/传输标识符来传输具有不同传输语法的消息

Your question does not entirely make sense with how DICOM is organized. 关于DICOM的组织方式,你的问题并不完全有意义。

DICOM is composed of various SOP Classes. DICOM由各种SOP类组成。 A SOP Class is Service-Object-Pair. SOP类是服务对象对。 Example services are the Storage Service Class (a service for network storage of messages (typically modality images) or the Media Service Class (for writing of files to media or just saving them to disk). 示例服务是存储服务类(用于网络存储消息的服务(通常是模态图像)或媒体服务类(用于将文件写入媒体或仅将其保存到磁盘)。

The Object portion of the SOP Class is defined in an IOD (Information Object Definition). SOP类的Object部分在IOD(信息对象定义)中定义。 IODs are defined by multiple Modules. IOD由多个模块定义。 The Modules in turn are composed of DICOM tags. 模块又由DICOM标签组成。 Each Module usually groups tags together, and are typically related to an "Entity" in the DICOM model. 每个模块通常将标签组合在一起,并且通常与DICOM模型中的“实体”相关。 The module might be associated with the Patient, Series, or Image level of the DICOM model. 该模块可能与DICOM模型的患者,系列或图像级别相关联。 The IOD consists of all the tags defined in the various Modules. IOD包含各种模块中定义的所有标签。 When encoding the IOD, the context of the module that the tags are defined in doesn't matter. 在对IOD进行编码时,定义标记的模块的上下文无关紧要。

The DICOM Service defines how the tags within an IOD are encoded. DICOM服务定义了IOD中的标签是如何编码的。 Both a DICOM message for network transfer services (in its Group 0x0000 elements) and a DICOM file for media (in its Group 0x0002 elements) contain meta data that describe the encoding and a data set which contains the IOD tags. 用于网络传输服务的DICOM消息(在其组0x0000元素中)和用于媒体的DICOM文件(在其组0x0002元素中)都包含描述编码的元数据和包含IOD标记的数据集。 The group 0x0000 elements in a DICOM Message are always encoded in Implicit VR Little Endian, and the Group 0x0002 elements in a DICOM file are always encoded in the Explicit VR Little Endian transfer syntax. DICOM消息中的组0x0000元素始终以Implicit VR Little Endian编码,DICOM文件中的Group 0x0002元素始终以Explicit VR Little Endian传输语法编码。 The datasets are always encoded in a single transfer syntax. 数据集始终以单个传输语法进行编码。

Hope this helps a bit. 希望这个对你有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM