[Insight-users] RE: DICOM series private tag

Alberto Bert bert at isiosf.isi.it
Tue Feb 27 15:23:37 EST 2007


Hi all thanks for the help :-)

- With the suggestion of Kris, I can now print and use the entry I wanted.
I also found that you can add a full dictionary with

gdcm::Global::GetDicts()->GetDefaultPubDict()->AddDict( "dict_name.dic" );

So I did it, using GEMS_PETD_01 that I found in a pdf doc of the GE. That 
document should answer to your request, Mathieu, right?


- Anyway, why do I need to add the tags to the public dictionary? I tryed 
to load it as a private dictionary as:

gdcm::Global::GetDicts()->LoadDictFromFile("path/GEMS_PETD_01.dic","GEMS_PETD_01");

but it didn't work, even activating the private tags, as:

dicomIO->SetLoadPrivateTags(true);


- BUT the main problem is that:

Unfortunately, I found that my problem is still there. The series sorting
is based on a string sortign criterion that sorts them wrongly. I get:

The directory:

Name_of_the_directory

Contains the following input Series:
1.2.840.113619.2.131.3020612247.1165527007.4877184133.27001281281
1.2.840.113619.2.131.3020612247.1165527007.4877184133.270012812810
1.2.840.113619.2.131.3020612247.1165527007.4877184133.270012812811
1.2.840.113619.2.131.3020612247.1165527007.4877184133.270012812812
1.2.840.113619.2.131.3020612247.1165527007.4877184133.270012812813
1.2.840.113619.2.131.3020612247.1165527007.4877184133.270012812814
1.2.840.113619.2.131.3020612247.1165527007.4877184133.270012812815
1.2.840.113619.2.131.3020612247.1165527007.4877184133.270012812816
1.2.840.113619.2.131.3020612247.1165527007.4877184133.27001281282
1.2.840.113619.2.131.3020612247.1165527007.4877184133.27001281283
1.2.840.113619.2.131.3020612247.1165527007.4877184133.27001281284
1.2.840.113619.2.131.3020612247.1165527007.4877184133.27001281285
1.2.840.113619.2.131.3020612247.1165527007.4877184133.27001281286
1.2.840.113619.2.131.3020612247.1165527007.4877184133.27001281287
1.2.840.113619.2.131.3020612247.1165527007.4877184133.27001281288
1.2.840.113619.2.131.3020612247.1165527007.4877184133.27001281289

where the last 1 or 2 digits are the frame_number now, but I'd like
obviously have them sorted as 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
and not 1 10 11 12 13 14 15 16 2 3 4 5 6 7 8 9

I hope you have some idea about it

Thanks



More information about the Insight-users mailing list