Definition at line 1295 of file mainTable.cpp. References Impala::CmdOptions::AddOption(), DoAppendFeatureTable(), DoConcatFeatureTable(), DoDiffAnnotationTable(), DoDiffFeatureTable(), DoDiffKeyframes(), DoDiffSegmentation(), DoDiffSimilarityTableSet(), DoDiffStills(), DoDiffTableInt(), DoDiffTableReal(), DoDiffTableUInt64(), DoDumpAnnotationTable(), DoDumpAnnotationTableSet(), DoDumpFeatureTable(), DoDumpQuidTable(), DoDumpSimilarityTableSet(), DoDumpSimilarityTableSetTrec(), DoDumpTableInt(), DoDumpTableReal(), DoDumpTaskTable(), DoFeatureTable2Svm(), DoFeatureTableReadAscii(), DoFeatureTableWriteAscii(), DoImportSimilarityTableSet(), DoMakeRandomSimilarityTableSet(), DoProcSimilarityTableSet(), DoScaleFeatureTable(), DoSelectFeatureTableSet(), DoSimFeatureTable(), DoVxsTable(), Impala::CmdOptions::GetArg(), Impala::CmdOptions::GetInstance(), ILOG_DEBUG, ILOG_ERROR, ILOG_VAR, Impala::CmdOptions::Initialise(), and Impala::CmdOptions::ParseArgs(). Referenced by main(). 01296 { 01297 CmdOptions& options = CmdOptions::GetInstance(); 01298 options.Initialise(false, false, true); 01299 options.AddOption(0, "start", "nr", "0"); 01300 options.AddOption(0, "end", "nr", "-1"); 01301 options.AddOption(0, "order", "", "false"); 01302 String usageStr = "cmd = \n\n"; 01303 usageStr += " vxstable file.vxs\n"; 01304 usageStr += " diffsegmentation tablename1 tablename2\n"; 01305 usageStr += " diffkeyframes tablename1 tablename2\n"; 01306 usageStr += " diffstills tablename1 tablename2\n"; 01307 usageStr += " dumpquidtable tablename [doGroup]\n"; 01308 usageStr += " dumpfeaturetable tablename [doRewrite]\n"; 01309 usageStr += " convertfeaturetableold tablename\n"; 01310 usageStr += " scalefeaturetable tablename scaledtablename minmaxtablename\n"; 01311 usageStr += " concatfeaturetable dir useName resultDef tableDefs\n"; 01312 usageStr += " featuretable2svm tablename svmname [concept.truth]\n"; 01313 usageStr += " featuretablereadascii tablename asciiname\n"; 01314 usageStr += " featuretablewriteascii tablename asciiname\n"; 01315 usageStr += " difffeaturetable tablename1 tablename2\n"; 01316 usageStr += " simfeaturetable outDir tablename1 tablename2\n"; 01317 usageStr += " selectfeaturetableset dataset.txt feature output.txt\n"; 01318 usageStr += " dumpannotationtable tablename\n"; 01319 usageStr += " dumpannotationtableset videoset.txt conceptSet.txt quidClass doTable [maxVidId maxPos maxNeg]\n"; 01320 usageStr += " diffannotationtable tablename1 tablename2\n"; 01321 usageStr += " dumpsimilaritytableset names.txt\n"; 01322 usageStr += " dumpsimilaritytablesettrec videoset.txt names.txt\n"; 01323 usageStr += " importsimilaritytableset outdir concepts indir nrIds [fileext]\n"; 01324 usageStr += " diffsimilaritytableset names1.txt names2.txt\n"; 01325 usageStr += " procsimilaritytableset videoset.txt walkType concepts.txt model feature fileId\n"; 01326 usageStr += " makerandomsimilaritytableset videoset.txt\n"; 01327 usageStr += " dumptasktable tablename\n"; 01328 usageStr += " dumptablereal tablename\n"; 01329 usageStr += " dumptableint tablename\n"; 01330 usageStr += " difftablereal tablename1 tablename2\n"; 01331 usageStr += " difftableint tablename1 tablename2\n"; 01332 usageStr += " difftableuint64 tablename1 tablename2\n"; 01333 if (! options.ParseArgs(argc, argv, usageStr, 1)) 01334 return 1; 01335 01336 ILOG_VAR(Impala.Application.mainTable); 01337 01338 String cmd = options.GetArg(0); 01339 ILOG_DEBUG("table command : " << cmd); 01340 01341 if (cmd == "vxstable") 01342 DoVxsTable(); 01343 else if (cmd == "diffsegmentation") 01344 DoDiffSegmentation(); 01345 else if (cmd == "diffkeyframes") 01346 DoDiffKeyframes(); 01347 else if (cmd == "diffstills") 01348 DoDiffStills(); 01349 else if (cmd == "dumpquidtable") 01350 DoDumpQuidTable(); 01351 else if (cmd == "dumpfeaturetable") 01352 DoDumpFeatureTable(); 01353 else if (cmd == "scalefeaturetable") 01354 DoScaleFeatureTable(); 01355 else if (cmd == "append") 01356 DoAppendFeatureTable(); 01357 else if (cmd == "concatfeaturetable") 01358 DoConcatFeatureTable(); 01359 else if (cmd == "featuretable2svm") 01360 DoFeatureTable2Svm(); 01361 else if (cmd == "featuretablereadascii") 01362 DoFeatureTableReadAscii(); 01363 else if (cmd == "featuretablewriteascii") 01364 DoFeatureTableWriteAscii(); 01365 else if (cmd == "difffeaturetable") 01366 DoDiffFeatureTable(); 01367 else if (cmd == "simfeaturetable") 01368 DoSimFeatureTable(); 01369 else if (cmd == "selectfeaturetableset") 01370 DoSelectFeatureTableSet(); 01371 else if (cmd == "dumpannotationtable") 01372 DoDumpAnnotationTable(); 01373 else if (cmd == "dumpannotationtableset") 01374 DoDumpAnnotationTableSet(); 01375 else if (cmd == "diffannotationtable") 01376 DoDiffAnnotationTable(); 01377 else if (cmd == "dumpsimilaritytableset") 01378 DoDumpSimilarityTableSet(); 01379 else if (cmd == "dumpsimilaritytablesettrec") 01380 DoDumpSimilarityTableSetTrec(); 01381 else if (cmd == "importsimilaritytableset") 01382 DoImportSimilarityTableSet(); 01383 else if (cmd == "diffsimilaritytableset") 01384 DoDiffSimilarityTableSet(); 01385 else if (cmd == "procsimilaritytableset") 01386 DoProcSimilarityTableSet(); 01387 else if (cmd == "makerandomsimilaritytableset") 01388 DoMakeRandomSimilarityTableSet(); 01389 else if (cmd == "dumptasktable") 01390 DoDumpTaskTable(); 01391 else if (cmd == "dumptablereal") 01392 DoDumpTableReal(); 01393 else if (cmd == "dumptableint") 01394 DoDumpTableInt(); 01395 else if (cmd == "difftablereal") 01396 DoDiffTableReal(); 01397 else if (cmd == "difftableint") 01398 DoDiffTableInt(); 01399 else if (cmd == "difftableuint64") 01400 DoDiffTableUInt64(); 01401 else ILOG_ERROR("Unknown cmd : " << cmd); 01402 01403 return 0; 01404 }
Here is the call graph for this function:
|