Package boofcv.alg.transform.pyramid
Class NoCacheScaleSpace<I extends boofcv.struct.image.ImageGray<I>,D extends boofcv.struct.image.ImageGray<D>>
- java.lang.Object
-
- boofcv.alg.transform.pyramid.NoCacheScaleSpace<I,D>
-
- All Implemented Interfaces:
boofcv.struct.gss.GaussianScaleSpace<I,D>
public class NoCacheScaleSpace<I extends boofcv.struct.image.ImageGray<I>,D extends boofcv.struct.image.ImageGray<D>> extends java.lang.Object implements boofcv.struct.gss.GaussianScaleSpace<I,D>Implementation of
GaussianScaleSpacethat focuses on one scale space at a time. When the scale space is changed the scaled image is recomputed and previously computed derivatives are marked as stale. Then the derivatives are recomputed as needed.
-
-
Constructor Summary
Constructors Constructor Description NoCacheScaleSpace(java.lang.Class<I> inputType, java.lang.Class<D> derivType)Declares internal data structures.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boofcv.struct.border.BorderTypegetBorderType()doublegetCurrentScale()DgetDerivative(boolean... isX)Computes derivative images using previously computed lower level derivatives.doublegetScale(int level)IgetScaledImage()intgetTotalScales()voidsetActiveScale(int index)voidsetBorderType(boofcv.struct.border.BorderType type)voidsetImage(I input)voidsetScales(double... scales)
-
-
-
Method Detail
-
setScales
public void setScales(double... scales)
-
getScale
public double getScale(int level)
-
setImage
public void setImage(I input)
-
setActiveScale
public void setActiveScale(int index)
-
getCurrentScale
public double getCurrentScale()
-
getTotalScales
public int getTotalScales()
-
getScaledImage
public I getScaledImage()
-
setBorderType
public void setBorderType(boofcv.struct.border.BorderType type)
-
getBorderType
public boofcv.struct.border.BorderType getBorderType()
-
getDerivative
public D getDerivative(boolean... isX)
Computes derivative images using previously computed lower level derivatives. Only computes/declares images as needed.
-
-