Rotoscoping

On this page 7

Rotoscoping is the technique of drawing and animating shapes frame by frame around an object in live-action footage to create a matte that isolates it from the rest of the image. In video, motion graphics and VFX work, the resulting matte lets an artist composite, recolor, blur, remove or replace a specific element when no chroma key screen was available.

The term comes from the rotoscope, a device patented in the early twentieth century that projected filmed frames onto a drawing surface so animators could trace them. Today the work is done in compositing software with spline-based shapes, and it remains one of the most labor-intensive tasks in post-production.

How rotoscoping creates a matte

A roto artist builds the matte from closed spline shapes, usually Bezier or B-spline curves, placed over the object. Each shape is defined by control points and tangent handles, and the software fills the enclosed area to produce an alpha channel.

The shapes are animated through keyframing. The artist sets the shape on key frames, lets the software interpolate the positions in between and then corrects frames where the interpolation drifts. Complex subjects are broken into many small shapes, one for each rigid part such as a forearm, a hand or a head, because a small shape moves more predictably than one outline around a whole body.

Each shape carries a feather or edge softness value, often set per point. Feathering reproduces the soft transition of motion blur and out-of-focus edges, which a hard-edged matte would otherwise expose as a cut-out line.

The main components of a roto shape and their typical settings are summarized below.

ComponentFunctionTypical setting or range
Control pointsDefine the outline of the shapeFew points per rigid segment
Tangent handlesShape the curve between pointsAdjusted to follow contours
FeatherSoftens the matte edgeZero to several pixels, per point
Motion blurMatches shape blur to camera shutterShutter angle such as 180 degrees
Blend modeCombines several shapesAdd, subtract or intersect
Components of a rotoscoping shape

Types of rotoscoping work

Rotoscoping covers several distinct tasks that share the same tools but differ in precision and purpose. The required edge quality decides how much time a shot takes.

TaskPurposeEdge precision
Articulated rotoIsolate a moving person or object for compositingVery high, including hair and blur
Garbage matteExclude unwanted areas before keyingLow, loose outline
Holdout matteKeep foreground in front of new elementsHigh along the contact edge
Grading rotoLimit a color correction to one regionModerate, soft feather
Artistic rotoTrace footage for animated or stylized looksDepends on the visual style
Common rotoscoping tasks and their precision

Articulated roto for feature films is the most demanding variant. Fine detail such as hair or smoke is usually not traced line by line but combined with keying or edge-extraction tools, while roto provides the core matte of the solid areas.

How rotoscoping relates to keying, tracking and optical flow

Rotoscoping is the fallback method of matte creation: it works on any footage, but it costs far more time than automated methods. Neighboring techniques in motion graphics and VFX are used to reduce that cost.

TechniqueHow the matte or data is producedStrengthLimitation
RotoscopingHand-animated shapesWorks on any backgroundSlow and costly
Chroma keyColor difference against a screenFast and detailed edgesNeeds a controlled screen
Motion trackingFollows features across framesDrives roto shapes automaticallyFails on blur and occlusion
Optical flowEstimates per-pixel motionPropagates shapes between framesErrors at occlusion boundaries
Machine-learning segmentationNeural network predicts the object maskVery fast first passUnstable edges and flicker
Rotoscoping compared with related techniques

In practice these methods are combined, not chosen exclusively. A tracker moves the roto shapes along with the object, a learning-based tool produces a starting mask, and the artist refines the edges by hand where automation breaks.

Planning and executing a roto shot

Efficient rotoscoping starts with analysis before drawing. The artist studies the whole shot, identifies the rigid parts and the frames with extreme poses, and decides which areas can be keyed or tracked instead.

  1. Break the subject into segments that move as rigid units.
  2. Track the shot first and attach shapes to the track data where possible.
  3. Key the extreme poses, then add keys only where the interpolation fails.
  4. Match motion blur and feather to the plate rather than drawing blurred edges by hand.
  5. Review the matte in motion against a contrasting background to reveal chatter.

Shot effort varies widely. A simple grading roto may take minutes to an hour, while a full-body articulated roto with hair and motion blur can occupy an artist for days on a few seconds of footage.

Common problems and how to avoid them

Most roto defects become visible only during playback, because the eye is highly sensitive to edges that move inconsistently. The table lists typical symptoms with their causes and remedies.

SymptomLikely causeRemedy
Edge chatterToo many keys with inconsistent point placementFewer keys, smoother interpolation
Hard cut-out lookMissing feather or motion blurFeather per point, enable shape blur
Shape slidingOutline not following the objectAttach shapes to a track
Lost hair detailHair traced with a single shapeCombine roto core with keyed detail
Temporal flickerAutomatic mask unstable frame to frameManual cleanup or temporal smoothing
Typical rotoscoping defects

The short version

Rotoscoping means tracing an object in a video, one frame after another, so the computer knows exactly where that object is. Once it is traced, the object can be cut out, placed on a new background or changed without touching anything else.

Imagine cutting a person out of a long strip of photographs with scissors, picture by picture. Software makes the cutting easier. Still, a careful artist must check that the outline stays on the object in every frame.

Where it makes a difference

A production films a street scene on location, and the director later wants to replace the gray sky with a dramatic sunset. There was no green screen, and an actor walks in front of buildings whose edges meet the sky. The compositor cannot key the sky cleanly because it shares tones with the windows.

A roto artist tracks the camera move, attaches spline shapes to the rooftops and builds an articulated roto of the actor with separate shapes for the head, arms and coat. Motion blur on the shapes matches the 180-degree shutter of the footage. The new sky is placed behind the matte, and the 12-second shot is delivered after about two days of roto work, with edges that hold up on a cinema screen.