Query related to optical flow calculation

조회 수: 2 (최근 30일)
NAVNEET NAYAN
NAVNEET NAYAN 2022년 12월 28일
댓글: NAVNEET NAYAN 2023년 1월 5일
I am calculating optical flow of video frames using the follwing basic lines of code of optical flow. I am also getting good results. My code is running well. I just want to have knowledge about optical flow.
flow = estimateFlow(opticFlow,I) % estimates optical flow between two consecutive video frames.
Where opticFlow is the object for optical flow estimation.
I want to ask, in the line of code written above, with respect to which frame I am calculating the optical flow. It's written there consecutive frames but from where it is taking the input of previous frame for the current frame I written in the code.
If someone can please solve my query, it will be of great help.
In case, you need more clarity on the question please let me know

채택된 답변

Vinayak
Vinayak 2023년 1월 5일
More insights regarding the working on the opticFlow command and its underlying implementation can be found on the following MATLAB documentation link below
A generic overview of opticFlow can be inferred through here
https://www.mathworks.com/discovery/optical-flow.html

추가 답변 (0개)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by