From de9316788873d503d00679818c8579162533b3b6 Mon Sep 17 00:00:00 2001 From: jpr Date: Fri, 11 Feb 2005 11:22:59 +0000 Subject: [PATCH] Default Photometric Interpretation is now MONOCHROME2 (low values=dark !) --- src/gdcmFileHelper.cxx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/gdcmFileHelper.cxx b/src/gdcmFileHelper.cxx index 789ca752..50183d70 100644 --- a/src/gdcmFileHelper.cxx +++ b/src/gdcmFileHelper.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmFileHelper.cxx,v $ Language: C++ - Date: $Date: 2005/02/09 18:35:30 $ - Version: $Revision: 1.15 $ + Date: $Date: 2005/02/11 11:22:59 $ + Version: $Revision: 1.16 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -675,7 +675,7 @@ void FileHelper::SetWriteToRaw() } else { - photInt->SetValue("MONOCHROME1 "); + photInt->SetValue("MONOCHROME2 "); } PixelWriteConverter->SetReadData(PixelReadConverter->GetRaw(), @@ -934,10 +934,12 @@ ValEntry *FileHelper::CopyValEntry(uint16_t group,uint16_t elem) * when it exists. Create it with the given value when unexistant. * @param group Group number of the Entry * @param elem Element number of the Entry + * @param vr Value Representation of the Entry * \return pointer to the modified/created Bin Entry (NULL when creation * failed). */ -BinEntry *FileHelper::CopyBinEntry(uint16_t group,uint16_t elem,const std::string &vr) +BinEntry *FileHelper::CopyBinEntry(uint16_t group,uint16_t elem, + const std::string &vr) { DocEntry *oldE = FileInternal->GetDocEntry(group, elem); BinEntry *newE; -- 2.48.1