Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

OE 18. Module Optflow

Vadim Pisarevsky edited this pageMar 7, 2018 ·2 revisions

Introduce a separate optflow module with up-to-date algorithms

  • Author: Vadim Pisarevsky
  • Link:The feature request
  • Status:Draft
  • Platforms:All
  • Complexity: 1-2 man-weeks

Introduction and Rationale

The modulevideo from OpenCV 2.x and 3.x includes various functionality including sparse and dense optical flow algorithms. At the same time, there is experimentaloptflow module in opencv_contrib that includes some new optical flow algorithms. It makes sense to consolidate optical flow estimation algorithm into a dedicated module.

Proposed solution

Create a dedicatedoptflow module in the main repository with the best available (within the library) collection of sparse and dense optical flow algorithms. For the sparse optical flow we have LK optical flow and maybe some experimentalsemi-dense optical flow somewhere that we can put it. As for the dense optical flow, we have more or less classical Farneback algorithm and we have much better DIS optical flow. We need to compare them all and select the best algorithms.

We will also need to shape all the optical flow algorithms as classes derived from the base sparse or dense optical flowestimators. Some attempts to do that can already be found invideo module.

We also need to renameoptflow module in opencv_contrib to something else (let's move away fromxmodule naming scheme in opencv_contrib)

Impact on existing code, compatibility

Even though we consolidate API and move to the uniform object-oriented API, we may keep the old API for backward compatibility (e.g.cv::computeOptFlowFarneback etc.).

Possible alternatives

nothing really; we need to consolidate optical flow code.

References

TBD

© Copyright 2019-2025, OpenCV team

Clone this wiki locally


[8]ページ先頭

©2009-2025 Movatter.jp