|
Shot Boundary Task Evaluation | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ComparisonManager
This class is the main in processing the comparison of a system's shot boundaries segmentations and some references. It permit to launch the parsing of Xml files without worrying about parsing errors and also to process the comparison of system's parsed segmentations with reference segmentations.
Field Summary | |
static java.lang.String |
refDirName
The reference direcotry. |
Constructor Summary | |
ComparisonManager()
|
Method Summary | |
void |
adjustSystemResult(int shiftingAmount)
Adjust the system transition's pre and post values according to the given shifting amount. |
protected static java.lang.String |
getFullRefDirName()
Gets the full path to the reference directory. |
static void |
main(java.lang.String[] argv)
Main entry point to the program. |
void |
parseReference()
Launch the parsing of the file containing the Xml reference segmentations. |
void |
parseReferenceFileNames(java.io.File referenceFileNamesFile)
Launch the parsing of the file containing the mapping between a video file name and an Xml segmentation reference file. |
void |
parseResults(java.io.File systemResultsFile)
Launch the parsing of the file containing the results per system results. |
void |
processComparison()
Process the comparison between the reference segmentations and each system segmentation. |
protected static void |
setRefDirName(java.lang.String theRefDirName)
Overrule refDir, only if directory exists |
static void |
usage()
Print usage message |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.lang.String refDirName
Constructor Detail |
public ComparisonManager()
Method Detail |
protected static java.lang.String getFullRefDirName()
protected static void setRefDirName(java.lang.String theRefDirName)
public void parseReferenceFileNames(java.io.File referenceFileNamesFile)
File
- referenceFileNamesFile name of the file containing this informationspublic void parseReference()
public void parseResults(java.io.File systemResultsFile)
systemResultsFile
- name of the file containing this information.public void processComparison() throws java.lang.Exception
public void adjustSystemResult(int shiftingAmount) throws java.lang.Exception
public static void usage()
public static void main(java.lang.String[] argv)
|
Shot Boundary Task Evaluation | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |