|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectviper.comparison.FramewiseEvaluation
A framewise evaluation views each frame individually, computing aggregate statisitcs on a frame-by-frame or even pixel-by-pixel level, disregarding the continuity of descriptors. This is great for computing things like pixel and frame counts.
| Nested Class Summary | |
static class |
FramewiseEvaluation.FrameMeasure
A measure for a given frame. |
| Nested classes inherited from class viper.comparison.Evaluation |
Evaluation.Information |
| Constructor Summary | |
FramewiseEvaluation(EvaluationParameters epf)
Constructs a new framewise evaluation from the given parameters |
|
| Method Summary | |
java.util.Map |
getMeasureMap()
Return a map of DescPrototypes to their evaluations. |
java.lang.String |
getName()
Gets the name of the evalutation type. |
java.io.PrintWriter |
getOutput()
Gets the human readable output stream. |
int |
getTickerSize()
Gets the number of elements in the ticker. |
boolean |
isPrintingHeaders()
Tests to see if the header and footer should be printed out. |
void |
parseEvaluation(VReader reader,
DescriptorConfigs dcfgs)
Parse the vreader section. |
Evaluation.Information |
printEvaluation()
Prints out the evaluation information after a successful evaluation. |
void |
printFooter(Evaluation.Information total)
Prints the footer information, including overall scores. |
void |
printHeader()
Prints the header information, usually about what metrics and rules were used in the evaluation. |
void |
printMetricsTo(java.io.PrintWriter out)
Print out information about evaluation |
void |
printRawMetricsTo(java.io.PrintWriter raw)
Print evaluation info in terse format |
void |
setMatrix(CompMatrix cm)
Sets the matrix to evaluate. |
void |
setOutput(java.io.PrintWriter output)
Sets where human-readable information should be printed. |
void |
setPrintingHeaders(boolean on)
Set to print headers or not. |
void |
setRaw(java.io.PrintWriter raw)
Sets the machine readable raw output stream. |
void |
setTicker(Revealer ticker)
Sets the ui for progress |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FramewiseEvaluation(EvaluationParameters epf)
epf - the evaluation parameters| Method Detail |
public void printMetricsTo(java.io.PrintWriter out)
printMetricsTo in interface Evaluationout - the output streampublic void printRawMetricsTo(java.io.PrintWriter raw)
printRawMetricsTo in interface Evaluationraw - the raw streampublic void setOutput(java.io.PrintWriter output)
setOutput in interface Evaluationoutput - the human readable output streampublic java.io.PrintWriter getOutput()
getOutput in interface Evaluationpublic void setRaw(java.io.PrintWriter raw)
setRaw in interface Evaluationraw - the machine readable streampublic void setPrintingHeaders(boolean on)
setPrintingHeaders in interface Evaluationon - true to print headerspublic boolean isPrintingHeaders()
isPrintingHeaders in interface Evaluationpublic void setTicker(Revealer ticker)
setTicker in interface Evaluationticker - the progress uipublic void setMatrix(CompMatrix cm)
setMatrix in interface Evaluationcm - the matrix to evaluatepublic int getTickerSize()
getTickerSize in interface Evaluationpublic void printHeader()
printHeader in interface Evaluationpublic void printFooter(Evaluation.Information total)
printFooter in interface Evaluationtotal - the totalpublic Evaluation.Information printEvaluation()
printEvaluation in interface Evaluation
public void parseEvaluation(VReader reader,
DescriptorConfigs dcfgs)
throws java.io.IOException
parseEvaluation in interface Evaluationreader - VReader, already pointing at the begin evaluation directive.dcfgs - the target data - the evaluation uses the target names
java.io.IOExceptionpublic java.util.Map getMeasureMap()
getMeasureMap in interface Evaluationpublic java.lang.String getName()
getName in interface Evaluation
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||