public class GradientSparseTwo0_U8
extends java.lang.Object
implements boofcv.struct.sparse.SparseImageGradient<boofcv.struct.image.GrayU8,boofcv.struct.sparse.GradientValue_I32>
| Constructor and Description |
|---|
GradientSparseTwo0_U8(boofcv.struct.border.ImageBorder_S32<boofcv.struct.image.GrayU8> border)
Specifies how border pixels are handled.
|
| Modifier and Type | Method and Description |
|---|---|
boofcv.struct.sparse.GradientValue_I32 |
compute(int x,
int y) |
java.lang.Class<boofcv.struct.sparse.GradientValue_I32> |
getGradientType() |
boolean |
isInBounds(int x,
int y) |
void |
setImage(boofcv.struct.image.GrayU8 input) |
public GradientSparseTwo0_U8(boofcv.struct.border.ImageBorder_S32<boofcv.struct.image.GrayU8> border)
border - how borders are handledpublic boofcv.struct.sparse.GradientValue_I32 compute(int x,
int y)
compute in interface boofcv.struct.sparse.SparseImageGradient<boofcv.struct.image.GrayU8,boofcv.struct.sparse.GradientValue_I32>public java.lang.Class<boofcv.struct.sparse.GradientValue_I32> getGradientType()
getGradientType in interface boofcv.struct.sparse.SparseImageGradient<boofcv.struct.image.GrayU8,boofcv.struct.sparse.GradientValue_I32>public void setImage(boofcv.struct.image.GrayU8 input)
setImage in interface boofcv.struct.sparse.SparseImageOperator<boofcv.struct.image.GrayU8>public boolean isInBounds(int x,
int y)
isInBounds in interface boofcv.struct.sparse.SparseImageOperator<boofcv.struct.image.GrayU8>