Class ConfigHornSchunck

    • Field Summary

      Fields 
      Modifier and Type Field Description
      float alpha
      Larger values place more importance on flow smoothness consistency over brightness consistency.
      int numIterations
      Number of iterations.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void checkValidity()
      Checks to see if the configuration is valid.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • alpha

        public float alpha
        Larger values place more importance on flow smoothness consistency over brightness consistency. Try 20
      • numIterations

        public int numIterations
        Number of iterations. Try 1000
    • Constructor Detail

      • ConfigHornSchunck

        public ConfigHornSchunck()
    • Method Detail

      • checkValidity

        public void checkValidity()
        Description copied from interface: Configuration
        Checks to see if the configuration is valid. If it is invalid, throw an exception explaining what is incorrect.
        Specified by:
        checkValidity in interface Configuration