Package boofcv.alg.transform.ii.impl
Class SparseIntegralGradient_NoBorder_F32
java.lang.Object
boofcv.struct.sparse.SparseScaleGradient<T,G>
boofcv.alg.transform.ii.SparseIntegralGradient_NoBorder<GrayF32,GradientValue_F32>
boofcv.alg.transform.ii.impl.SparseIntegralGradient_NoBorder_F32
- All Implemented Interfaces:
SparseImageGradient<GrayF32,
,GradientValue_F32> SparseImageOperator<GrayF32>
public class SparseIntegralGradient_NoBorder_F32
extends SparseIntegralGradient_NoBorder<GrayF32,GradientValue_F32>
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_F32
public SparseIntegralGradient_NoBorder_F32()
-
-
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<GrayF32,
GradientValue_F32> - 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
-