Program: gdcm
Module: $RCSfile: TestReadWriteReadCompare.cxx,v $
Language: C++
- Date: $Date: 2004/11/24 16:39:18 $
- Version: $Revision: 1.15 $
+ Date: $Date: 2004/11/25 10:24:34 $
+ Version: $Revision: 1.16 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
//////////////// Step 2:
gdcm::File* file = new gdcm::File( header );
- int dataSize = file->GetImageDataSizeRaw();
- uint8_t* imageData = file->GetImageDataRaw(); //EXTREMELY IMPORTANT
+ int dataSize = file->GetImageDataSize();
+ uint8_t* imageData = file->GetImageData(); //EXTREMELY IMPORTANT
// Sure, it is : It's up to the user to decide if he wants to
// GetImageData or if he wants to GetImageDataRaw
// (even if we do it by setting a flag, he will have to decide)
}
std::cout << "3...";
// For the next step:
- int dataSizeWritten = reread->GetImageDataSizeRaw();
- uint8_t* imageDataWritten = reread->GetImageDataRaw();
+ int dataSizeWritten = reread->GetImageDataSize();
+ uint8_t* imageDataWritten = reread->GetImageData();
//////////////// Step 4: