cogpy.wave.optical_flow

Dense velocity-field estimation via optical flow.

Wraps scikit-image solvers to compute frame-to-frame motion on spatial maps (amplitude, phase, or LFP frames).

Adapted from NeuroPattToolbox [1] using scikit-image solvers.

References

Functions

compute_flow(frames[, method])

Estimate dense velocity field between consecutive frames.

flow_to_speed_direction(u, v)

Convert velocity components to speed and direction.