public abstract class PyramidFloat<T extends ImageSingleBand> extends ImagePyramidBase<T>
An image pyramid where each level can be an arbitrary scale. Higher levels in the pyramid
are sub-sampled from lower levels in the pyramid allowing fractions of a pixel change. This
added flexibility comes at the cost of some performance relative to PyramidDiscrete.
An ImagePyramid where the scale factor between each level is specified using a floating point number.
| Modifier and Type | Field and Description |
|---|---|
double[] |
scale |
bottomHeight, bottomWidth, generator, layers, saveOriginalReference| Constructor and Description |
|---|
PyramidFloat(java.lang.Class<T> imageType,
double... scaleFactors)
Defines the image pyramid.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getNumLayers()
Returns the number of layers in the pyramid.
|
double |
getScale(int layer)
Returns the scale of the specified layer in the pyramid.
|
void |
setScaleFactors(double... scaleFactors)
Specifies the pyramid's structure.
|
checkScales, getHeight, getImageType, getInputHeight, getInputWidth, getLayer, getWidth, initialize, isSaveOriginalReference, setFirstLayer, setToclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSampleOffset, getSigma, processpublic PyramidFloat(java.lang.Class<T> imageType, double... scaleFactors)
imageType - Type of imagescaleFactors - (optional) Specifies the scale of each layer in the pyramid. See restrictions
on scaleFactor in setScaleFactors(double...).public void setScaleFactors(double... scaleFactors)
scaleFactors - Change in scale factor for each layer in the pyramid.public double getScale(int layer)
ImagePyramidlayer - Which layer is being inspected.public int getNumLayers()
ImagePyramid