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