Commit 303868b3 authored by Daniel Angelov's avatar Daniel Angelov

Fixed variable name consistency

The function parameters were different from the ones described below.

P.S. Why is ``flow`` InputOutputArray, shouldn't it be just OutputArray? If so, shouldn't the reason be specified - e.g. so others can benefit as well (e.g. not allocating memory on every frame?)
parent 4b97e8c5
...@@ -911,11 +911,11 @@ Calculates an optical flow. ...@@ -911,11 +911,11 @@ Calculates an optical flow.
.. ocv:function:: void DenseOpticalFlow::calc(InputArray I0, InputArray I1, InputOutputArray flow) .. ocv:function:: void DenseOpticalFlow::calc(InputArray I0, InputArray I1, InputOutputArray flow)
:param prev: first 8-bit single-channel input image. :param I0: first 8-bit single-channel input image.
:param next: second input image of the same size and the same type as ``prev`` . :param I1: second input image of the same size and the same type as ``I0`` .
:param flow: computed flow image that has the same size as ``prev`` and type ``CV_32FC2`` . :param flow: computed flow image that has the same size as ``I0`` and type ``CV_32FC2`` .
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment