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
{256, 256, 1, 1, 8, 8, 0, 'a'},
{256, 256, 1, 1, 8, 8, 0, 'e'},
{256, 256, 1, 1, 8, 8, 0, 'i'},
{256, 256, 1, 1, 8, 8, 0, 'a'},
{256, 256, 1, 1, 8, 8, 0, 'e'},
{256, 256, 1, 1, 8, 8, 0, 'i'},
{512, 256, 1, 1, 8, 8, 0, 'a'},
{512, 256, 1, 1, 8, 8, 0, 'e'},
{512, 256, 1, 1, 8, 8, 0, 'i'},
{512, 256, 1, 1, 8, 8, 0, 'a'},
{512, 256, 1, 1, 8, 8, 0, 'e'},
{512, 256, 1, 1, 8, 8, 0, 'i'},
{0, 0, 1, 1, 8, 8, 0, 'i'} // to find the end
};
{0, 0, 1, 1, 8, 8, 0, 'i'} // to find the end
};
fileH->SetImageData(imageData,size);
// Step 4 : Set the writting mode and write the image
fileH->SetImageData(imageData,size);
// Step 4 : Set the writting mode and write the image
std::cout << "Failed for [" << fileName.str() << "]\n"
<< " Write mode '"<<img.writeMode<<"' is undefined\n";
std::cout << "Failed for [" << fileName.str() << "]\n"
<< " Write mode '"<<img.writeMode<<"' is undefined\n";
{
std::cerr << "Failed" << std::endl
<< "Could not read written image : " << fileName.str() << std::endl;
{
std::cerr << "Failed" << std::endl
<< "Could not read written image : " << fileName.str() << std::endl;
<< reread->GetFile()->GetYSize() << " | "
<< "Z: " << fileToBuild->GetZSize() << " # "
<< reread->GetFile()->GetZSize() << std::endl;
<< reread->GetFile()->GetYSize() << " | "
<< "Z: " << fileToBuild->GetZSize() << " # "
<< reread->GetFile()->GetZSize() << std::endl;
std::cout << "Failed" << std::endl
<< " Pixel areas lengths differ: "
<< size << " # " << dataSizeWritten << std::endl;
std::cout << "Failed" << std::endl
<< " Pixel areas lengths differ: "
<< size << " # " << dataSizeWritten << std::endl;
std::cout << " list of the first " << MAX_NUMBER_OF_DIFFERENCE
<< " pixels differing (pos : test - ref) :"
<< std::endl;
std::cout << " list of the first " << MAX_NUMBER_OF_DIFFERENCE
<< " pixels differing (pos : test - ref) :"
<< std::endl;