Visible to Intel only — GUID: GUID-063BD70F-44E8-40D4-BA17-64C02720097D
Visible to Intel only — GUID: GUID-063BD70F-44E8-40D4-BA17-64C02720097D
Optical Flow
This section describes the functions that calculate the optical flow using the pyramidal Lucas-Kanade algorithm [ Bou99].
The optical flow between two images is generally defined as an apparent motion of image brightness. Let I(x, y, t) be the image brightness that changes in time to provide an image sequence.
Optical flow coordinates
can be found from so called optical flow constraint equation:
The Lucas-Kanade algorithm assumes that the group of adjacent pixels has the same velocity and founds the approximate solution of the above equation using the least square method.
- OpticalFlowPyrLKGetSize
Computes the size of the pyramidal optical flow state structure. - OpticalFlowPyrLKInit
Initializes the state structure for optical flow calculation. - OpticalFlowPyrLK
Calculates optical flow for the set of feature points using the pyramidal Lucas-Kanade algorithm.