From: regrain Date: Tue, 23 Nov 2004 17:12:25 +0000 (+0000) Subject: * Add usefull comments in Header X-Git-Tag: Version1.0.bp~574 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=d01d35846e6b6918f2e11b2f15e13555e78a39b6;hp=62946e7406184480447cc7170f4b0edb394b9d64;p=gdcm.git * Add usefull comments in Header --- diff --git a/Example/PrintFile.cxx b/Example/PrintFile.cxx index 36bb2ac3..9574f710 100644 --- a/Example/PrintFile.cxx +++ b/Example/PrintFile.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: PrintFile.cxx,v $ Language: C++ - Date: $Date: 2004/11/16 04:26:17 $ - Version: $Revision: 1.10 $ + Date: $Date: 2004/11/23 17:12:25 $ + 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 @@ -59,7 +59,7 @@ int main(int argc, char* argv[]) planarConfig = e1->GetPlanarConfiguration(); std::cout << " pixelType=" << pixelType - << " SampleserPixel=" << sPP + << " SamplesPerPixel=" << sPP << " PlanarConfiguration=" << planarConfig << std::endl << " PhotometricInterpretation=" diff --git a/src/gdcmHeader.cxx b/src/gdcmHeader.cxx index 4f4aefe0..84aea4d3 100644 --- a/src/gdcmHeader.cxx +++ b/src/gdcmHeader.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmHeader.cxx,v $ Language: C++ - Date: $Date: 2004/11/23 01:10:40 $ - Version: $Revision: 1.204 $ + Date: $Date: 2004/11/23 17:12:25 $ + Version: $Revision: 1.205 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -1177,6 +1177,7 @@ void Header::SetImageDataSize(size_t ImageDataSize) DocEntry *a = GetDocEntryByNumber(GrPixel, NumPixel); a->SetLength(ImageDataSize); + // Change the value of the BinEntry, not the BinArea !!! ImageDataSize += 8; car = Util::Format("%d", ImageDataSize); car = Util::DicomString( car.c_str() );