← back to roto on ba3a.dev

Package-level declarations

Types

Link copied to clipboard

The clean plate stage: the empty background a clip's figure is masked against, as the TemporalMedian of a marked empty-wall range, a photo of the wall, or the clip's own frames.

Link copied to clipboard
interface PlateFootage

The frames a clip's plate can come from. All of them must be at the clip's working height, and a range at its frame rate, so the plate lines up with every frame pixel for pixel.

Link copied to clipboard

The per-pixel median over time of equally sized frames, taken channel by channel. Whatever a pixel shows in most frames wins, so a figure that passes over a pixel in fewer than half the frames vanishes, and sensor noise on a still wall averages out. For an even number of frames the lower of the two middle values is taken, so every output channel is one a frame actually held.