Package boofcv.alg.transform.pyramid
Class PyramidFloatScale<T extends boofcv.struct.image.ImageGray<T>>
- java.lang.Object
-
- boofcv.struct.pyramid.ImagePyramidBase<T>
-
- boofcv.struct.pyramid.PyramidFloat<T>
-
- boofcv.alg.transform.pyramid.PyramidFloatScale<T>
-
- All Implemented Interfaces:
boofcv.struct.pyramid.ImagePyramid<T>
public class PyramidFloatScale<T extends boofcv.struct.image.ImageGray<T>> extends boofcv.struct.pyramid.PyramidFloat<T>Updates each layer in a
PyramidFloatby rescaling the layer with interpolation. UnlikePyramidFloatGaussianScale, no additional blurring is done between layers.
-
-
Field Summary
Fields Modifier and Type Field Description protected InterpolatePixelS<T>interpolate
-
Constructor Summary
Constructors Modifier Constructor Description PyramidFloatScale(InterpolatePixelS<T> interpolate, double[] scaleFactors, java.lang.Class<T> imageType)protectedPyramidFloatScale(PyramidFloatScale<T> orig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boofcv.struct.pyramid.ImagePyramid<T>copyStructure()doublegetSampleOffset(int layer)doublegetSigma(int layer)No blur is applied to the imagevoidprocess(T input)-
Methods inherited from class boofcv.struct.pyramid.PyramidFloat
getNumLayers, getScale, setScaleFactors
-
-
-
-
Field Detail
-
interpolate
protected InterpolatePixelS<T extends boofcv.struct.image.ImageGray<T>> interpolate
-
-
Constructor Detail
-
PyramidFloatScale
public PyramidFloatScale(InterpolatePixelS<T> interpolate, double[] scaleFactors, java.lang.Class<T> imageType)
-
PyramidFloatScale
protected PyramidFloatScale(PyramidFloatScale<T> orig)
-
-
Method Detail
-
process
public void process(T input)
-
getSampleOffset
public double getSampleOffset(int layer)
-
getSigma
public double getSigma(int layer)
No blur is applied to the image- Parameters:
layer- Layer in the pyramid- Returns:
- scale
-
copyStructure
public boofcv.struct.pyramid.ImagePyramid<T> copyStructure()
-
-