|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.shapelogic.color.ColorDistance1 org.shapelogic.color.ColorDistance1RGB
public class ColorDistance1RGB
Color distance for RGB.
Field Summary | |
---|---|
protected int[] |
_referenceColorChannels
|
Fields inherited from class org.shapelogic.color.ColorDistance1 |
---|
_referenceColor, INSTANCE |
Constructor Summary | |
---|---|
ColorDistance1RGB()
|
Method Summary | |
---|---|
double |
distance(int color1,
int color2)
|
double |
distanceToReferenceColor(int color)
|
void |
setReferenceColor(int color)
|
Methods inherited from class org.shapelogic.color.ColorDistance1 |
---|
distance, distance, getInstance |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int[] _referenceColorChannels
Constructor Detail |
---|
public ColorDistance1RGB()
Method Detail |
---|
public double distance(int color1, int color2)
distance
in interface IColorDistance
distance
in class ColorDistance1
public void setReferenceColor(int color)
setReferenceColor
in interface IColorDistance
setReferenceColor
in class ColorDistance1
public double distanceToReferenceColor(int color)
distanceToReferenceColor
in interface IColorDistance
distanceToReferenceColor
in class ColorDistance1
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |