From: jpr Date: Thu, 17 Feb 2005 16:18:33 +0000 (+0000) Subject: To avoid further pb, Initialize defaults now Photochromatic Interpretation tp X-Git-Tag: Version1.2.bp~868 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=b180a93d9f2a649877bb53341fb1437fb2929f26;p=gdcm.git To avoid further pb, Initialize defaults now Photochromatic Interpretation tp MONOCHROME2 (low values = dark), better than MONOCHRONE1. Thx to Benoit for reporting bug --- diff --git a/src/gdcmFile.cxx b/src/gdcmFile.cxx index c1381c86..5a31aa84 100644 --- a/src/gdcmFile.cxx +++ b/src/gdcmFile.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmFile.cxx,v $ Language: C++ - Date: $Date: 2005/02/17 11:02:47 $ - Version: $Revision: 1.225 $ + Date: $Date: 2005/02/17 16:18:33 $ + Version: $Revision: 1.226 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -1473,7 +1473,7 @@ void File::InitializeDefaultFile() // Samples per pixel 1 or 3 InsertValEntry("1", 0x0028, 0x0002); // photochromatic interpretation - InsertValEntry("MONOCHROME1", 0x0028, 0x0004); + InsertValEntry("MONOCHROME2", 0x0028, 0x0004); // nbRows InsertValEntry("0", 0x0028, 0x0010); // nbCols