|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object QueryProcessor.SF.ScoringFunction.EMD.WrapperEMD
public class WrapperEMD
Wrapper class for computing the EMD distance.
Constructor Summary | |
---|---|
WrapperEMD()
|
Method Summary | |
---|---|
static double |
distance(Image i1,
Image i2,
Matrix distances)
Computes the regular EMD distance between two images given the matrix of distances between images' regions. |
static double |
getMetricDistance(Image i1,
Image i2,
Matrix distances)
Computes the metric EMD distance between two images given the matrix of distances between images' regions. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WrapperEMD()
Method Detail |
---|
public static double distance(Image i1, Image i2, Matrix distances)
i1
- First image.i2
- Second image.distances
- Matrix containing distance values between images' regions.
public static double getMetricDistance(Image i1, Image i2, Matrix distances)
i1
- First image.i2
- Second image.distances
- Matrix containing distance values between images' regions.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |