Class GradientValue_I32

java.lang.Object
boofcv.struct.sparse.GradientValue_I32
All Implemented Interfaces:
GradientValue

public class GradientValue_I32 extends Object implements GradientValue
Specifies a pixel's gradient using integer values.
  • 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 interface GradientValue
    • getX

      public double getX()
      Description copied from interface: GradientValue
      Derivative along the x-axis
      Specified by:
      getX in interface GradientValue
    • getY

      public double getY()
      Description copied from interface: GradientValue
      Derivative along the y-axis
      Specified by:
      getY in interface GradientValue