Program: gdcm
Module: $RCSfile: PhilipsToBrucker.cxx,v $
Language: C++
- Date: $Date: 2006/01/10 16:04:18 $
- Version: $Revision: 1.4 $
+ Date: $Date: 2006/01/18 15:45:20 $
+ Version: $Revision: 1.5 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
* according to their Patient/Study/Serie/Image characteristics
* - fills a single level Directory with *all* the files,
* converted into a Brucker-like Dicom, Intags compliant
- *
+ *
*/
typedef std::map<std::string, gdcm::File*> SortedFiles;
return 0;
}
- char *dirNamein;
+ char *dirNamein;
dirNamein = am->ArgMgrGetString("dirin",(char *)".");
char *dirNameout;
{
std::cout << "Output Directory [" << dirNameout << "]" << " already exists; Used as is." << std::endl;
}
-
std::string strDirNamein(dirNamein);
gdcm::DirList dirList(strDirNamein, true); // get recursively the list of files
for (j=0;j<nbSeriesToDrop; j++)
{
if(seriesNumber == seriesToDrop[j])
- {
+ {
drop = true;
break;
}
system ( systemCommand.c_str() );
*/
- // Load the pixels in RAM.
-
+ // Load the pixels in RAM.
fh = gdcm::FileHelper::New(currentFile);
fh->GetImageDataRaw(); // Don't convert (Gray Pixels + LUT) into (RGB pixels) ?!?
fh->SetWriteTypeToDcmExplVR();
fh->Write(fullWriteFilename);
- fh->gdcm::FileHelper::Delete();
+ fh->Delete();
}
}
Program: gdcm
Module: $RCSfile: PhilipsToBrucker2.cxx,v $
Language: C++
- Date: $Date: 2006/01/18 10:21:37 $
- Version: $Revision: 1.2 $
+ Date: $Date: 2006/01/18 15:45:21 $
+ Version: $Revision: 1.3 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
{
std::cout << "Fail to write :[" << fullWriteFilename << "]"
<< std::endl;
- }
- fh->gdcm::FileHelper::Delete();
+ }
+ fh->Delete();
}
}
Program: gdcm
Module: $RCSfile: PrintDicomDir.cxx,v $
Language: C++
- Date: $Date: 2006/01/17 15:36:26 $
- Version: $Revision: 1.31 $
+ Date: $Date: 2006/01/18 15:45:21 $
+ Version: $Revision: 1.32 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
START_USAGE(usage)
" \n PrintDicomDir :\n",
" Display the tree-like structure of a DICOMDIR File",
- " usage: PrintDicomDir filein=fileName [level=n] [debug] ",
+ " usage: PrintDicomDir filein=fileName [level=n][detail=m][debug] ",
" detail = 1 : Patients, 2 : Studies, 3 : Series, 4 : Images ",
" 5 : Full Content ",
" level = 0,1,2 : depending on user (what he wants to see)",
Program: gdcm
Module: $RCSfile: PrintFile.cxx,v $
Language: C++
- Date: $Date: 2005/12/14 09:51:33 $
- Version: $Revision: 1.76 $
+ Date: $Date: 2006/01/18 15:45:21 $
+ Version: $Revision: 1.77 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
if (ori != "\\" )
std::cout << "Orientation [" << ori << "]" << std::endl;
- o->gdcm::Orientation::Delete();
+ o->Delete();
//------------------------------
std::string ori = o->GetOrientation ( f );
if (ori != "\\" )
std::cout << "Orientation [" << ori << "]" << std::endl;
-
- o->gdcm::Orientation::Delete();
+ o->Delete();
//-------------------------------