+/*
# ---------------------------------------------------------------------
#
# Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
{
// Read the *first* image file (a SET of file names is given as input)
gdcm::Reader *read = new gdcm::Reader();
- reader->SetFileName( bbGetInputIn()[0].c_str());
+ reader->SetFileName( bbGetInputIn()[0].c_str() );
bool res = read->Read();
- if ( !res )
- {
- delete read;
- bbSetOutputOut(0);
- return;
- }
+ if ( !res )
+ {
+ delete read;
+ printf("EED GetXCoherentInfoGdcmReader::Process resultImage NULL\n");
+ bbSetOutputOut(NULL);
+ return;
+ }
+
+
// Get info from the first image file
const gdcm::File &f = read->GetFile();
int i;
}
reader->SetFileNames(files);
reader->Update();
- reader->GetOutput();
bbSetOutputOut( reader->GetOutput() );
}
#endif