From: LeonidBeynenson Date: Wed, 14 Nov 2012 10:27:41 +0000 (+0400) Subject: Modified documentation for calcOpticalFlowSF. X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~4081^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=52a136227d0eb2a23ecf2e81defcd31a67629004;p=platform%2Fupstream%2Fopencv.git Modified documentation for calcOpticalFlowSF. --- diff --git a/modules/video/doc/motion_analysis_and_object_tracking.rst b/modules/video/doc/motion_analysis_and_object_tracking.rst index 3b1662c..873e7fd 100644 --- a/modules/video/doc/motion_analysis_and_object_tracking.rst +++ b/modules/video/doc/motion_analysis_and_object_tracking.rst @@ -601,17 +601,15 @@ calcOpticalFlowSF ----------------- Calculate an optical flow using "SimpleFlow" algorithm. -.. ocv:function:: void calcOpticalFlowSF( Mat& from, Mat& to, Mat& flow, int layers, int averaging_block_size, int max_flow ) +.. ocv:function:: void calcOpticalFlowSF( InputArray from, InputArray to, OutputArray flow, int layers, int averaging_block_size, int max_flow ) -.. ocv:function:: calcOpticalFlowSF( Mat& from, Mat& to, Mat& flow, int layers, int averaging_block_size, int max_flow, double sigma_dist, double sigma_color, int postprocess_window, double sigma_dist_fix, double sigma_color_fix, double occ_thr, int upscale_averaging_radius, double upscale_sigma_dist, double upscale_sigma_color, double speed_up_thr ) +.. ocv:function:: calcOpticalFlowSF( InputArray from, InputArray to, OutputArray flow, int layers, int averaging_block_size, int max_flow, double sigma_dist, double sigma_color, int postprocess_window, double sigma_dist_fix, double sigma_color_fix, double occ_thr, int upscale_averaging_radius, double upscale_sigma_dist, double upscale_sigma_color, double speed_up_thr ) :param prev: First 8-bit 3-channel image. - :param next: Second 8-bit 3-channel image + :param next: Second 8-bit 3-channel image of the same size as ``prev`` - :param flowX: X-coordinate of estimated flow - - :param flowY: Y-coordinate of estimated flow + :param flow: computed flow image that has the same size as ``prev`` and type ``CV_32FC2`` :param layers: Number of layers @@ -631,7 +629,7 @@ Calculate an optical flow using "SimpleFlow" algorithm. :param occ_thr: threshold for detecting occlusions - :param upscale_averaging_radiud: window size for bilateral upscale operation + :param upscale_averaging_radius: window size for bilateral upscale operation :param upscale_sigma_dist: spatial sigma for bilateral upscale operation