Program: gdcm
Module: $RCSfile: SplitIntoDirectories.cxx,v $
Language: C++
- Date: $Date: 2011/04/22 14:39:41 $
- Version: $Revision: 1.10 $
+ Date: $Date: 2011/08/25 14:37:05 $
+ Version: $Revision: 1.11 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
fullWriteFilename = currentSerieWriteDir + GDCM_NAME_SPACE::GDCM_FILESEPARATOR
+ lastFilename;
- systemCommand = "cp \"" + fullFilename + "\" \"" + fullWriteFilename + "\"";
+ systemCommand = "cp \"" + fullFilename + "\" " + fullWriteFilename;
if (listonly)
std::cout << "[" << systemCommand << "]" << std::endl;
Program: gdcm
Module: $RCSfile: SplitIntoXCoherentDirectories.cxx,v $
Language: C++
- Date: $Date: 2011/04/22 14:39:41 $
- Version: $Revision: 1.7 $
+ Date: $Date: 2011/08/25 14:37:05 $
+ Version: $Revision: 1.8 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
// Just not to make too many modif in the code
//serieUID = "SingleSerie"; // s->GetCurrentSerieUIDFileSetUID();
serieUID = s->GetCurrentSerieUIDFileSetUID();
-
GDCM_NAME_SPACE::Util::ReplaceSpecChar(serieUID, rep);
// --- for write
GDCM_NAME_SPACE::Util::ReplaceSpecChar(xCoherentName, rep);
// --- for write
if (write || copy)
- {
+ {
xCoherentWriteDir = currentSerieWriteDir + GDCM_NAME_SPACE::GDCM_FILESEPARATOR+ xCoherentName;
// if ( ! GDCM_NAME_SPACE::DirList::IsDirectory(xCoherentWriteDir) )
{
}
}
// --- end for write
-
- if (ori)
+
+ if (ori)
std::cout << "Orientation : ";
- else if (pos)
+ else if (pos)
std::cout << "Position : ";
- else if (groupelem != 0)
+ else if (groupelem != 0)
std::cout << "Tag (" << std::hex << groupelem[0]
<< "|" << groupelem[1] << ") value : ";
std::cout << "[" << (*i).first << "]" << std::endl;
Program: gdcm
Module: $RCSfile: SplitIntoXCoherentDirectoriesIgnoreSerieUID.cxx,v $
Language: C++
- Date: $Date: 2011/04/22 14:39:41 $
- Version: $Revision: 1.5 $
+ Date: $Date: 2011/08/25 14:37:05 $
+ Version: $Revision: 1.6 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
GDCM_NAME_SPACE::Util::ReplaceSpecChar(xCoherentName, rep);
// --- for write
if (write)
- {
+ {
xCoherentWriteDir = currentSerieWriteDir + GDCM_NAME_SPACE::GDCM_FILESEPARATOR+ xCoherentName;
// if ( ! GDCM_NAME_SPACE::DirList::IsDirectory(xCoherentWriteDir) )
{
}
}
// --- end for write
-
- if (ori)
+
+ if (ori)
std::cout << "Orientation : ";
- else if (pos)
+ else if (pos)
std::cout << "Position : ";
- else if (groupelem != 0)
+ else if (groupelem != 0)
std::cout << "Tag (" << std::hex << groupelem[0]
<< "|" << groupelem[1] << ") value : ";
std::cout << "[" << (*i).first << "]" << std::endl;
Program: gdcm
Module: $RCSfile: exUnMosaic2.cxx,v $
Language: C++
- Date: $Date: 2011/03/31 21:45:08 $
- Version: $Revision: 1.2 $
+ Date: $Date: 2011/08/25 14:37:05 $
+ 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
size_t dataRawSize = fh->GetImageDataRawSize();
*/
-
- // ============================================================
+
+// ============================================================
// Create a new GDCM_NAME_SPACE::Filehelper, to hold new image.
// ============================================================
Program: gdcm
Module: $RCSfile: exUnMosaicStack.cxx,v $
Language: C++
- Date: $Date: 2011/03/31 21:45:08 $
- Version: $Revision: 1.2 $
+ Date: $Date: 2011/08/25 14:37:05 $
+ 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
}
-
-
GDCM_NAME_SPACE::File *f = GDCM_NAME_SPACE::File::New();
f->SetLoadMode( GDCM_NAME_SPACE::LD_ALL);
f->SetFileName( fileName );
// Get the image data size
size_t dataRawSize = fh->GetImageDataRawSize();
- // ============================================================
+// ============================================================
// Create a new GDCM_NAME_SPACE::Filehelper, to hold new image.
// ============================================================