|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Relation
An object that specifies a directed spatial relationship between two scene elements. This relationship returns a scalar value, which can be used to check constraints, or as a feature for a classifier of some sort.
Method Summary | |
---|---|
double |
apply(SceneElement e1,
SceneElement e2)
Return the value of the relation extracted from the given rectangles. |
String |
getName()
Return the name of the relation extractor. |
String |
toString(String e1Name,
String e2Name)
Pretty print the relation in the grammar format. |
Method Detail |
---|
double apply(SceneElement e1, SceneElement e2)
String getName()
String toString(String e1Name, String e2Name)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |