org.jmage.filter.spatial
Class Convolution3x3Filter

java.lang.Object
  extended by org.jmage.filter.spatial.ConvolutionFilter
      extended by org.jmage.filter.spatial.Convolution3x3Filter
All Implemented Interfaces:
ImageFilter
Direct Known Subclasses:
EdgeEnhancementFilter, LowPassFilter, MeanFilter, SharpenFilter, UltraSharpenFilter, UnsharpMaskFilter

public abstract class Convolution3x3Filter
extends ConvolutionFilter

Convolution3x3 Filter applies a 3x3 filter convolution matrix to an image.


Constructor Summary
Convolution3x3Filter()
          Builds a Convolution3x3Filter with an empty matrix.
 
Method Summary
 javax.media.jai.PlanarImage filter(javax.media.jai.PlanarImage image)
          Filter the image
 
Methods inherited from class org.jmage.filter.spatial.ConvolutionFilter
normalize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Convolution3x3Filter

public Convolution3x3Filter()
Builds a Convolution3x3Filter with an empty matrix.

Method Detail

filter

public javax.media.jai.PlanarImage filter(javax.media.jai.PlanarImage image)
                                   throws FilterException
Filter the image

Parameters:
image - the image
Returns:
the filtered image
Throws:
FilterException - if an error occurs during filtering


Copyright © 2004-2008 Sourceforge. All Rights Reserved.