public class PyramidDiscreteAverage<T extends ImageSingleBand> extends PyramidDiscrete<T>
scalebottomHeight, bottomWidth, generator, layers, saveOriginalReference| Constructor and Description |
|---|
PyramidDiscreteAverage(Class<T> imageType,
boolean saveOriginalReference,
int... scaleFactors) |
| Modifier and Type | Method and Description |
|---|---|
double |
getSampleOffset(int layer)
The center of the sampling kernel is 1/2 the square region's width
|
double |
getSigma(int layer)
Returns the scale-space scale for the specified layer.
|
void |
process(T input)
Constructs the image pyramid given the input image.
|
getNumLayers, getScale, getScales, setScaleFactorscheckScales, getHeight, getImageType, getInputHeight, getInputWidth, getLayer, getWidth, initialize, isSaveOriginalReference, setFirstLayer, setTopublic PyramidDiscreteAverage(Class<T> imageType, boolean saveOriginalReference, int... scaleFactors)
imageType - Type of image processedsaveOriginalReference - If a reference to the full resolution image should be saved instead of copied.
Set to false if you don't know what you are doing.scaleFactors - Scale factor for each layer in the pyramid relative to the input layerpublic void process(T input)
ImagePyramidpublic double getSampleOffset(int layer)
layer - Layer in the pyramidpublic double getSigma(int layer)
ImagePyramidlayer - Layer in the pyramidCopyright © 2013. All Rights Reserved.