Uses paired landmark coordinates to determine the temporal bounds of each trial, the origin, and the reference heading. Additional metadata from `file_tbl` is merged into the result. Accepts landmark and track data either as data frames or as `Tracks` objects.
Arguments
- landmarks
Data frame or `Tracks` (two rows per trial) containing frame numbers and landmark coordinates.
- track
Data frame or `Tracks` of Cartesian coordinates for all frames in the video.
- file_tbl
Tibble returned by [import_tracks()] (optionally enriched by [load_tracks()] or [load_tracks2()]).
- vid_num
Index of the current video within `file_tbl`.
