Commit 66ce62cd authored by Yury Zemlyanskiy's avatar Yury Zemlyanskiy

Small fixed #3

parent 036258b8
...@@ -517,8 +517,8 @@ CV_EXPORTS_W void calcOpticalFlowSF(Mat& from, ...@@ -517,8 +517,8 @@ CV_EXPORTS_W void calcOpticalFlowSF(Mat& from,
flow, flow,
averaging_radius, averaging_radius,
max_flow, max_flow,
sigma_dist, (float)sigma_dist,
sigma_color); (float)sigma_color);
calcOpticalFlowSingleScaleSF(curr_to_extended, calcOpticalFlowSingleScaleSF(curr_to_extended,
curr_from_extended, curr_from_extended,
...@@ -526,8 +526,8 @@ CV_EXPORTS_W void calcOpticalFlowSF(Mat& from, ...@@ -526,8 +526,8 @@ CV_EXPORTS_W void calcOpticalFlowSF(Mat& from,
flow_inv, flow_inv,
averaging_radius, averaging_radius,
max_flow, max_flow,
sigma_dist, (float)sigma_dist,
sigma_color); (float)sigma_color);
removeOcclusions(flow, removeOcclusions(flow,
flow_inv, flow_inv,
...@@ -586,9 +586,9 @@ CV_EXPORTS_W void calcOpticalFlowSF(Mat& from, ...@@ -586,9 +586,9 @@ CV_EXPORTS_W void calcOpticalFlowSF(Mat& from,
prev_from, prev_from,
confidence, confidence,
flow, flow,
(float)upscale_averaging_radius, upscale_averaging_radius,
(float)upscale_sigma_dist, (float)upscale_sigma_dist,
upscale_sigma_color); (float)upscale_sigma_color);
flow_inv = upscaleOpticalFlow(curr_rows, flow_inv = upscaleOpticalFlow(curr_rows,
curr_cols, curr_cols,
......
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