|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object QueryProcessor.Utils.RandomAccess
public class RandomAccess
Class for the management of random accesses to image features.
Field Summary | |
---|---|
protected static long |
time
The time (in milliseconds) spent for random accesses |
Constructor Summary | |
---|---|
RandomAccess()
|
Method Summary | |
---|---|
static Matrix |
execute(Image query,
Image image)
Computes all the region distances between a DB image and the query image. |
static int |
getCount()
Returns the number of performed random accesses. |
static int |
getDistances()
Returns the number of computed distances. |
static long |
getTime()
Returns the time needed to perform random accesses. |
static void |
reset()
Resets all the counters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static long time
Constructor Detail |
---|
public RandomAccess()
Method Detail |
---|
public static long getTime()
public static int getCount()
public static int getDistances()
public static void reset()
public static Matrix execute(Image query, Image image)
query
- The query image.image
- The DB image.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |