找回密码
 欢迎注册
搜索
热搜: 活动 交友 discuz
查看: 2184|回复: 13

Dicom中VM的位置在那里?

[复制链接]
发表于 2003-1-22 17:45:39 | 显示全部楼层 |阅读模式
在协议里,说明了VM代表的含义,可是我没有找到它在Data set或者说Data element中的具体位置,那位知道的话,请指导一下.多谢.
发表于 2003-1-22 21:54:12 | 显示全部楼层

Dicom中VM的位置在那里?

是不是code sequence的code meaning,嘿嘿,我忘了Element的显式传输语法的tag后面的值得类型的缩写了
发表于 2003-1-22 22:05:20 | 显示全部楼层

Dicom中VM的位置在那里?

哎呀,说错了,就是Dicom文件中,Element的第二个域,全称是Value Multiplicity ,用来表示此TAG得值得类型,当然了是Dicom的,比如说UI,PN等,他在Tag的后面
 楼主| 发表于 2003-1-22 22:52:44 | 显示全部楼层

Dicom中VM的位置在那里?

你说的是VR域吧,好像不是VM啊.
发表于 2003-1-23 08:23:04 | 显示全部楼层

Dicom中VM的位置在那里?

Shit,又说错了!我刚看了PS 3.5,VM指的是值的多样性,就是对应多值,上面说得是VR!
 楼主| 发表于 2003-1-23 09:42:37 | 显示全部楼层

Dicom中VM的位置在那里?

楼上的知道VM在数据结构中的位置吗?
发表于 2003-1-23 09:55:16 | 显示全部楼层

Dicom中VM的位置在那里?

在 Element的Value里,用\\分隔,表示多值
例如dicomdir中的路径表示:
Stu00008\\Img00001.dcm
 楼主| 发表于 2003-1-23 10:01:35 | 显示全部楼层

Dicom中VM的位置在那里?

这个我知道,我想问的是VM这个字段它自己在什么地方?多谢.
发表于 2003-1-23 10:01:50 | 显示全部楼层

Dicom中VM的位置在那里?

详细的参看PS3.5
6.4 VALUE MULTIPLICITY (VM) AND DELIMITATION
The Value Multiplicity of a Data Element specifies the number of Values that can be encoded in the Value
Field of that Data Element. The VM of each Data Element is specified explicitly in PS 3.6. If the number of
PS 3.5-2001
Page 24
Values that may be encoded in an element is variable, it shall be represented by two numbers separated
by a dash" e.g., "1-10" means that there may be 1 to 10 Values in the element.
Note: Elements having a multiplicity of "S", which represented "single", in versions of this standard preceding
V3.0, will have a multiplicity of "1" in this version of this standard.
When a Data Element has multiple Values, those Values shall be delimited as follows:
&#63719" For character strings, the character 5CH (BACKSLASH "\\" in the case of the repertoire ISO IR-
6) shall be used as a delimiter between Values.
Note: BACKSLASH ("\\") is used as a delimiter between character string Values that are of fixed length as well
as variable length.
&#63719" Multiple binary Values of fixed length shall be a series of concatenated Values without any
delimiter.
Each string Value in a multiple valued character string may be of even or odd length, but the length of the
entire Value Field (including "\\" delimiters) shall be of even length. If padding is required to make the Value
Field of even length, a single padding character shall be applied to the end of the Value Field (to the last
Value), in which case the length of the last Value may exceed the Length of Value by 1..
Note: A padding character may need to be appended to a fixed length character string value in the above
case.
Only the last UID Value in a multiple valued Data Element with a VR of UI shall be padded with a single
trailing NULL (00H) character when necessary to ensure that the entire Value Field (including "\\"
delimiters) is of even length.
Data Elements with a VR of SQ, OW, OB or UN shall always have a Value Multiplicity of one.
 楼主| 发表于 2003-1-23 10:40:34 | 显示全部楼层

Dicom中VM的位置在那里?

呵呵,这几段我反复看了几遍,感觉就是没有说明vm放在那里.另外,在协议中,解释VALUE FIELD的时候提到了VM,但都是解释VM的含义,却没有说明该字段的具体位置.虽然DICOM标准字段中对不同的ELEMENT都作了详细的VM定义,可是如果是自定义的私有字段该如何放置VM字段呢?
发表于 2003-1-23 11:34:36 | 显示全部楼层

Dicom中VM的位置在那里?

他不是Element中的一个字段,它是指值得多个!!
 楼主| 发表于 2003-1-23 13:17:35 | 显示全部楼层

Dicom中VM的位置在那里?

那我如何获得VM的值呢? 如果没有VM值,我有怎么知道值是多个还是单个呢?
这里我指的VM值是指,诸如,1,1-n,等等.谢谢.
发表于 2003-1-23 13:25:04 | 显示全部楼层

Dicom中VM的位置在那里?

你先把指某TAG得值取出来,然后扫描是否有\\,如果有的话不就是多值了么
发表于 2003-4-16 14:32:25 | 显示全部楼层

Dicom中VM的位置在那里?

VM 数值在数据结构中没有,不管 explicit 或 implicit 都没有。
Parser 自己算。binary 的如 UL, SL, SS, US, FL, FD 将总长度除字长,string 找 \'\\\'.
您需要登录后才可以回帖 登录 | 欢迎注册

本版积分规则

快速回复 返回顶部 返回列表