public class ScalerFactory
extends java.lang.Object
PushbroomScaler
instances.Modifier | Constructor and Description |
---|---|
private |
ScalerFactory() |
Modifier and Type | Method and Description |
---|---|
static PushbroomScaler |
createScaler(int sourceWidth,
int sourceHeight,
int numBands,
int destWidth,
int destHeight,
boolean isSmooth)
Instantiates a new
PushbroomScaler object. |
public static PushbroomScaler createScaler(int sourceWidth, int sourceHeight, int numBands, int destWidth, int destHeight, boolean isSmooth)
PushbroomScaler
object.sourceWidth
- The source image widthsourceHeight
- The source image heightnumBands
- The number of components per pixel in the imagesdestWidth
- The destination image widthdestHeight
- The destination image heightjava.lang.IllegalArgumentException
- if any of the integral parameters is non-positive.