|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IColorRange
ColorRangeI is a color aggregate that exist in an defined range.
ColorAndVarianceI is an interface for a color / gray implementations.
Method Summary | |
---|---|
boolean |
colorInRange(int color)
Whether a color belong to the ColorRange. |
double |
distanceFromRange(int color)
Distance of input color from this ColorRange. |
double |
distanceFromRangeCenter(int color)
Distance of input color from this ColorRange. |
int |
getColorCenter()
|
IColorDistance |
getDistance()
|
double |
getMaxDistance()
|
boolean |
isRangeFrozen()
If the ColorRange can change. |
void |
setColorCenter(int center)
|
void |
setDistance(IColorDistance distance)
|
void |
setMaxDistance(double distance)
|
Methods inherited from interface org.shapelogic.color.IColorAndVariance |
---|
getMeanBlue, getMeanColor, getMeanGreen, getMeanRed, getStandardDeviation, merge |
Methods inherited from interface org.shapelogic.imageutil.PixelHandler |
---|
putPixel |
Methods inherited from interface org.shapelogic.color.ColorChannels |
---|
getColorChannels |
Methods inherited from interface org.shapelogic.imageutil.HasArea |
---|
getArea |
Methods inherited from interface org.shapelogic.imageutil.HasPixelArea |
---|
getPixelArea, setPixelArea |
Method Detail |
---|
boolean colorInRange(int color)
double distanceFromRange(int color)
double distanceFromRangeCenter(int color)
double getMaxDistance()
void setMaxDistance(double distance)
int getColorCenter()
void setColorCenter(int center)
boolean isRangeFrozen()
IColorDistance getDistance()
void setDistance(IColorDistance distance)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |