Struct LKParams

Struct Documentation

struct LKParams

Parameters for pyramidal Lucas-Kanade optical flow

Public Members

int win_size = 21

Patch half-width in pixels (full = 2*win+1).

int max_levels = 3

Number of pyramid levels (0 = no pyramid).

int max_iters = 30

Max iterations per level.

float eps = 0.01f

Convergence threshold (pixel displacement).

float min_eig_threshold = 1e-4f

Reject patches with low eigenvalue.