|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object QueryProcessor.SF.ScoringFunction.ScoringFunction
public abstract class ScoringFunction
Abstract class modelling a scoring function.
Constructor Summary | |
---|---|
ScoringFunction()
|
Method Summary | |
---|---|
abstract double |
distance(Image i1,
Image i2,
Matrix distances)
Computes the distance between two images given the matrix of distances between images' regions. |
abstract double |
threshold(Image query,
double[] thresholds)
Computes the threshold value for a query image. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScoringFunction()
Method Detail |
---|
public abstract double distance(Image i1, Image i2, Matrix distances)
i1
- First image.i2
- Second image.distances
- Matrix containing distance values between images' regions.
public abstract double threshold(Image query, double[] thresholds)
query
- The query image.thresholds
- Array of values corresponding to threshold values for individual region sorted accesses.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |