API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt.image. ConvolveOp View Source
Author(s)
Since
Version
10 Feb 1997
Serial
Hierarchy
 Object
      ConvolveOp
Implements
 BufferedImageOp
 RasterOp
Subclasses
Description
public class ConvolveOp
  This class implements a convolution from the source to the destination.
Constructors
public ConvolveOp (Kernel kernel)
  Constructs a ConvolveOp given a Kernel.
public ConvolveOp (Kernel kernel, int edgeCondition, RenderingHints hints)
  Constructs a ConvolveOp given a Kernel, an edge condition, and a RenderingHints object (which may be null).
Methods
Hide/Show inherited methods
public BufferedImage createCompatibleDestImage (BufferedImage src, ColorModel destCM) [Specified in BufferedImageOp]
  Creates a zeroed destination image with the correct size and number of bands.
public WritableRaster createCompatibleDestRaster (Raster src) [Specified in RasterOp]
Creates a zeroed destination Raster with the correct size and number of bands, given this source.
publicfinal BufferedImage filter (BufferedImage src, BufferedImage dst) [Specified in BufferedImageOp]
  Performs a convolution on BufferedImages.
publicfinal WritableRaster filter (Raster src, WritableRaster dst) [Specified in RasterOp]
  Performs a convolution on Rasters.
publicfinal Rectangle2D getBounds2D (BufferedImage src) [Specified in BufferedImageOp]
  Returns the bounding box of the filtered destination image.
publicfinal Rectangle2D getBounds2D (Raster src) [Specified in RasterOp]
  Returns the bounding box of the filtered destination Raster.
public int getEdgeCondition ()
  Returns the edge condition.
publicfinal Kernel getKernel ()
  Returns the Kernel.
publicfinal Point2D getPoint2D (Point2D srcPt, Point2D dstPt) [Specified in BufferedImageOp]
  Returns the location of the destination point given a point in the source.
publicfinal RenderingHints getRenderingHints () [Specified in BufferedImageOp]
Returns the rendering hints for this op.
Fields
Hide/Show inherited fields
publicfinalstatic int EDGE_NO_OP = "1"
Pixels at the edge of the source image are copied to the corresponding pixels in the destination without modification.
publicfinalstatic int EDGE_ZERO_FILL = "0"
  Pixels at the edge of the destination image are set to zero.
pack-private int edgeHint
pack-private RenderingHints hints
pack-private Kernel kernel
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar