public class RescaleOp extends NullOp implements Parallelizable
Modifier and Type | Field and Description |
---|---|
protected double[] |
offset |
protected double[] |
scalingFactor |
Constructor and Description |
---|
RescaleOp(double[] sf,
double[] off) |
RescaleOp(double sf,
double off) |
Modifier and Type | Method and Description |
---|---|
java.awt.image.BufferedImage |
filter(java.awt.image.BufferedImage src,
java.awt.image.BufferedImage dest) |
double |
getOffset(int band) |
double |
getScalingFactor(int band) |
createCompatibleDestImage, getBounds2D, getOpName, getPoint2D, getRenderingHints
public RescaleOp(double[] sf, double[] off)
sf
- off
- public RescaleOp(double sf, double off)
sf
- off
-