|
Mobios v0.91 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mobios.dist.ImageMetric
public class ImageMetric
Computes the distance between images. Designed for the MoBIoS image dataset,
ImageMetric
may not work for other datasets.
Constructor Summary | |
---|---|
ImageMetric()
|
Method Summary | |
---|---|
double |
getDistance_Fea(Image one,
Image two,
int FeaIndex)
Computes the distance between two images using the given feature index. |
double |
getDistance(Image one,
Image two)
Computes the distance between two Image s |
double |
getDistance(IndexObject one,
IndexObject two)
Computes the distance between two objects. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageMetric()
Method Detail |
---|
public double getDistance(IndexObject one, IndexObject two)
Metric
getDistance
in interface Metric
one
- the first IndexObject
to compute distance ontwo
- the second IndexObject
to compute distance on
public double getDistance(Image one, Image two)
Image
s
one
- the first Image
to compute the distance on.two
- the second Image
to compute the distance on.
Image
spublic double getDistance_Fea(Image one, Image two, int FeaIndex)
one
- the first Image
to compute the distance on.two
- the second Image
to compute the distance on.FeaIndex
- the feature on which distance is to be computed.
Image
s
|
Mobios v0.91 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |