public class ConvolveWithEdgeOp
extends java.lang.Object
implements java.awt.image.BufferedImageOp, java.awt.image.RasterOp
ConvolveOp| Modifier and Type | Field and Description |
|---|---|
static int |
EDGE_NO_OP
Alias for
ConvolveOp.EDGE_NO_OP. |
static int |
EDGE_REFLECT
Adds a border to the image while convolving.
|
static int |
EDGE_WRAP
Adds a border to the image while convolving.
|
static int |
EDGE_ZERO_FILL
Alias for
ConvolveOp.EDGE_ZERO_FILL. |
| Constructor and Description |
|---|
ConvolveWithEdgeOp(java.awt.image.Kernel pKernel) |
ConvolveWithEdgeOp(java.awt.image.Kernel pKernel,
int pEdgeCondition,
java.awt.RenderingHints pHints) |
| Modifier and Type | Method and Description |
|---|---|
java.awt.image.BufferedImage |
createCompatibleDestImage(java.awt.image.BufferedImage pSource,
java.awt.image.ColorModel pDesinationColorModel) |
java.awt.image.WritableRaster |
createCompatibleDestRaster(java.awt.image.Raster pSource) |
java.awt.image.BufferedImage |
filter(java.awt.image.BufferedImage pSource,
java.awt.image.BufferedImage pDestination) |
java.awt.image.WritableRaster |
filter(java.awt.image.Raster pSource,
java.awt.image.WritableRaster pDestination) |
java.awt.geom.Rectangle2D |
getBounds2D(java.awt.image.BufferedImage pSource) |
java.awt.geom.Rectangle2D |
getBounds2D(java.awt.image.Raster pSource) |
int |
getEdgeCondition()
Returns the edge condition.
|
java.awt.image.Kernel |
getKernel() |
java.awt.geom.Point2D |
getPoint2D(java.awt.geom.Point2D pSourcePoint,
java.awt.geom.Point2D pDestinationPoint) |
java.awt.RenderingHints |
getRenderingHints() |
public static final int EDGE_ZERO_FILL
ConvolveOp.EDGE_ZERO_FILL.EDGE_REFLECT,
Constant Field Valuespublic static final int EDGE_NO_OP
ConvolveOp.EDGE_NO_OP.EDGE_REFLECT,
Constant Field Valuespublic static final int EDGE_REFLECT
EDGE_ZERO_FILL and EDGE_NO_OP, it does so
at the expense of higher memory consumption and considerable more computation.public static final int EDGE_WRAP
EDGE_ZERO_FILL and EDGE_NO_OP, it does so
at the expense of higher memory consumption and considerable more computation.EDGE_REFLECT,
Constant Field Valuespublic ConvolveWithEdgeOp(java.awt.image.Kernel pKernel,
int pEdgeCondition,
java.awt.RenderingHints pHints)
public ConvolveWithEdgeOp(java.awt.image.Kernel pKernel)
public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage pSource,
java.awt.image.BufferedImage pDestination)
filter in interface java.awt.image.BufferedImageOppublic int getEdgeCondition()
ConvolveOp.EDGE_NO_OP,
EDGE_ZERO_FILL,
EDGE_REFLECT,
EDGE_WRAPpublic java.awt.image.WritableRaster filter(java.awt.image.Raster pSource,
java.awt.image.WritableRaster pDestination)
filter in interface java.awt.image.RasterOppublic java.awt.image.BufferedImage createCompatibleDestImage(java.awt.image.BufferedImage pSource,
java.awt.image.ColorModel pDesinationColorModel)
createCompatibleDestImage in interface java.awt.image.BufferedImageOppublic java.awt.image.WritableRaster createCompatibleDestRaster(java.awt.image.Raster pSource)
createCompatibleDestRaster in interface java.awt.image.RasterOppublic java.awt.geom.Rectangle2D getBounds2D(java.awt.image.BufferedImage pSource)
getBounds2D in interface java.awt.image.BufferedImageOppublic java.awt.geom.Rectangle2D getBounds2D(java.awt.image.Raster pSource)
getBounds2D in interface java.awt.image.RasterOppublic java.awt.geom.Point2D getPoint2D(java.awt.geom.Point2D pSourcePoint,
java.awt.geom.Point2D pDestinationPoint)
getPoint2D in interface java.awt.image.BufferedImageOpgetPoint2D in interface java.awt.image.RasterOppublic java.awt.RenderingHints getRenderingHints()
getRenderingHints in interface java.awt.image.BufferedImageOpgetRenderingHints in interface java.awt.image.RasterOppublic java.awt.image.Kernel getKernel()
Copyright © 2018. All Rights Reserved.