public abstract class BaseResampler extends Object
| Constructor and Description |
|---|
BaseResampler(Size from,
Size to) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract short[] |
getTapsX(int dstX) |
protected abstract short[] |
getTapsY(int dstY) |
static void |
normalizeAndGenerateFixedPrecision(double[] taps,
int precBits,
short[] out)
Converts floating point taps to fixed precision taps.
|
protected abstract int |
nTaps() |
void |
resample(Picture src,
Picture dst)
Interpolates points using a 2d convolution
|
protected abstract short[] getTapsX(int dstX)
protected abstract short[] getTapsY(int dstY)
protected abstract int nTaps()
public static void normalizeAndGenerateFixedPrecision(double[] taps,
int precBits,
short[] out)
taps - The 64 bit double representationprecBits - Precision bitsout - Taps converted to fixed precisionCopyright © 2019. All rights reserved.