BufferedImageOp, RasterOppublic class ConvolveWithEdgeOp extends Object implements BufferedImageOp, RasterOp
ConvolveOp| Modifier and Type | Field | 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 | Description |
|---|---|
ConvolveWithEdgeOp(Kernel pKernel) |
|
ConvolveWithEdgeOp(Kernel pKernel,
int pEdgeCondition,
RenderingHints pHints) |
| Modifier and Type | Method | Description |
|---|---|---|
BufferedImage |
createCompatibleDestImage(BufferedImage pSource,
ColorModel pDesinationColorModel) |
|
WritableRaster |
createCompatibleDestRaster(Raster pSource) |
|
BufferedImage |
filter(BufferedImage pSource,
BufferedImage pDestination) |
|
WritableRaster |
filter(Raster pSource,
WritableRaster pDestination) |
|
Rectangle2D |
getBounds2D(BufferedImage pSource) |
|
Rectangle2D |
getBounds2D(Raster pSource) |
|
int |
getEdgeCondition() |
Returns the edge condition.
|
Kernel |
getKernel() |
|
Point2D |
getPoint2D(Point2D pSourcePoint,
Point2D pDestinationPoint) |
|
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(Kernel pKernel, int pEdgeCondition, RenderingHints pHints)
public ConvolveWithEdgeOp(Kernel pKernel)
public BufferedImage filter(BufferedImage pSource, BufferedImage pDestination)
filter in interface BufferedImageOppublic int getEdgeCondition()
ConvolveOp.EDGE_NO_OP,
EDGE_ZERO_FILL,
EDGE_REFLECT,
EDGE_WRAPpublic WritableRaster filter(Raster pSource, WritableRaster pDestination)
public BufferedImage createCompatibleDestImage(BufferedImage pSource, ColorModel pDesinationColorModel)
createCompatibleDestImage in interface BufferedImageOppublic WritableRaster createCompatibleDestRaster(Raster pSource)
createCompatibleDestRaster in interface RasterOppublic Rectangle2D getBounds2D(BufferedImage pSource)
getBounds2D in interface BufferedImageOppublic Rectangle2D getBounds2D(Raster pSource)
getBounds2D in interface RasterOppublic Point2D getPoint2D(Point2D pSourcePoint, Point2D pDestinationPoint)
getPoint2D in interface BufferedImageOpgetPoint2D in interface RasterOppublic RenderingHints getRenderingHints()
getRenderingHints in interface BufferedImageOpgetRenderingHints in interface RasterOppublic Kernel getKernel()
Copyright © 2018. All rights reserved.