Class ImageFlow.D

java.lang.Object
boofcv.struct.flow.ImageFlow.D
Enclosing class:
ImageFlow

public static class ImageFlow.D
extends Object
Specifies the optical flow for a single pixel. Pixels for which no optical flow could be found are marked by setting x to Float.NaN.
  • Field Details

    • x

      public float x
      Optical flow. If no valid flow could be found then x = Float.NaN
    • y

      public float y
      Optical flow. If no valid flow could be found then x = Float.NaN
  • Constructor Details

    • D

      public D()
  • Method Details

    • set

      public void set​(ImageFlow.D d)
    • set

      public void set​(float x, float y)
    • markInvalid

      public void markInvalid()
    • getX

      public float getX()
    • getY

      public float getY()
    • isValid

      public boolean isValid()