Class ImageFlow.D

  • Enclosing class:
    ImageFlow

    public static class ImageFlow.D
    extends java.lang.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 Summary

      Fields 
      Modifier and Type Field Description
      float x
      Optical flow.
      float y
      Optical flow.
    • Constructor Summary

      Constructors 
      Constructor Description
      D()  
    • Field Detail

      • 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 Detail

      • D

        public D()
    • Method Detail

      • set

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

        public void markInvalid()
      • getX

        public float getX()
      • getY

        public float getY()
      • isValid

        public boolean isValid()