Skip to content

Fix Farneback Optical Flow Algorithm - #13625

Merged
opencv-pushbot merged 1 commit into
opencv:3.4from
nglee:dev_CudaFarnebackInitFlowFix
Jan 16, 2019
Merged

opencv-pushbot merged 1 commit into
opencv:3.4from
nglee:dev_CudaFarnebackInitFlowFix

Conversation

@nglee

@nglee nglee commented Jan 13, 2019 •

Copy link
Copy Markdown
Contributor
  • Before this PR, following tests failed on some platform.
    CUDA_OptFlow/FarnebackOpticalFlow.Accuracy/19
    CUDA_OptFlow/FarnebackOpticalFlow.Accuracy/23

  • The algorithm now recognizes the OPTFLOW_USE_INITIAL_FLOW flag.
    Previously, when the flag was set, it did not use the flow data
    passed as input, instead used some garbage data in memory.

  • More strict test limit.

  • Related cudaoptflow: test failure of FarnebackOpticalFlow #12895

force_builders=Custom
docker_image:Custom=ubuntu-cuda:16.04

- Before this PR, following tests failed on some platform.
  CUDA_OptFlow/FarnebackOpticalFlow.Accuracy/19
  CUDA_OptFlow/FarnebackOpticalFlow.Accuracy/23

- The algorithm now recognizes the OPTFLOW_USE_INITIAL_FLOW flag.
  Previously, when the flag was set, it did not use the flow data
  passed as input, instead used some garbage data in memory.

- More strict test limit.
@alalek

alalek commented Jan 14, 2019

Copy link
Copy Markdown
Member

/cc @tomoaki0705

@alalek alalek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done!
Tests work well on CUDA 9.1 with 1080 👍

@opencv-pushbot
opencv-pushbot merged commit 4366c87 into opencv:3.4 Jan 16, 2019
@nglee
nglee deleted the dev_CudaFarnebackInitFlowFix branch January 16, 2019 23:49
@alalek alalek mentioned this pull request Jan 22, 2019
SavyaSanchi-Sharma pushed a commit to SavyaSanchi-Sharma/opencv that referenced this pull request Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: gpu/cuda (contrib) OpenCV 4.0+: moved to opencv_contrib feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants