← back to roto on ba3a.dev

Stabiliser

object Stabiliser

Horizontal stabilisation of a clip from its masks: each root found, gaps filled, smoothed, and — when stabilising — the shift that moves each smoothed root to their mean, rounded to the nearest whole pixel.

Only horizontal motion is taken out. The camera stands on a tripod, so the ground line never moves and the figure's vertical bob stays as filmed.

Functions

Link copied to clipboard
fun track(masks: List<Mask>, settings: RootSettings): RootTrack

The RootTrack of masks under settings.