public class PyramidFloatScale<T extends ImageGray> extends PyramidFloat<T>
Updates each layer in a PyramidFloat by rescaling the layer with interpolation.
Unlike PyramidFloatGaussianScale, no additional blurring is done between layers.
| Modifier and Type | Field and Description |
|---|---|
protected InterpolatePixelS<T> |
interpolate |
scalebottomHeight, bottomWidth, generator, layers, saveOriginalReference| Constructor and Description |
|---|
PyramidFloatScale(InterpolatePixelS<T> interpolate,
double[] scaleFactors,
java.lang.Class<T> imageType) |
| Modifier and Type | Method and Description |
|---|---|
double |
getSampleOffset(int layer)
Returns the sampling offset.
|
double |
getSigma(int layer)
No blur is applied to the image
|
void |
process(T input)
Constructs the image pyramid given the input image.
|
getNumLayers, getScale, setScaleFactorscheckScales, getHeight, getImageType, getInputHeight, getInputWidth, getLayer, getWidth, initialize, isSaveOriginalReference, setFirstLayer, setToprotected InterpolatePixelS<T extends ImageGray> interpolate
public PyramidFloatScale(InterpolatePixelS<T> interpolate, double[] scaleFactors, java.lang.Class<T> imageType)
public void process(T input)
ImagePyramidpublic double getSampleOffset(int layer)
ImagePyramidlayer - Layer in the pyramidpublic double getSigma(int layer)
layer - Layer in the pyramid