2 #include <tclap/CmdLine.h> 4 int main(
int argc,
char **argv)
11 needWork = oSegPerfApp.
init(argc, argv);
13 catch (TCLAP::ArgException &e)
15 std::cerr <<
"error: " << e.error() <<
" for arg " << e.argId() << std::endl;
32 catch(std::exception &e)
34 std::cerr << e.what() << std::endl;
bool init(int argc, char *argv[])
This method set the application behavior thanks to command line arguments parsing.
bool checkParamsCoherence()
This method check if command line arguments are coherent between us.
void play()
This method execute images filter to obtain desired measures, marks and scores.
Main class to structure application and handle command line options.
void checkOutputCoherence()
This method define an output way if none are defined by command line.
int main(int argc, char **argv)
void prepareOutput()
This method define the base file name for output way.