setDistance

format

void setDistance(int indexType, double value)

description

Sets the current result's distance from the target image. This only applies to one index type at a time. For example, you could set the result's texture distance from the target to 0.7, you would call the method like this:

setDistance(Eve.TEXTURE, 0.7)

parameters

indexType - the type of index (such as color or region) to which the distance applies

 

value - the result's distance from the target image

returns

nothing (void)

throws

The setDistance() method does not throw any exceptions.