|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.fhg.igd.semoa.agent.RoundtripAgent
cbr.agent.CCVIncubatorAgent
This incubator agent hops off to a picture server and creates an index of feature vectors of the pictures it finds there. Then it registers a finder for pictures based on the extracted features. Indexing is done according to the 'Color Coherence Vector' scheme published by Pass et al.
The property hop.final must point to the
destination server where pictures are indexed and the
finder service shall be registered.
The path of the PicsFinder that shall
be registered, and the path of the local PicsSource must be configured in the agent's properties.
The properties are:
| Field Summary | |
static String |
NAME_IDX
The name of the index file. |
static String |
NAME_TMP
The name of the temporary index file. |
| Fields inherited from class de.fhg.igd.semoa.agent.RoundtripAgent |
debug_, env_, MAX_RETRIES, mob_, start_, time_, vars_ |
| Constructor Summary | |
CCVIncubatorAgent()
|
|
| Method Summary | |
protected void |
finish()
This method locates the local PicsSource
and creates an index of feature vectors for the pictures
returned by it. |
protected void |
perform()
This method just prints a short message indicating the current hop. |
| Methods inherited from class de.fhg.igd.semoa.agent.RoundtripAgent |
getHopNumber, onRunning, run |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String NAME_IDX
public static final String NAME_TMP
| Constructor Detail |
public CCVIncubatorAgent()
| Method Detail |
protected void perform()
throws Exception
perform in class RoundtripAgentException - if something's wrong.
protected void finish()
throws Exception
PicsSource
and creates an index of feature vectors for the pictures
returned by it. The the agent registers a PicsFinder service that can be used by other agents in
order to search pictures based on examples or feature
vectors. Some properties must be set for the agent to
perform correctly.
The path where the PicsFinder
that shall be registered, and the path to the
local PicsSource must be configured
in the agent's properties.
The properties are:
finish in class RoundtripAgentif - somethong's wrong.
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||