Package boofcv.struct.sparse
Interface SparseImageGradient<T extends ImageGray<T>,G extends GradientValue>
- All Superinterfaces:
SparseImageOperator<T>
- All Known Implementing Classes:
GradientSparsePrewitt_F32,GradientSparsePrewitt_U8,GradientSparseSobel_F32,GradientSparseSobel_U8,GradientSparseThree_F32,GradientSparseThree_U8,GradientSparseTwo0_F32,GradientSparseTwo0_U8,GradientSparseTwo1_F32,GradientSparseTwo1_U8,SparseGradientSafe,SparseIntegralGradient_NoBorder,SparseIntegralGradient_NoBorder_F32,SparseIntegralGradient_NoBorder_I32,SparseIntegralGradientKernel,SparseIntegralHaar_NoBorder_F32,SparseIntegralHaar_NoBorder_I32,SparseScaleGradient
public interface SparseImageGradient<T extends ImageGray<T>,G extends GradientValue>
extends SparseImageOperator<T>
Computes the image gradient on a per pixel basis.
-
Method Summary
Modifier and TypeMethodDescriptioncompute(int x, int y) Computes the gradient at the specified point.Methods inherited from interface boofcv.struct.sparse.SparseImageOperator
isInBounds, setImage
-
Method Details
-
compute
Computes the gradient at the specified point.- Parameters:
x- x-axis pixel coordinatey- y-axis pixel coordinate- Returns:
- Gradient at that point.
-
getGradientType
-