Module: $RCSfile: gdcmFileHelper.cxx,v $
Language: C++
- Date: $Date: 2007/10/19 15:42:23 $
- Version: $Revision: 1.135 $
+ Date: $Date: 2008/06/12 13:18:15 $
+ Version: $Revision: 1.137 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
#include "gdcmDictSet.h"
#include "gdcmOrientation.h"
+
+
#include <algorithm> // for transform?
#if defined(__BORLANDC__)
- #include <mem.h> // for memset
+ #include <mem.h> // for memset
+ #include <ctype.h> //for toupper
+ #include <math.h>
#endif
#include <fstream>
if ( abs((long)(decSize-userDataSize))>1) // ignore padding zero
{
gdcmWarningMacro( "Data size (Raw) is incorrect. Should be "
- << decSize << " / Found :"
+ << decSize << "("
+ << FileInternal->GetXSize() << " * "
+ << FileInternal->GetYSize() << " * "
+ << FileInternal->GetZSize() << " * "
+ << FileInternal->GetTSize() << " * "
+ << FileInternal->GetSamplesPerPixel() << " * "
+ << numberBitsAllocated / 8
+ << ") / Found :"
<< userDataSize );
return false;
}