? .DS_Store ? Code/.DS_Store ? Code/Review/.DS_Store ? Testing/Code/.DS_Store Index: Code/Review/itkPhilipsRECImageIO.cxx =================================================================== RCS file: /cvsroot/Insight/Insight/Code/Review/itkPhilipsRECImageIO.cxx,v retrieving revision 1.8 diff -r1.8 itkPhilipsRECImageIO.cxx 38a39 > #include 99a101,103 > // Make sure the comparaison is case insensitive. > std::string lowerFileName = filename; > std::transform( filename.begin(), filename.end(), lowerFileName.begin(), (int(*)(int)) std::tolower); 101c105 < std::string fileExt(itksys::SystemTools::GetFilenameLastExtension(filename)); --- > std::string fileExt(itksys::SystemTools::GetFilenameLastExtension(lowerFileName)); 111c115 < if(fileExt != ".REC.gz" && fileExt != ".REC" && fileExt != ".PAR") --- > if(fileExt != ".rec.gz" && fileExt != ".rec" && fileExt != ".par") 122a127,130 > > // Make sure the comparaison is case insensitive. > std::string lowerFileName = filename; > std::transform( filename.begin(), filename.end(), lowerFileName.begin(), (int(*)(int)) std::tolower); 125c133 < // i.e Image.PAR --> Image --- > // i.e Image.par --> Image 129c137 < const std::string::size_type it = filename.find_last_of( fileExt ); --- > const std::string::size_type it = lowerFileName.find_last_of( fileExt ); 142c150 < ImageFileName += ".PAR"; --- > ImageFileName += ".par"; 151,152c159,160 < // Default to uncompressed .REC if .PAR is given as file name. < if(fileExt == ".PAR") --- > // Default to uncompressed .rec if .par is given as file name. > if(fileExt == ".par") 155c163 < ImageFileName += ".REC"; --- > ImageFileName += ".rec"; 487,489c495,497 < if( filenameext != std::string(".PAR") < && filenameext != std::string(".REC") < && filenameext != std::string(".REC.gz") ) --- > if( filenameext != std::string(".par") > && filenameext != std::string(".rec") > && filenameext != std::string(".rec.gz") ) 704a713 > dirBlock[3] = 1;