简体   繁体   English

显示DICOM图像的VALUE参数

[英]Display VALUE parameter of DICOM image

I'm using the Evil Dicom dll. 我正在使用Evil Dicom dll。 Currently for one of the tags, Counts Accumulated, I can extract and display the VR parameter, LENGTH parameter and TAG DESCRIPTION parameter. 当前,对于其中一个标签“累计计数”,我可以提取并显示VR参数,LENGTH参数和TAGDESCRIPTION参数。

However, I haven't found a way to extract and display the VALUE parameter, ie the physical number of the counts accumulated. 但是,我还没有找到一种方法来提取和显示VALUE参数,即累积的计数的物理数量。 Everything I have tried up to know keeps giving me errors. 我尝试知道的所有内容都会给我带来错误。

Can someone be kind enough to give me an idea how to extract this information? 有人可以让我知道如何提取此信息吗?

According to the EvilDicom Getting Started page , it should be as simple as this: 根据EvilDicom 入门页面 ,它应该像这样简单:

DICOMFile df = new DICOMFile("test.dcm");  
int[] countsDataArray = df.COUNTS_ACCUMULATED.Data;
int countsAccumulated = countsArray[0];

COUNTS_ACCUMULATED is of type IntegerString , which has a Data member that returns an integer array. COUNTS_ACCUMULATED的类型为IntegerString ,它具有一个返回整数数组的Data成员。 The Value Multiplicity of Counts Accumulated is 1 , so you only need to access the first value in the Data array. 累计计数值多重性为1 ,因此您只需要访问Data数组中的第一个值。

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

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