我计划使用伪彩色软拷贝表示状态(PCSPS)将像素值从灰度空间映射到rgb空间。我不希望将原始dicom文件中的光度解释设置为“调色板颜色”(它是MONOCHROME2),并添加颜色lut以避免编辑/复制原始文件(顺便说一下,上面的方法适用于获取假彩色图像)
我创建了一个表示文件(*.pre),其中包含以下字段,其中引用SOP实例UID引用我的dicom文件。当我将表示文件加载到weasis中时,我可以看到更改的Modality和VOI的效果,但是颜色调色板lut不起作用,图像仍然是灰度图像。
(0002, 0001) File Meta Information Version OB: b'\x00\x01'
(0002, 0002) Media Storage SOP Class UID UI: Pseudo-Color Softcopy Presentation State Storage
(0002, 0003) Media Storage SOP Instance UID UI: 1.2.826.0.1.3680043.8.498.10772247590204536926265311115669287656
(0002, 0010) Transfer Syntax UID UI: Implicit VR Little Endian
(0002, 0012) Implementation Class UID UI: 1.2.40.0.13.1.4
(0002, 0013) Implementation Version Name SH: 'graphic_1.0'
-------------------------------------------------
(0008, 0016) SOP Class UID UI: Pseudo-Color Softcopy Presentation State Storage
(0008, 0018) SOP Instance UID UI: 1.2.826.0.1.3680043.8.498.10772247590204536926265311115669287656
(0008, 0023) Content Date DA: '20220602'
(0008, 0033) Content Time TM: '195422.999854'
(0008, 0060) Modality CS: 'PR'
(0008, 1010) Station Name SH: 'DellXPS'
(0008, 103e) Series Description LO: 'GSPS'
(0008, 1115) Referenced Series Sequence 1 item(s) ----
(0008, 1140) Referenced Image Sequence 1 item(s) ----
(0008, 1150) Referenced SOP Class UID UI: CT Image Storage
(0008, 1155) Referenced SOP Instance UID UI: 1.2.826.0.1.3680043.8.498.14003991661580071171173424711461917486
---------
(0020, 000e) Series Instance UID UI: 1.2.826.0.1.3680043.8.498.90028613279640809707933154515673507962
---------
(0010, 0010) Patient's Name PN: 'Test'
(0010, 0020) Patient ID LO: '123'
(0020, 000d) Study Instance UID UI: 1.2.826.0.1.3680043.8.498.63124762837262268223850956817440292415
(0020, 000e) Series Instance UID UI: 1.2.826.0.1.3680043.8.498.50191488873500476754366946620234552528
(0020, 0010) Study ID SH: '1_PR'
(0020, 0011) Series Number IS: None
(0020, 0013) Instance Number IS: '15'
(0028, 1052) Rescale Intercept DS: '5.0'
(0028, 1053) Rescale Slope DS: '2.0'
(0028, 1101) Red Palette Color Lookup Table Desc US: [256, 0, 8]
(0028, 1102) Green Palette Color Lookup Table De US: [256, 0, 8]
(0028, 1103) Blue Palette Color Lookup Table Des US: [256, 0, 8]
(0028, 1201) Red Palette Color Lookup Table Data OW: Array of 256 elements
(0028, 1202) Green Palette Color Lookup Table Da OW: Array of 256 elements
(0028, 1203) Blue Palette Color Lookup Table Dat OW: Array of 256 elements
(0028, 2002) Color Space CS: 'SRGB'
(0028, 3110) Softcopy VOI LUT Sequence 1 item(s) ----
(0028, 1050) Window Center DS: '127.0'
(0028, 1051) Window Width DS: '255.0'
---------
(0070, 0080) Content Label CS: 'PRE_PSEUDO_COLOR'
(0070, 0082) Presentation Creation Date DA: '20220602'
(0070, 0083) Presentation Creation Time TM: '195422.999854'当光度解释被设置为调色板颜色时,我想要的输出就是我们得到的结果,但是我无法使用PCSPS获得彩色图像。我是否可以在参考dicom文件中使用光度解释设置为“Monochrome2”的PCSPS文件获得同样的效果?
发布于 2022-06-06 07:11:24
到目前为止,weasis不支持伪彩色软拷贝表示状态。预计它将在6月底的下一个版本中添加参考员额。
https://stackoverflow.com/questions/72477993
复制相似问题