Package boofcv.alg.transform.ii.impl
Class SparseIntegralGradient_NoBorder_I32
java.lang.Object
boofcv.struct.sparse.SparseScaleGradient<T,G>
boofcv.alg.transform.ii.SparseIntegralGradient_NoBorder<GrayS32,GradientValue_I32>
boofcv.alg.transform.ii.impl.SparseIntegralGradient_NoBorder_I32
- All Implemented Interfaces:
SparseImageGradient<GrayS32,
,GradientValue_I32> SparseImageOperator<GrayS32>
public class SparseIntegralGradient_NoBorder_I32
extends SparseIntegralGradient_NoBorder<GrayS32,GradientValue_I32>
Computes the gradient from an integral image. Does not check for border conditions.
-
Field Summary
Fields inherited from class boofcv.alg.transform.ii.SparseIntegralGradient_NoBorder
r, w
-
Constructor Summary
-
Method Summary
Methods inherited from class boofcv.struct.sparse.SparseScaleGradient
isInBounds, setImage
-
Constructor Details
-
SparseIntegralGradient_NoBorder_I32
public SparseIntegralGradient_NoBorder_I32()
-
-
Method Details
-
setWidth
public void setWidth(double width) Description copied from class:SparseScaleGradient
Sets how wide the gradient operator is in pixels- Overrides:
setWidth
in classSparseIntegralGradient_NoBorder<GrayS32,
GradientValue_I32> - Parameters:
width
- width in pixels
-
compute
Description copied from interface:SparseImageGradient
Computes the gradient at the specified point.- Parameters:
x
- x-axis pixel coordinatey
- y-axis pixel coordinate- Returns:
- Gradient at that point.
-
getGradientType
-