|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object IndexManager.ImgIndexManager
public abstract class ImgIndexManager
Abstract class for the management of the image index.
Constructor Summary | |
---|---|
ImgIndexManager()
|
Method Summary | |
---|---|
abstract boolean |
create(java.lang.String featureFile)
Creates a new index from a file containing image features. |
abstract QuerySF |
createQuery(Image image)
Creates a new k-NN query based on the given image using this index. |
abstract boolean |
delete(Image image)
Deletes an image from the index. |
abstract boolean |
insert(Image image)
Inserts a new image in the index. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImgIndexManager()
Method Detail |
---|
public abstract QuerySF createQuery(Image image)
image
- The query image.
public abstract boolean create(java.lang.String featureFile)
featureFile
- Absolute path of the features file.
true
if the index was successfully created, false
otherwise.public abstract boolean insert(Image image)
image
- Image to be inserted.
true
if the image was successfully inserted, false
otherwise.public abstract boolean delete(Image image)
image
- Image to be deleted.
true
if the image was successfully deleted, false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |