2004-02-06 Jean-Pierre Roux
- * ENH : now gdcmDicomDir::CreateDicomDir() returns also the meta elements
- GDCM_META added to gdcmDicomDirType
- class gdcmMeta created
+ * ENH : - now gdcmDicomDir::CreateDicomDir() returns also the meta elements
+ - GDCM_META added to gdcmDicomDirType
+ - class gdcmMeta created
+ * ENH : - A brief summary is now displayed at the beginning of 'testDicomDir'
+ to help disaster magnitude estimation
+ * REM : Now useless Test/explDICOMDIR.cxx
2004-02-05 Benoit Regrain
* ENH : add methods in gdcmObject to get the hash table or the list of
* FIX : even length for some strings when writting the dicom dir
* FIX : sort the images in the dicom dir
* FIX : Bug fix for python use of dicom dir
- * Add a python demo
+ * ADD : a python demo
2004-02-04 Jean-Pierre Roux
* FIX : Final solution (?) for icone embedded images
}
// Exemples exploitation de la structure
-
// DON'T REMOVE neither the folowing code, nor the commented out lines
-
+/*
cout << std::endl << std::endl
<< " = Liste des PATIENT =========================================="
<< std::endl<< std::endl;
std::cout << (*itPatient)->GetEntryByNumber(0x0010, 0x0010) << std::endl; // Patient's Name
itPatient ++;
}
+*/
-/*
-
+/*
cout << std::endl << std::endl
<< " = Liste des PATIENT/STUDY =========================================="
<< std::endl<< std::endl;
++itStudy;
}
itPatient ++;
- }
-
+ }
*/
cout << std::endl << std::endl
itPatient = e1->GetPatients().begin();
while ( itPatient != e1->GetPatients().end() ) { // on degouline la liste de PATIENT
- std::cout << (*itPatient)->GetEntryByNumber(0x0010, 0x0010) << std::endl; // Patient's Name
+ // Patient's Name, Patient ID
+ std::cout << (*itPatient)->GetEntryByNumber(0x0010, 0x0010) ;
+ std::cout << " ID : ";
+ std::cout << (*itPatient)->GetEntryByNumber(0x0010, 0x0020) << std::endl;
itStudy = ((*itPatient)->GetStudies()).begin();
while (itStudy != (*itPatient)->GetStudies().end() ) { // on degouline les STUDY de ce patient
- std::cout << "--- "<< (*itStudy)->GetEntryByNumber(0x0008, 0x1030) << std::endl; // Study Description
+ std::cout << "--- " << (*itStudy)->GetEntryByNumber(0x0008, 0x1030); // Study Description
+ std::cout << " Stud ID: ["<< (*itStudy)->GetEntryByNumber(0x0020, 0x0010); // Study ID
+ std::cout << "]" << std::endl;
itSerie = ((*itStudy)->GetSeries()).begin();
while (itSerie != (*itStudy)->GetSeries().end() ) { // on degouline les SERIES de cette study
- std::cout << "--- --- "<< (*itSerie)->GetEntryByNumber(0x0008, 0x103e) << std::endl; // Serie Description
+ std::cout << "--- --- "<< (*itSerie)->GetEntryByNumber(0x0008, 0x103e); // Serie Description
+ std::cout << " Ser nb: [" << (*itSerie)->GetEntryByNumber(0x0020, 0x0011) ; // Serie number
+ std::cout << "] Mod : " << (*itSerie)->GetEntryByNumber(0x0008, 0x0060) << std::endl; // Modality
+
++itSerie;
}
++itStudy;
++itStudy;
}
itPatient ++;
- }
-
+ }
*/
cout << std::endl << std::endl