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