在覆盖DICOM中的像素数据时,应替换UID以外的哪些DICOM标签? [英] Which DICOM tags other than UIDs should be replaced while overwriting pixel data in DICOM?

查看:75
本文介绍了在覆盖DICOM中的像素数据时,应替换UID以外的哪些DICOM标签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我的另一个问题:
覆盖DICOM中的像素数据时应替换哪个DICOM UID?

我试图从现有的DICOM文件(实例)中创建一个新的DICOM文件,在此我更改像素数据.

除了上面提到的其他问题,我了解需要更改哪些 UID .

我应该更改哪些除UID以外的其他标签,以便在替换像素数据时获得有效的DICOM?

更新:
在这种情况下,我正在使用 RT剂量IOD ,但是我无法提供匿名标头,但是解决方案

有许多DICOM标签取决于像素数据.最常见的可能是以下几种:

取决于图像尺寸:

与数据类型相关:

您还可以将图像类型修改为 DERIVED \ SECONDARY \ ... ,当然还要修改另一个问题中提到的UID.

取决于您的SOP类,还有更多标记要考虑,但是这些标记可能是基本标记.

更新:这是关于通用图像DICOM文件的,因为最初没有提供SOP类.有关RT Dose图像的更多特定信息,请通过@kritzel_sw查看答案.

This is in continuation with my other question:
Which DICOM UIDs should be replaced while overwriting pixel data in DICOM?

I am trying to create a new DICOM file (instance) from an existing one, where I change the pixel data.

Form other question mentioned above, I understood what UIDs I need to change.

What other tags except UIDs should I change in order to get a valid DICOM while replacing the pixel data?

UPDATE:
In this case I am working with RT Dose IOD, unfortunately I cannot provide anonymized header but the documentation is describing the attributes.

解决方案

There are a number of DICOM tags that depend on the pixel data. The most common ones are probably the following:

Depending on image dimensions:

  • Columns / Rows - defines the X/Y dimensions of the image
  • Frame Number - for multi-frame images, though there are more tags to be adapted depending on the SOP Class
  • tags that define the physical dimensions of one pixel - depending on the SOP class, this may be Pixel Spacing, Imager Pixel Spacing, or Pixel Aspect Ratio - basically the tag that is already present in your image

Data type related:

  • Bits Allocated - usually 8 or 16, depending on the number of bytes per data point
  • Bits Stored - the real number of used bits, usually between 8 and 16
  • High Bit - Bits Stored - 1
  • Samples Per Pixel - usually 3 for RGB and 1 for monochrome images
  • Pixel Representation - 0 for unsigned, 1 for signed data
  • Photometric Interpretation - depends on the color model, usually RGB for uncompressed color images, and Monochrome2 for b/w images; for compressed data, there is a number of possible values, and also some compression-related tags, but I assume that you are writing uncompressed data

You may also adapt Image Type to be something like DERIVED\SECONDARY\..., and of course the UIDs that are mentioned in the other question.

There are more tags to be considered depending on your SOP Class, but these are probably the basic ones.

UPDATE: This is about generic image DICOM files, as originally, the SOP class has not been given. For more specific information about RT Dose images, check out the answer by @kritzel_sw.

这篇关于在覆盖DICOM中的像素数据时,应替换UID以外的哪些DICOM标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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