[Dcmlib] RTSTRUCT and RTPlanStorage

Jean-Pierre Roux Jean-Pierre.Roux at creatis.insa-lyon.fr
Tue Feb 28 15:46:27 CET 2006


Vincent Daanen wrote:

> Hi JP and Matthieu,
>
> finally, the solution is really easy and is something like :
>    gdcm::DataEntry *entry = MyGdcmFile->GetDataEntry(group, element);
>    int nbValues = entry->GetCountValue();
>    std::vector <double> valueVector;
>    for (int loop=0;loop<nbValues ; loop++)
>       valueVector.push_back(double(entry->GetValue()[loop]));
>
> If something like that can  be added to gdcm, it will be helpfull for 
> some application.

OK.
I'll add the stuff asap.

>
> Regarding the RTDOSE file, I will anonymize it and send it to you on 
> your email account at Creatis asap.

Thx a lot.

>
> As much as I saw, a RTDOSE file seems to be a multiframe image.
>
> I have also RTSTRUCT and RTPlanStorage but I guess these files may be 
> a beat specific to our application.

We're also interested in those kind of Dicom Document, to improve gdcm.
JP

>
> @+
>
>  Vince
>  
> Jean-Pierre Roux a écrit :
>
>> Vincent Daanen wrote:
>>
>>> Hi all,
>>>
>>> I must read a RTDOSE file and have to parse a DS to get the 
>>> informations.
>>> Since this seems to be something that happens often when reading 
>>> dicom files, is there a function (or a method in a class) that 
>>> parses DS in a double * or a std::vector <double> or anything else ?
>>
>>
>> I think we (gdcm team) have very few (no  one ?) RTDOSE file.
>> Could you send us one (use AnonymizeNoLoad filein=yourFilename, if 
>> ypu want to remove patient's info).
>>
>> Right now, there is no function to read any DS field, but it 
>> shouldn't be too painfull to add it (since we read stuff  like 
>> 0020|0037  [Image Orientation (Patient)] )
>>
>> Are you interested by something like :
>> std::vector <double> File::GetDSValue(uint16_t group,uint16_t element);
>>
>> Jean-Pierre Roux
>>
>>>
>>> Thanks
>>>
>>>  Vincent
>>>
>>
>
>




More information about the Dcmlib mailing list