com.jhlabs.image
Class MaximumFilter
java.lang.Object
com.jhlabs.image.AbstractBufferedImageOp
com.jhlabs.image.WholeImageFilter
com.jhlabs.image.MaximumFilter
- All Implemented Interfaces:
- BufferedImageOp, Cloneable
public class MaximumFilter
- extends WholeImageFilter
A filter which replcaes each pixel by the maximum of itself and its eight neightbours.
MaximumFilter
public MaximumFilter()
filterPixels
protected int[] filterPixels(int width,
int height,
int[] inPixels,
Rectangle transformedSpace)
- Description copied from class:
WholeImageFilter
- Actually filter the pixels.
- Specified by:
filterPixels in class WholeImageFilter
- Parameters:
width - the image widthheight - the image heightinPixels - the image pixelstransformedSpace - the output bounds
- Returns:
- the output pixels
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2012. All Rights Reserved.