Program: gdcm
Module: $RCSfile: ReWrite.cxx,v $
Language: C++
- Date: $Date: 2006/01/26 15:52:43 $
- Version: $Revision: 1.17 $
+ Date: $Date: 2006/03/17 14:36:37 $
+ Version: $Revision: 1.19 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
" Re write a full gdcm-readable Dicom image ",
" (usefull when the file header is not very straight). ",
" ",
- " usage: ReWrite filein=inputFileName fileout=anonymizedFileName ",
+ " usage: ReWrite filein=inputFileName fileout=outputFileName ",
" [mode=write mode] [noshadow] [noseq][debug] ",
" ",
" mode = a (ACR), x (Explicit VR Dicom), r (RAW : only pixels) ",
// Since we just ReWrite the image, we know no modification
// was performed on the pixels.
// We don't want this image appears as a 'Secondary Captured image'
- fh->SetKeepMediaStorageSOPClassUID(true);
+ fh->SetContentType(gdcm::UNMODIFIED_PIXELS_IMAGE);
switch (mode[0])
{