|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cbr.service.PictureEntry
This class represents entries in the index of a picture broker. Each entrie groups the relevant information on a retrieved picture. This information includes:
feature vector
of the
image.
Field Summary | |
float |
distance
The distance of the picture represented by this entry to the query picture. |
FeatureVector |
features
The feature vector of the
picture represented by this entry. |
String |
name
The name of the picture represented by this entry. |
byte[] |
thumbnail
The thumbnail of the picture represented by this entry. |
String |
url
The URL of the agent server where the picture can be retrieved that is represented by this entry. |
Constructor Summary | |
PictureEntry()
|
Method Summary | |
int |
compareTo(Object o)
Compares this instance with the given one. |
boolean |
equals(Object o)
Checks for equality. |
int |
hashCode()
Returns the hash code of this object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public FeatureVector features
feature vector
of the
picture represented by this entry.
public float distance
public String name
public String url
public byte[] thumbnail
Constructor Detail |
public PictureEntry()
Method Detail |
public boolean equals(Object o)
true
iff the given object and this
object are equal.public int hashCode()
public int compareTo(Object o)
compareTo
in interface Comparable
o
- The object to compare with.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |