Program: gdcm
Module: $RCSfile: gdcmFile.cxx,v $
Language: C++
- Date: $Date: 2005/10/19 12:01:51 $
- Version: $Revision: 1.282 $
+ Date: $Date: 2005/10/20 15:24:09 $
+ Version: $Revision: 1.284 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
// Change only made if usefull
if ( PixelVR != oldEntry->GetVR() )
{
- DictEntry* newDict = NewVirtualDictEntry(GrPixel,NumPixel,
- PixelVR,"1","Pixel Data");
+ DictEntry* newDict = DictEntry::New(GrPixel,NumPixel,
+ PixelVR,"1","Pixel Data");
DataEntry *newEntry = new DataEntry(newDict);
+ newDict->Delete();
newEntry->Copy(entry);
newEntry->SetBinArea(oldEntry->GetBinArea(),oldEntry->IsSelfArea());
oldEntry->SetSelfArea(false);
}
else
{
- gdcmWarningMacro( "Unfound Pixel Spacing (0018,1164)" );
+ gdcmWarningMacro( "Unfound Imager Pixel Spacing (0018,1164)" );
}
/* const std::string &strImagerPixelSpacing = GetEntryString(0x0018,0x1164);