com.jhlabs.image

Class RGBAdjustFilter

Implemented Interfaces:
BufferedImageOp, Cloneable

public class RGBAdjustFilter
extends PointFilter

Field Summary

float
bFactor
float
gFactor
float
rFactor

Fields inherited from class com.jhlabs.image.PointFilter

canFilterIndexColorModel

Constructor Summary

RGBAdjustFilter()
RGBAdjustFilter(float r, float g, float b)

Method Summary

int
filterRGB(int x, int y, int rgb)
float
getBFactor()
float
getGFactor()
int[]
getLUT()
float
getRFactor()
void
setBFactor(float bFactor)
void
setGFactor(float gFactor)
void
setRFactor(float rFactor)
String
toString()

Methods inherited from class com.jhlabs.image.PointFilter

filter, filterRGB, setDimensions

Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp

clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRGB, getRenderingHints, setRGB

Field Details

bFactor

public float bFactor

gFactor

public float gFactor

rFactor

public float rFactor

Constructor Details

RGBAdjustFilter

public RGBAdjustFilter()

RGBAdjustFilter

public RGBAdjustFilter(float r,
                       float g,
                       float b)

Method Details

filterRGB

public int filterRGB(int x,
                     int y,
                     int rgb)
Overrides:
filterRGB in interface PointFilter

getBFactor

public float getBFactor()

getGFactor

public float getGFactor()

getLUT

public int[] getLUT()

getRFactor

public float getRFactor()

setBFactor

public void setBFactor(float bFactor)

setGFactor

public void setGFactor(float gFactor)

setRFactor

public void setRFactor(float rFactor)

toString

public String toString()