Program: gdcm
Module: $RCSfile: exGrey2RGB.cxx,v $
Language: C++
- Date: $Date: 2005/10/18 08:35:44 $
- Version: $Revision: 1.4 $
+ Date: $Date: 2007/05/23 14:18: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
return 1;
}
- //gdcm::Debug::DebugOn();
+ //GDCM_NAME_SPACE::Debug::DebugOn();
std::string filename = argv[1];
std::string output = argv[2];
}
}
- gdcm::FileHelper *fh = new gdcm::FileHelper( );
+ GDCM_NAME_SPACE::FileHelper *fh = GDCM_NAME_SPACE::FileHelper::New( );
fh->SetFileName( filename );
fh->Load();
fh->SetImageData(imageDataRGB, dataSize*3);
fh->WriteDcmExplVR( output );
+ fh->Delete();
+
return 0;
}