Package boofcv.struct.sparse
Class GradientValue_I32
java.lang.Object
boofcv.struct.sparse.GradientValue_I32
- All Implemented Interfaces:
GradientValue
Specifies a pixel's gradient using integer values.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
x
public int x -
y
public int y
-
-
Constructor Details
-
GradientValue_I32
public GradientValue_I32()
-
-
Method Details
-
setTo
public void setTo(double dx, double dy) - Specified by:
setTo
in interfaceGradientValue
-
getX
public double getX()Description copied from interface:GradientValue
Derivative along the x-axis- Specified by:
getX
in interfaceGradientValue
-
getY
public double getY()Description copied from interface:GradientValue
Derivative along the y-axis- Specified by:
getY
in interfaceGradientValue
-