Class GradientSparseThree_F32
- java.lang.Object
-
- boofcv.alg.filter.derivative.impl.GradientSparseThree_F32
-
- All Implemented Interfaces:
boofcv.struct.sparse.SparseImageGradient<boofcv.struct.image.GrayF32,boofcv.struct.sparse.GradientValue_F32>,boofcv.struct.sparse.SparseImageOperator<boofcv.struct.image.GrayF32>
public class GradientSparseThree_F32 extends java.lang.Object implements boofcv.struct.sparse.SparseImageGradient<boofcv.struct.image.GrayF32,boofcv.struct.sparse.GradientValue_F32>Sparse computation of the three gradient operator.
-
-
Constructor Summary
Constructors Constructor Description GradientSparseThree_F32(boofcv.struct.border.ImageBorder_F32 border)Specifies how border pixels are handled.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boofcv.struct.sparse.GradientValue_F32compute(int x, int y)java.lang.Class<boofcv.struct.sparse.GradientValue_F32>getGradientType()booleanisInBounds(int x, int y)voidsetImage(boofcv.struct.image.GrayF32 input)
-
-
-
Method Detail
-
compute
public boofcv.struct.sparse.GradientValue_F32 compute(int x, int y)- Specified by:
computein interfaceboofcv.struct.sparse.SparseImageGradient<boofcv.struct.image.GrayF32,boofcv.struct.sparse.GradientValue_F32>
-
getGradientType
public java.lang.Class<boofcv.struct.sparse.GradientValue_F32> getGradientType()
- Specified by:
getGradientTypein interfaceboofcv.struct.sparse.SparseImageGradient<boofcv.struct.image.GrayF32,boofcv.struct.sparse.GradientValue_F32>
-
setImage
public void setImage(boofcv.struct.image.GrayF32 input)
- Specified by:
setImagein interfaceboofcv.struct.sparse.SparseImageOperator<boofcv.struct.image.GrayF32>
-
isInBounds
public boolean isInBounds(int x, int y)- Specified by:
isInBoundsin interfaceboofcv.struct.sparse.SparseImageOperator<boofcv.struct.image.GrayF32>
-
-