Ask Your Question

Revision history [back]

what does the "flow" variable in "calcOpticalFlowFarneback(InputArray prev, InputArray next, InputOutputArray flow, double p_scale, int lvl, int wsize, int itr, int poly_n, double poly_sigma, int flags)" contains after the function is executed?

In farneback dense optical flow of opencv, the inputOutput array flow is of type 32FC2 (i.e. 32bit float type having 2 channels).

What does this flow variable contain in its two channels after the execution of the function calcOpticalFlowFarneback(....).

I went through the opencv source code of this function but got too much confused after reading it, please help.

what does the "flow" variable in "calcOpticalFlowFarneback(InputArray prev, InputArray next, InputOutputArray flow, double p_scale, int lvl, int wsize, int itr, int poly_n, double poly_sigma, int flags)" "calcOpticalFlowFarneback(...)" contains after the function is executed?

In farneback dense optical flow of opencv, the inputOutput array flow is of type 32FC2 (i.e. 32bit float type having 2 channels).

What does this flow variable contain in its two channels after the execution of the function calcOpticalFlowFarneback(....).

I went through the opencv source code of this function but got too much confused after reading it, please help.

click to hide/show revision 3
No.3 Revision

updated 2016-04-04 02:36:39 -0600

berak gravatar image

"flow" in "calcOpticalFlowFarneback(...)

what does the "flow" variable in "calcOpticalFlowFarneback(...)" contains after the function is executed?

In farneback dense optical flow of opencv, the inputOutput array flow is of type 32FC2 (i.e. 32bit float type having 2 channels).

What does this flow variable contain in its two channels after the execution of the function calcOpticalFlowFarneback(....).

I went through the opencv source code of this function but got too much confused after reading it, please help.