|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SceneMetric
A metric interface for comparing the similarity of two different interpretations of a scene. Implementations of this interface can be used to evaluate the performance of a scene recognizer.
Method Summary | |
---|---|
double |
apply(Scene db1,
Scene db2)
Return a similarity metric for the given tree (root1) relative to a correct reference scene interpretation (root2). |
String |
getName()
Return the name of this metric so that the score can be associated with a meaningful label. |
Method Detail |
---|
String getName()
double apply(Scene db1, Scene db2)
Note that SceneMetrics assume that the given trees are built from the same strokes in the same order. They also only operate on roots that cover all of the leaves.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |