DICOM和DICOM覆盖问题 [英] DICOM and DICOM overlay question

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

问题描述

我有一个使用C#读取的DICOM图像,并将其转换为16位位图.位图被创建,但是图像具有DICOM覆盖.我想在创建最终的dicom位图时将叠加层刻录到位图中.我无法做到这一点. 有什么帮助吗?

I have a DICOM image that I am reading using C# and converting it into a 16bit bitmap. The bitmap gets created but the image has DICOM overlays. I want to burn the overlay into the bitmap while creating the final dicom bitmap. I am unable to do that. Any help?

一种方法是创建覆盖数据的位图并合并2个位图,但我也无法以位图的形式获取覆盖数据. 我已经捕获了二进制覆盖数据,但是如何刻录成位图?

One way would be to create a bitmap of overlay data and merge the 2 bitmaps but I can not get the overlay data as bitmap also. I have captured the binary overlay data but how do I burn into a bitmap?

谢谢

推荐答案

有两种类型的叠加层:

1)内置:是原始版本.它使用单色像素数据的较高位(超出像素范围,例如,当BitsAllocated为16且BitsStored为12时,每个像素有4个未使用的位(位12..15),可用于重叠.我不确定签名图像的处理方法.
请注意,没有标签可以指定图像是否具有这种覆盖. (有一个名为Burned In Annnotation(0028,0301)的标签,但这意味着别的什么.)

1) Burned-In: is the original one. It uses higher bit(s) of monochrome pixeldata (that are outside of pixel range, for example, when BitsAllocated is 16 and BitsStored is 12, there are 4 unused bits per pixel (bits 12..15), that could be used for overlay. I'm not sure how it's done for signed images.
Note that there is no tag that specifies if an image has such overlay. (there is a tag called Burned In Annnotation (0028,0301), but it means something else).

2)覆盖模块:为覆盖保留了一系列标记(组0x600xx).每个这样的组包含几个标签以及每个像素1位的位图,其中1表示存在覆盖.
请注意,它不是标准的GDI位图,线在DWORD边界上未对齐! (而且我不确定它是否使用相同的字节序.)

2) Overlay module: a range of tags (group 0x600xx) is reserved for overlays. Each such group contains several tags along with a bitmap with 1 bit per pixel, where 1 means presence of overlay.
Note that it's not a standard GDI bitmap, lines are not aligned on DWORD boundary! (and I'm not sure if it uses the same bit endianness.)

DICOM图像可以具有多个(最多16个)此类叠加层.有关详细规格,请参见标准的第3部分.

A DICOM image can have several (up to 16?) such overlays. See part 3 of the standart for exact specifications.

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

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