com.jhlabs.image

Class ChannelMixFilter

Implemented Interfaces:
BufferedImageOp, Cloneable

public class ChannelMixFilter
extends PointFilter

A filter which allows the red, green and blue channels of an image to be mixed into each other.

Field Summary

Fields inherited from class com.jhlabs.image.PointFilter

canFilterIndexColorModel

Constructor Summary

ChannelMixFilter()

Method Summary

int
filterRGB(int x, int y, int rgb)
int
getBlueGreen()
int
getGreenRed()
int
getIntoB()
int
getIntoG()
int
getIntoR()
int
getRedBlue()
void
setBlueGreen(int blueGreen)
void
setGreenRed(int greenRed)
void
setIntoB(int intoB)
void
setIntoG(int intoG)
void
setIntoR(int intoR)
void
setRedBlue(int redBlue)
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

Constructor Details

ChannelMixFilter

public ChannelMixFilter()

Method Details

filterRGB

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

getBlueGreen

public int getBlueGreen()

getGreenRed

public int getGreenRed()

getIntoB

public int getIntoB()

getIntoG

public int getIntoG()

getIntoR

public int getIntoR()

getRedBlue

public int getRedBlue()

setBlueGreen

public void setBlueGreen(int blueGreen)

setGreenRed

public void setGreenRed(int greenRed)

setIntoB

public void setIntoB(int intoB)

setIntoG

public void setIntoG(int intoG)

setIntoR

public void setIntoR(int intoR)

setRedBlue

public void setRedBlue(int redBlue)

toString

public String toString()