|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.twelvemonkeys.image.ConvolveWithEdgeOp
public class ConvolveWithEdgeOp
This class implements a convolution from the source to the destination.
ConvolveOp| Field Summary | |
|---|---|
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 Summary | |
|---|---|
ConvolveWithEdgeOp(Kernel pKernel)
|
|
ConvolveWithEdgeOp(Kernel pKernel,
int pEdgeCondition,
RenderingHints pHints)
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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 Values| Constructor Detail |
|---|
public ConvolveWithEdgeOp(Kernel pKernel,
int pEdgeCondition,
RenderingHints pHints)
public ConvolveWithEdgeOp(Kernel pKernel)
| Method Detail |
|---|
public BufferedImage filter(BufferedImage pSource,
BufferedImage pDestination)
filter in interface BufferedImageOppublic int getEdgeCondition()
ConvolveOp.EDGE_NO_OP,
EDGE_ZERO_FILL,
EDGE_REFLECT,
EDGE_WRAP
public WritableRaster filter(Raster pSource,
WritableRaster pDestination)
filter in interface RasterOp
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 RasterOp
public Point2D getPoint2D(Point2D pSourcePoint,
Point2D pDestinationPoint)
getPoint2D in interface BufferedImageOpgetPoint2D in interface RasterOppublic RenderingHints getRenderingHints()
getRenderingHints in interface BufferedImageOpgetRenderingHints in interface RasterOppublic Kernel getKernel()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||