1. 17 Apr, 2019 1 commit
    • Tobias Senst's avatar
      Merge pull request #2097 from tsenst:robust_optical_flow_fix · 7ac648c2
      Tobias Senst authored
      optflow: RLOF fixes (python-binding, status flag, flat textures) (#2097)
      
      * * Bugfix for python-binding related to issue #2094. Copying the prevPtsMat to prevPoints was broken, when using python-binding.
      
      * * Connect the blurred image correctly to CROSS support region segmentation. This allows to compute more robust support region shapes. Commit refers to issue #2094.
      
      * * Bugfix to avoid the unintended assertion on flat textures discussed in issue #2094.
      
      * * Bugfix on SparseRLOFOpticalFlow status was wrongly to to 0 if forward backward error < threshold, which is wrong. Inequation has been corrected. Refers to in issue #2087.
      
      * small documentation changes
      
      * bugfix on assertions and small test changes
      7ac648c2
  2. 30 Dec, 2018 1 commit
    • tsenst's avatar
      Merge pull request #1940 from tsenst:add_robust_optical_flow_implementation · 1c9e2374
      tsenst authored
      Add robust local optical flow (RLOF) implementations (#1940)
      
      * Add robust local optical flow (RLOF) implementations which is an improved pyramidal iterative Lucas-Kanade approach. This implementations contains interfaces for sparse optical flow for feature tracking and dense optical flow based on sparse-to-dense interpolation schemes.
      Add performance and accuracy tests have been implementation as well as documentation with the related publications
      
      * - exchange tabs with spaces
      - fix optflow.bib indentation
      - remove optflow_o.hpp
      - change RLOFOpticalFlowParameter interfaces to Ptr<RLOFOpticalFlowParameter>
      to remove error on building. Fix warnings
      
      * introducing precompiler flag RLOD_SSE
      
      * remove header that could not be found
      
      * remove whitespaces
      fix perf and accuracy tests
      
      * remove x86intrin.h header
      
      * fix ios and arm by removing last sse commands
      
      * fix warnings for windows compilation
      
      * fix documentation RLOFOpticalFlowParameter
      
      * integrate cast to remove last warnings
      
      * * add create method and function inferfaces to RLOFOpticalFlowParamter to enable python wrapper interfaces
      
      * white space fixes / coding style
      
      * fix perf test
      
      * other changes: precomp.hpp / static
      
      * use Matx44f and Vec4f instead of Mat
      
      * normSigmas into constants
      
      * replace ceil() calls
      
      * maximum level is set to 5 so that it is similar value used in the papers
      
      * implement paralellized horizontal cross segmentation as used in Geistert2016
      
      * drop dead code
      
      * Avoid using "data" and "step" calculations. Use .ptr<mat_type>(row, col) instead.
      
      * Avoid using "data" and "step" calculations. Use .ptr<mat_type>(row, col) instead.
      
      * bugfix on BEPLK with ica and adapt the accuracy tests
      
      * more 'static' functions
      
      * bugfix after changing ptr + step to .ptr(y,x) calls by adjusting ROI of
      prevImage, currImage and derivI as well as changing the offset of the
      points in the invoker classes.
      
      * add some static_cast to avoid warning
      
      * remove 50 grid size sample from perf test. This grid size is to sparse
      for the epic interpolation
      
      * remove notSameColor function since it is not used anymore
      1c9e2374