Skip to content

cv::optflow::DISOpticalFlow: got different result between cpu version and opencl version #1403

@changingivan

Description

@changingivan
System information (version)
  • OpenCV => 3.3
  • Operating System / Platform => Windows 64 Bit
  • Compiler => Visual Studio 2015
  • OpenCL => 1.2
  • GPU => Intel(R)HD Graphics 4600
Detailed description

I use the cv::optflow::DISOpticalFlow , both cpu version and opencl version to calculate optical, when the input two images is similar , the two vesions result have litter difference ,
rubberwhale1:
rubberwhale1
rubberwhale2:
rubberwhale2
cpu-opticalflow:
rubber-cpu-flow
opencl-opticalflow:
rubber-opencl-flow

However , when input images is larger different , the cpu version and opencl version got different result ,
left:
left
right:
right
cpu-opticalflow:
left-right-cpu-flow
opencl-opticalflow:
left-right-opencl-flow

I think there is a bug.

Steps to reproduce

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions