Package boofcv.alg.transform.ii
Class SparseIntegralGradient_NoBorder<T extends ImageGray<T>,G extends GradientValue>
java.lang.Object
boofcv.struct.sparse.SparseScaleGradient<T,G>
boofcv.alg.transform.ii.SparseIntegralGradient_NoBorder<T,G>
- All Implemented Interfaces:
SparseImageGradient<T,
,G> SparseImageOperator<T>
- Direct Known Subclasses:
SparseIntegralGradient_NoBorder_F32
,SparseIntegralGradient_NoBorder_I32
,SparseIntegralHaar_NoBorder_F32
,SparseIntegralHaar_NoBorder_I32
public abstract class SparseIntegralGradient_NoBorder<T extends ImageGray<T>,G extends GradientValue>
extends SparseScaleGradient<T,G>
Computes the gradient from an integral image. Does not check for border conditions.
Much faster than generalized algorithms that can handle image borders, but is unsafe and
bounds must be checked before use.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setWidth
(double width) Sets how wide the gradient operator is in pixelsMethods inherited from class boofcv.struct.sparse.SparseScaleGradient
isInBounds, setImage
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface boofcv.struct.sparse.SparseImageGradient
compute, getGradientType
-
Field Details
-
r
protected int r -
w
protected int w
-
-
Constructor Details
-
SparseIntegralGradient_NoBorder
public SparseIntegralGradient_NoBorder()
-
-
Method Details
-
setWidth
public void setWidth(double width) Description copied from class:SparseScaleGradient
Sets how wide the gradient operator is in pixels- Specified by:
setWidth
in classSparseScaleGradient<T extends ImageGray<T>,
G extends GradientValue> - Parameters:
width
- width in pixels
-