|
Mobios v0.91 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmobios.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 Images |
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 Metricone - the first IndexObject to compute distance ontwo - the second IndexObject to compute distance on
public double getDistance(Image one,
Image two)
Images
one - the first Image to compute the distance on.two - the second Image to compute the distance on.
Images
public 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.
Images
|
Mobios v0.91 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||