All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Acme.JPM.Filters.EdgeDetect

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

public class EdgeDetect
extends RGBAllFilter
Edge-detection filter.

Outlines the edges of an image. The edge detection technique used is to take the Pythagorean sum of two Sobel gradient operators at 90 degrees to each other, separately for each color component. For more details see "Digital Image Processing" by Gonzalez and Wintz, chapter 7.

This filter is slow.

Fetch the software.
Fetch the entire Acme package.


Constructor Index

 o EdgeDetect(ImageProducer)

Method Index

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

Constructors

 o EdgeDetect
 public EdgeDetect(ImageProducer producer)

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