#if defined USE_GDCM
void GetXCoherentInfoGdcmReader::Process()
{
+printf("EED GetXCoherentInfoGdcmReader::Process Start\n");
// Read the *first* image file (a SET of file names is given as input)
f = GDCM_NAME_SPACE::File::New();
} else {
f->SetFileName( "" );
} // if
+printf("EED GetXCoherentInfoGdcmReader::Process 1\n");
bool res = f->Load();
if ( !res )
v_iop.push_back(iop[i]);
} // for i
bbSetOutputIOP(v_iop );
+printf("EED GetXCoherentInfoGdcmReader::Process 2\n");
std::vector<double> v_ipp;
float ipp[3];
// Add *all the files* to the SerieHelper
sh = GDCM_NAME_SPACE::SerieHelper::New();
std::vector<std::string> gii = bbGetInputIn();
+
+printf("EED GetXCoherentInfoGdcmReader::Process 3\n");
for(std::vector<std::string>::iterator it = gii.begin();
it != gii.end();
GDCM_NAME_SPACE::FileList::const_iterator it;
GDCM_NAME_SPACE::FileList *l;
+printf("EED GetXCoherentInfoGdcmReader::Process 4\n");
// Should only contain one!
l = sh->GetFirstSingleSerieUIDFileSet();
+printf("EED GetXCoherentInfoGdcmReader::Process 5\n");
if (l==NULL)
{
printf("EED GetXCoherentInfoGdcmReader::Process Warnning not coherent list/file \n");
return;
}
+printf("EED GetXCoherentInfoGdcmReader::Process 6\n");
double zspacing = 0.;
sh->OrderFileList(l); // this one should compute the *actual* Z Spacing!