All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Acme.JPM.Filters.Gamma

java.lang.Object
   |
   +----java.awt.image.ImageFilter
           |
           +----Acme.JPM.Filters.ImageFilterPlus
                   |
                   +----Acme.JPM.Filters.RGBBlockFilter
                           |
                           +----Acme.JPM.Filters.Gamma

public class Gamma
extends RGBBlockFilter
Gamma-correction filter.

Gamma correction fixes a form of color distortion common to many monitors. Values less than 1.0 darken the image, and greater than 1.0 lighten it.

Fetch the software.
Fetch the entire Acme package.


Constructor Index

 o Gamma(ImageProducer, double)
Constructor, single exponent.
 o Gamma(ImageProducer, double, double, double)
Constructor, different exponents for R G and B.

Method Index

 o filterRGBBlock(int, int, int, int, int[][])
This is the routine that subclasses must implement.
 o main(String[])

Constructors

 o Gamma
 public Gamma(ImageProducer producer,
              double value)
Constructor, single exponent.

 o Gamma
 public Gamma(ImageProducer producer,
              double rValue,
              double gValue,
              double bValue)
Constructor, different exponents for R G and B.

Methods

 o filterRGBBlock
 public int[][] filterRGBBlock(int x,
                               int y,
                               int width,
                               int height,
                               int rgbPixels[][])
This is the routine that subclasses must implement.

Overrides:
filterRGBBlock in class RGBBlockFilter
 o main
 public static void main(String args[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index

ACME Java  ACME Labs