com.jhlabs.image

Class MaximumFilter

Implemented Interfaces:
BufferedImageOp, Cloneable

public class MaximumFilter
extends WholeImageFilter

A filter which replcaes each pixel by the maximum of itself and its eight neightbours.

Field Summary

Fields inherited from class com.jhlabs.image.WholeImageFilter

originalSpace, transformedSpace

Constructor Summary

MaximumFilter()

Method Summary

protected int[]
filterPixels(int width, int height, int[] inPixels, Rectangle transformedSpace)
String
toString()

Methods inherited from class com.jhlabs.image.WholeImageFilter

filter, filterPixels, transformSpace

Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp

clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRGB, getRenderingHints, setRGB

Constructor Details

MaximumFilter

public MaximumFilter()

Method Details

filterPixels

protected int[] filterPixels(int width,
                             int height,
                             int[] inPixels,
                             Rectangle transformedSpace)
Overrides:
filterPixels in interface WholeImageFilter

toString

public String toString()