public class ChromaKeyFilter extends AbstractBufferedImageOp
Modifier and Type | Field and Description |
---|---|
private float |
bTolerance |
private int |
color |
private float |
hTolerance |
private float |
sTolerance |
Constructor and Description |
---|
ChromaKeyFilter() |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst) |
float |
getBTolerance() |
int |
getColor() |
float |
getHTolerance() |
float |
getSTolerance() |
void |
setBTolerance(float bTolerance) |
void |
setColor(int color) |
void |
setHTolerance(float hTolerance)
Set the tolerance of the image in the range 0..1.
|
void |
setSTolerance(float sTolerance) |
String |
toString() |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
private float hTolerance
private float sTolerance
private float bTolerance
private int color
public ChromaKeyFilter()
public void setHTolerance(float hTolerance)
public float getHTolerance()
public void setSTolerance(float sTolerance)
public float getSTolerance()
public void setBTolerance(float bTolerance)
public float getBTolerance()
public void setColor(int color)
public int getColor()
public BufferedImage filter(BufferedImage src, BufferedImage dst)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses