com.jhlabs.image

Class ReduceNoiseFilter

Implemented Interfaces:
BufferedImageOp, Cloneable

public class ReduceNoiseFilter
extends WholeImageFilter

A filter which performs reduces noise by looking at each pixel's 8 neighbours, and if it's a minimum or maximum, replacing it by the next minimum or maximum of the neighbours.

Field Summary

Fields inherited from class com.jhlabs.image.WholeImageFilter

originalSpace, transformedSpace

Constructor Summary

ReduceNoiseFilter()

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

ReduceNoiseFilter

public ReduceNoiseFilter()

Method Details

filterPixels

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

toString

public String toString()