Query related to optical flow calculation

4 Ansichten (letzte 30 Tage)
NAVNEET NAYAN
NAVNEET NAYAN am 28 Dez. 2022
Kommentiert: NAVNEET NAYAN am 5 Jan. 2023
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

Akzeptierte Antwort

Vinayak
Vinayak am 5 Jan. 2023
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

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by