Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
b->GetGroup(),b->GetElement(),
b->GetVR() );
}
else if ( gdcm::ValEntry* v = dynamic_cast<gdcm::ValEntry*>(d) )
{
b->GetGroup(),b->GetElement(),
b->GetVR() );
}
else if ( gdcm::ValEntry* v = dynamic_cast<gdcm::ValEntry*>(d) )
{
- gdcm::FileHelper *original = new gdcm::FileHelper( originalH );
- gdcm::FileHelper *copy = new gdcm::FileHelper( copyH );
+ gdcm::FileHelper *original = new gdcm::FileHelper( originalF );
+ gdcm::FileHelper *copy = new gdcm::FileHelper( copyF );
- copyH->InsertValEntry( "8", 0x0028, 0x0100); // BitsAllocated
- copyH->InsertValEntry( "8", 0x0028, 0x0101); // BitsStored
- copyH->InsertValEntry( "7", 0x0028, 0x0102); // HighBit
- copyH->InsertValEntry( "0", 0x0028, 0x0103); //Pixel Representation
+ copyF->InsertValEntry( "8", 0x0028, 0x0100); // BitsAllocated
+ copyF->InsertValEntry( "8", 0x0028, 0x0101); // BitsStored
+ copyF->InsertValEntry( "7", 0x0028, 0x0102); // HighBit
+ copyF->InsertValEntry( "0", 0x0028, 0x0103); //Pixel Representation
- if (originalH->GetXSize() != copy->GetFile()->GetXSize() ||
- originalH->GetYSize() != copy->GetFile()->GetYSize() ||
- originalH->GetZSize() != copy->GetFile()->GetZSize())
+ if (originalF->GetXSize() != copy->GetFile()->GetXSize() ||
+ originalF->GetYSize() != copy->GetFile()->GetYSize() ||
+ originalF->GetZSize() != copy->GetFile()->GetZSize())