org.jscience.media.pictures.filters
Class ChannelMixFilter

java.lang.Object
  extended by java.awt.image.ImageFilter
      extended by java.awt.image.RGBImageFilter
          extended by org.jscience.media.pictures.filters.ChannelMixFilter
All Implemented Interfaces:
java.awt.image.ImageConsumer, java.io.Serializable, java.lang.Cloneable

public class ChannelMixFilter
extends java.awt.image.RGBImageFilter
implements java.io.Serializable

DOCUMENT ME!

See Also:
Serialized Form

Field Summary
 int blueGreen
          DOCUMENT ME!
 int greenRed
          DOCUMENT ME!
 int intoB
          DOCUMENT ME!
 int intoG
          DOCUMENT ME!
 int intoR
          DOCUMENT ME!
 int redBlue
          DOCUMENT ME!
 
Fields inherited from class java.awt.image.RGBImageFilter
canFilterIndexColorModel, newmodel, origmodel
 
Fields inherited from class java.awt.image.ImageFilter
consumer
 
Fields inherited from interface java.awt.image.ImageConsumer
COMPLETESCANLINES, IMAGEABORTED, IMAGEERROR, RANDOMPIXELORDER, SINGLEFRAME, SINGLEFRAMEDONE, SINGLEPASS, STATICIMAGEDONE, TOPDOWNLEFTRIGHT
 
Constructor Summary
ChannelMixFilter()
          Creates a new ChannelMixFilter object.
 
Method Summary
 int filterRGB(int x, int y, int rgb)
          DOCUMENT ME!
 int getBlueGreen()
          DOCUMENT ME!
 int getGreenRed()
          DOCUMENT ME!
 int getIntoB()
          DOCUMENT ME!
 int getIntoG()
          DOCUMENT ME!
 int getIntoR()
          DOCUMENT ME!
 int getRedBlue()
          DOCUMENT ME!
 void setBlueGreen(int blueGreen)
          DOCUMENT ME!
 void setGreenRed(int greenRed)
          DOCUMENT ME!
 void setIntoB(int intoB)
          DOCUMENT ME!
 void setIntoG(int intoG)
          DOCUMENT ME!
 void setIntoR(int intoR)
          DOCUMENT ME!
 void setRedBlue(int redBlue)
          DOCUMENT ME!
 java.lang.String toString()
          DOCUMENT ME!
 
Methods inherited from class java.awt.image.RGBImageFilter
filterIndexColorModel, filterRGBPixels, setColorModel, setPixels, setPixels, substituteColorModel
 
Methods inherited from class java.awt.image.ImageFilter
clone, getFilterInstance, imageComplete, resendTopDownLeftRight, setDimensions, setHints, setProperties
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

blueGreen

public int blueGreen
DOCUMENT ME!


redBlue

public int redBlue
DOCUMENT ME!


greenRed

public int greenRed
DOCUMENT ME!


intoR

public int intoR
DOCUMENT ME!


intoG

public int intoG
DOCUMENT ME!


intoB

public int intoB
DOCUMENT ME!

Constructor Detail

ChannelMixFilter

public ChannelMixFilter()
Creates a new ChannelMixFilter object.

Method Detail

setBlueGreen

public void setBlueGreen(int blueGreen)
DOCUMENT ME!

Parameters:
blueGreen - DOCUMENT ME!

getBlueGreen

public int getBlueGreen()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setRedBlue

public void setRedBlue(int redBlue)
DOCUMENT ME!

Parameters:
redBlue - DOCUMENT ME!

getRedBlue

public int getRedBlue()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setGreenRed

public void setGreenRed(int greenRed)
DOCUMENT ME!

Parameters:
greenRed - DOCUMENT ME!

getGreenRed

public int getGreenRed()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setIntoR

public void setIntoR(int intoR)
DOCUMENT ME!

Parameters:
intoR - DOCUMENT ME!

getIntoR

public int getIntoR()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setIntoG

public void setIntoG(int intoG)
DOCUMENT ME!

Parameters:
intoG - DOCUMENT ME!

getIntoG

public int getIntoG()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setIntoB

public void setIntoB(int intoB)
DOCUMENT ME!

Parameters:
intoB - DOCUMENT ME!

getIntoB

public int getIntoB()
DOCUMENT ME!

Returns:
DOCUMENT ME!

filterRGB

public int filterRGB(int x,
                     int y,
                     int rgb)
DOCUMENT ME!

Specified by:
filterRGB in class java.awt.image.RGBImageFilter
Parameters:
x - DOCUMENT ME!
y - DOCUMENT ME!
rgb - DOCUMENT ME!
Returns:
DOCUMENT ME!

toString

public java.lang.String toString()
DOCUMENT ME!

Overrides:
toString in class java.lang.Object
Returns:
DOCUMENT ME!