public class AddBinaryOp extends BinaryImageOp
combinePixels, left| Constructor and Description |
|---|
AddBinaryOp(java.awt.image.BufferedImage left)
The left-hand image must be non-null.
|
| Modifier and Type | Method and Description |
|---|---|
int |
combine(int s1,
int s2)
Samples s1 and s2 are averaged and clamped to [0,255].
|
int |
combineRGB(int s1,
int s2)
The RGB colors given by packed-samples s1 and s2 are
averaged and returned as a packed-sample.
|
createCompatibleDestImage, filtercreateCompatibleDestImage, getBounds2D, getOpName, getPoint2D, getRenderingHintspublic AddBinaryOp(java.awt.image.BufferedImage left)
left - public int combine(int s1,
int s2)
combine in class BinaryImageOps1 - s2 - public int combineRGB(int s1,
int s2)
combineRGB in class BinaryImageOps1 - s2 -