xmlParams.maskImage = "";
xmlParams.outputFolder = "";
xmlParams.outputCommonRoot = "";
+ xmlParams.outputCSV = "";
}
xmlParams.outputImageExtension = DomObject->GetAttribute( "outputImageExtension" );
if ( xmlParams.outputImageExtension == "" )
{
- std::cout << std::endl << std::endl << "outputImageExtension not found" << std::endl << std::endl;
+ std::cout << std::endl << std::endl << "outputImageExtension not set" << std::endl << std::endl;
std::exit( EXIT_FAILURE );
}
std::cout << std::endl << std::endl << "outputCommonRoot not found" << std::endl << std::endl;
std::exit( EXIT_FAILURE );
}
+
+ xmlParams.outputCSV = listOutput->GetAttribute( "outputCSV" );
+ if ( xmlParams.outputCSV == "" )
+ {
+ std::cout << std::endl << std::endl << "outputCSV not set: no CSV file will be created" << std::endl << std::endl;
+ }
+
}
} // end of namespace itkSTMS
#endif // itkSTMS_XMLFileParser_HXX