All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Acme.JPM.Filters.Oil

java.lang.Object
   |
   +----java.awt.image.ImageFilter
           |
           +----Acme.JPM.Filters.ImageFilterPlus
                   |
                   +----Acme.JPM.Filters.RGBAllFilter
                           |
                           +----Acme.JPM.Filters.Oil

public class Oil
extends RGBAllFilter
Oil-transfer filter.

The oil transfer is described in "Beyond Photography" by Holzmann, chapter 4, photo 7. It's a sort of localized smearing. The parameter controls the size of the smeared area, with a default of 3.

This filter is very slow.

Fetch the software.
Fetch the entire Acme package.


Constructor Index

 o Oil(ImageProducer)
Constructor, default value.
 o Oil(ImageProducer, int)
Constructor.

Method Index

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

Constructors

 o Oil
 public Oil(ImageProducer producer,
            int n)
Constructor.

 o Oil
 public Oil(ImageProducer producer)
Constructor, default value.

Methods

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

Overrides:
filterRGBAll in class RGBAllFilter
 o main
 public static void main(String args[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index

ACME Java  ACME Labs