|
|||||||||
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 org.shapelogic.color.ColorDistanceWithImage1RGB
public class ColorDistanceWithImage1RGB
ColorDistance with an image so you can ask the distance based on x,y coordinates.
Field Summary | |
---|---|
protected SLImage |
_image
|
protected int |
_lineStride
|
protected int[] |
_pixels
|
Fields inherited from class org.shapelogic.color.ColorDistance1RGB |
---|
_referenceColorChannels |
Fields inherited from class org.shapelogic.color.ColorDistance1 |
---|
_referenceColor, INSTANCE |
Constructor Summary | |
---|---|
ColorDistanceWithImage1RGB()
|
Method Summary | |
---|---|
double |
distanceToReferenceColor(int x,
int y)
|
SLImage |
getImage()
|
void |
setImage(SLImage image)
|
Methods inherited from class org.shapelogic.color.ColorDistance1RGB |
---|
distance, distanceToReferenceColor, setReferenceColor |
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 |
Methods inherited from interface org.shapelogic.color.IColorDistance |
---|
distance, distance, distance, distanceToReferenceColor, setReferenceColor |
Field Detail |
---|
protected int[] _pixels
protected SLImage _image
protected int _lineStride
Constructor Detail |
---|
public ColorDistanceWithImage1RGB()
Method Detail |
---|
public double distanceToReferenceColor(int x, int y)
distanceToReferenceColor
in interface IColorDistanceWithImage
public SLImage getImage()
getImage
in interface IColorDistanceWithImage
public void setImage(SLImage image)
setImage
in interface IColorDistanceWithImage
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |