From d01d35846e6b6918f2e11b2f15e13555e78a39b6 Mon Sep 17 00:00:00 2001 From: regrain Date: Tue, 23 Nov 2004 17:12:25 +0000 Subject: [PATCH] * Add usefull comments in Header --- Example/PrintFile.cxx | 6 +++--- src/gdcmHeader.cxx | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) 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() ); -- 2.46.1