Class GradientValue_F32

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

@Generated("boofcv.struct.sparse.GradientValue_F64") public class GradientValue_F32 extends Object implements GradientValue
Specifies a pixel's gradient using float values.
  • Field Details

    • x

      public float x
    • y

      public float y
  • Constructor Details

    • GradientValue_F32

      public GradientValue_F32()
  • 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