From 303868b3c4e878e7bf5b3cc6ddbbcd51ddf44ebe Mon Sep 17 00:00:00 2001 From: Daniel Angelov Date: Fri, 14 Nov 2014 22:49:22 +0000 Subject: [PATCH] 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?) --- modules/video/doc/motion_analysis_and_object_tracking.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/video/doc/motion_analysis_and_object_tracking.rst b/modules/video/doc/motion_analysis_and_object_tracking.rst index e1d95094ce..9cbabd7c70 100644 --- a/modules/video/doc/motion_analysis_and_object_tracking.rst +++ b/modules/video/doc/motion_analysis_and_object_tracking.rst @@ -911,11 +911,11 @@ Calculates an optical 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`` .