Program: gdcm
Module: $RCSfile: AnonymizeNoLoad.cxx,v $
Language: C++
- Date: $Date: 2006/03/27 19:02:43 $
- Version: $Revision: 1.17 $
+ Date: $Date: 2006/07/17 13:25:00 $
+ Version: $Revision: 1.18 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
" noshadowseq: user doesn't want to load Private Sequences ",
" noshadow : user doesn't want to load Private groups (odd number) ",
" noseq : user doesn't want to load Sequences ",
- " debug : user wants to run the program in 'debug mode' ",
+ " debug : developper wants to run the program in 'debug mode' ",
FINISH_USAGE
// ----- Initialize Arguments Manager ------
Program: gdcm
Module: $RCSfile: MakeDicomDir.cxx,v $
Language: C++
- Date: $Date: 2006/01/26 15:52:42 $
- Version: $Revision: 1.20 $
+ Date: $Date: 2006/07/17 13:25:00 $
+ Version: $Revision: 1.21 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
#include "gdcmDebug.h"
#include "gdcmArgMgr.h"
+#include <sys/times.h>
+
#include <iostream>
/**
gdcm::DicomDir *dcmdir;
+
+
// we ask for Directory parsing
dcmdir = gdcm::DicomDir::New( );
dcmdir->SetLoadMode(loadMode);
dcmdir->SetDirectoryName(dirName);
//dcmdir->SetParseDir(true);
+
+ struct tms tms1, tms2; // Time measurements
+ times(&tms1);
dcmdir->Load();
+ times(&tms2);
+ std::cout
+ << (long) ((tms2.tms_utime) - (tms1.tms_utime))
+ << std::endl;
if ( gdcm::Debug::GetDebugFlag() )
std::cout << "======================= End Parsing Directory" << std::endl;
Program: gdcm
Module: $RCSfile: PrintDicomDir.cxx,v $
Language: C++
- Date: $Date: 2006/01/18 15:45:21 $
- Version: $Revision: 1.32 $
+ Date: $Date: 2006/07/17 13:27:04 $
+ Version: $Revision: 1.33 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
{ // on degouline les STUDY de ce patient
std::cout << "--- Stud.descr:[" << st->GetEntryString(0x0008, 0x1030) << "]"; // Study Description
std::cout << " Stud.ID:[" << st->GetEntryString(0x0020, 0x0010) << "]"; // Study ID
+ std::cout << " Stud.Inst.UID:[" << st->GetEntryString(0x0020, 0x000d) << "]"; // Study Instance UID
std::cout << std::endl;
st = pa->GetNextStudy();
}
{ // on degouline les STUDY de ce patient
std::cout << "--- Stud.descr:[" << st->GetEntryString(0x0008, 0x1030) << "]"; // Study Description
std::cout << " Stud.ID:[" << st->GetEntryString(0x0020, 0x0010) << "]"; // Study ID
+ std::cout << " Stud.Inst.UID:[" << st->GetEntryString(0x0020, 0x000d) << "]"; // Study Instance UID
std::cout << std::endl;
se = st->GetFirstSerie();
std::cout << "--- --- Ser.Descr:["<< se->GetEntryString(0x0008, 0x103e)<< "]"; // Series Description
std::cout << " Ser.nb:[" << se->GetEntryString(0x0020, 0x0011); // Series number
std::cout << "] Mod.:[" << se->GetEntryString(0x0008, 0x0060) << "]"; // Modality
+ std::cout << " Serie Inst.UID.:[" << se->GetEntryString(0x0020, 0x000e) << "]"; // Series Instance UID
std::cout << std::endl;
se = st->GetNextSerie();
}
Program: gdcm
Module: $RCSfile: ToInTag.cxx,v $
Language: C++
- Date: $Date: 2006/06/30 09:58:08 $
- Version: $Revision: 1.6 $
+ Date: $Date: 2006/07/17 13:24:59 $
+ Version: $Revision: 1.7 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
" 0x0021, 0x1040 : 'FRAME INDEX' ",
" 0x0020, 0x0012 : 'SESSION INDEX' (Acquisition Number) ",
" usage: ",
- " PhilipsToBrucker dirin=rootDirectoryName ",
+ " ToInTag dirin=rootDirectoryName ",
" dirout=outputDirectoryName ",
" { [keep= list of seriesNumber to process] ",
" | [drop= list of seriesNumber to ignore] } ",