boofcv.alg.transform.pyramid
Class PyramidFloatScale<T extends ImageGray>
- java.lang.Object
-
- boofcv.struct.pyramid.ImagePyramidBase<T>
-
- boofcv.struct.pyramid.PyramidFloat<T>
-
- boofcv.alg.transform.pyramid.PyramidFloatScale<T>
-
- All Implemented Interfaces:
- ImagePyramid<T>
public class PyramidFloatScale<T extends ImageGray> extends PyramidFloat<T>
Updates each layer in a
PyramidFloatby rescaling the layer with interpolation. UnlikePyramidFloatGaussianScale, no additional blurring is done between layers.
-
-
Field Summary
-
Fields inherited from class boofcv.struct.pyramid.PyramidFloat
scale
-
Fields inherited from class boofcv.struct.pyramid.ImagePyramidBase
layers
-
-
Constructor Summary
Constructors Constructor and Description PyramidFloatScale(InterpolatePixelS<T> interpolate, double[] scaleFactors, java.lang.Class<T> imageType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublegetSampleOffset(int layer)Returns the sampling offset.doublegetSigma(int layer)No blur is applied to the imagevoidprocess(T input)Constructs the image pyramid given the input image.-
Methods inherited from class boofcv.struct.pyramid.PyramidFloat
getNumLayers, getScale, setScaleFactors
-
Methods inherited from class boofcv.struct.pyramid.ImagePyramidBase
getHeight, getImageType, getInputHeight, getInputWidth, getLayer, getWidth, initialize, isSaveOriginalReference, setFirstLayer, setTo
-
-
-
-
Constructor Detail
-
PyramidFloatScale
public PyramidFloatScale(InterpolatePixelS<T> interpolate, double[] scaleFactors, java.lang.Class<T> imageType)
-
-
Method Detail
-
process
public void process(T input)
Description copied from interface:ImagePyramidConstructs the image pyramid given the input image.
-
getSampleOffset
public double getSampleOffset(int layer)
Description copied from interface:ImagePyramidReturns the sampling offset. Both x and y axises are assumed to have the same offset. See comment in constructor above.- Parameters:
layer- Layer in the pyramid- Returns:
- Sampling offset in pixels.
-
getSigma
public double getSigma(int layer)
No blur is applied to the image- Parameters:
layer- Layer in the pyramid- Returns:
- scale
-
-
DataMelt 3.0 © DataMelt by jWork.ORG