User Guide Cancel

Roto Brush and Refine Matte

  1. After Effects User Guide
  2. Beta releases
    1. Beta Program Overview
    2. After Effects Beta Home
  3. Getting started
    1. Get started with After Effects
    2. What's new in After Effects 
    3. Release Notes | After Effects
    4. After Effects system requirements
    5. Keyboard shortcuts in After Effects
    6. Supported File formats | After Effects
    7. Hardware recommendations
    8. After Effects for Apple silicon
    9. Planning and setup
  4. Workspaces
    1. General user interface items
    2. Get to know After Effects interface
    3. Workflows
    4. Workspaces, panels, and viewers
  5. Projects and compositions
    1. Projects
    2. Composition basics
    3. Precomposing, nesting, and pre-rendering
    4. View detailed performance information with the Composition Profiler
    5. CINEMA 4D Composition Renderer
  6. Importing footage
    1. Preparing and importing still images
    2. Importing from After Effects and Adobe Premiere Pro
    3. Importing and interpreting video and audio
    4. Preparing and importing 3D image files
    5. Importing and interpreting footage items
    6. Working with footage items
    7. Detect edit points using Scene Edit Detection
    8. XMP metadata
  7. Text and Graphics
    1. Text
      1. Formatting characters and the Character panel
      2. Text effects
      3. Creating and editing text layers
      4. Formatting paragraphs and the Paragraph panel
      5. Extruding text and shape layers
      6. Animating text
      7. Examples and resources for text animation
      8. Live Text Templates
    2. Motion Graphics
      1. Work with Motion Graphics templates in After Effects
      2. Use expressions to create drop-down lists in Motion Graphics templates
      3. Work with Essential Properties to create Motion Graphics templates
      4. Replace images and videos in Motion Graphics templates and Essential Properties
      5. Animate faster and easier using the Properties panel
  8. Drawing, Painting, and Paths
    1. Overview of shape layers, paths, and vector graphics
    2. Paint tools: Brush, Clone Stamp, and Eraser
    3. Taper shape strokes
    4. Shape attributes, paint operations, and path operations for shape layers
    5. Use Offset Paths shape effect to alter shapes
    6. Creating shapes
    7. Create masks
    8. Remove objects from your videos with the Content-Aware Fill panel
    9. Roto Brush and Refine Matte
  9. Layers, Markers, and Camera
    1. Selecting and arranging layers
    2. Blending modes and layer styles
    3. 3D layers
    4. Layer properties
    5. Creating layers
    6. Managing layers
    7. Layer markers and composition markers
    8. Cameras, lights, and points of interest
  10. Animation, Keyframes, Motion Tracking, and Keying
    1. Animation
      1. Animation basics
      2. Animating with Puppet tools
      3. Managing and animating shape paths and masks
      4. Animating Sketch and Capture shapes using After Effects
      5. Assorted animation tools
      6. Work with Data-driven animation
    2. Keyframe
      1. Keyframe interpolation
      2. Setting, selecting, and deleting keyframes
      3. Editing, moving, and copying keyframes
    3. Motion tracking
      1. Tracking and stabilizing motion
      2. Face Tracking
      3. Mask Tracking
      4. Mask Reference
      5. Speed
      6. Time-stretching and time-remapping
      7. Timecode and time display units
    4. Keying
      1. Keying
      2. Keying effects
  11. Transparency and Compositing
    1. Compositing and transparency overview and resources
    2. Alpha channels and masks
    3. Track Mattes and Traveling Mattes
  12. Adjusting color
    1. Color basics
    2. Color management
    3. Color Correction effects
    4. OpenColorIO and ACES color management
  13. Effects and Animation Presets
    1. Effects and animation presets overview
    2. Effect list
    3. Effect Manager
    4. Simulation effects
    5. Stylize effects
    6. Audio effects
    7. Distort effects
    8. Perspective effects
    9. Channel effects
    10. Generate effects
    11. Time effects
    12. Transition effects
    13. The Rolling Shutter Repair effect
    14. Blur and Sharpen effects
    15. 3D Channel effects
    16. Utility effects
    17. Matte effects
    18. Noise and Grain effects
    19. Detail-preserving Upscale effect
    20. Obsolete effects
  14. Expressions and Automation
    1. Expressions
      1. Expression basics
      2. Understanding the expression language
      3. Using expression controls
      4. Syntax differences between the JavaScript and Legacy ExtendScript expression engines
      5. Editing expressions
      6. Expression errors
      7. Using the Expressions editor
      8. Use expressions to edit and access text properties
      9. Expression language reference
      10. Expression examples
    2. Automation
      1. Automation
      2. Scripts
  15. Immersive video, VR, and 3D
    1. Construct VR environments in After Effects
    2. Apply immersive video effects
    3. Compositing tools for VR/360 videos
    4. Advanced 3D Renderer
    5. Import and add 3D models to your composition
    6. Import 3D models from Creative Cloud Libraries
    7. Image-Based Lighting
    8. Extract and animate lights and cameras from 3D models
    9. Tracking 3D camera movement
    10. Cast and accept shadows
    11. Embedded 3D model animations
    12. Shadow Catcher
    13. 3D depth data extraction
    14. Modify materials properties of a 3D layer
    15. Work in 3D Design Space
    16. 3D Transform Gizmos
    17. Do more with 3D animation
    18. Preview changes to 3D designs real time with the Mercury 3D engine
    19. Add responsive design to your graphics 
  16. Views and Previews
    1. Previewing
    2. Video preview with Mercury Transmit
    3. Modifying and using views
  17. Rendering and Exporting
    1. Basics of rendering and exporting
    2. H.264 Encoding in After Effects
    3. Export an After Effects project as an Adobe Premiere Pro project
    4. Converting movies
    5. Multi-frame rendering
    6. Automated rendering and network rendering
    7. Rendering and exporting still images and still-image sequences
    8. Using the GoPro CineForm codec in After Effects
  18. Working with other applications
    1. Dynamic Link and After Effects
    2. Working with After Effects and other applications
      1. Export After Effects project as Premiere Pro project
    3. Sync Settings in After Effects
    4. Creative Cloud Libraries in After Effects
    5. Plug-ins
    6. Cinema 4D and Cineware
  19. Collaboration: Frame.io, and Team Projects
    1. Collaboration in Premiere Pro and After Effects
    2. Frame.io
      1. Install and activate Frame.io
      2. Use Frame.io with Premiere Pro and After Effects
      3. Frequently asked questions
    3. Team Projects
      1. Get Started with Team Projects
      2. Create a Team Project
      3. Collaborate with Team Projects
  20. Memory, storage, performance
    1. Memory and storage
    2. How After Effects handles low memory issues while previewing    
    3. Improve performance
    4. Preferences
    5. GPU and GPU driver requirements for After Effects
  21. Knowledge Base
    1. Known issues
    2. Fixed issues
    3. Frequently asked questions
    4. After Effects and macOS Ventura
    5. How After Effects handles low memory issues while previewing

Separate a foreground object from a background using Roto Brush and create mattes using Refine Matte.

Separating a foreground object from a background is a crucial step in many visual effects and compositing workflows. When you have created a matte that isolates an object, you can replace the background, selectively apply effects to the foreground, and much more.

Use Roto Brush to draw strokes on representative areas of the foreground and background elements. After Effects uses that information to create a segmentation boundary between the foreground and background elements.

After creating the segmentation boundary, use Refine Brush Matte properties to improve the matte.

Tip:

The Refine Matte effect is also available separately for improving mattes created using features other than the Roto Brush tool. 

Next-Gen Roto Brush

Learn how to use Next-Gen Roto Brush 3 in Adobe After Effects.

Next-Gen Roto Brush is the latest and improved version of the Roto Brush tool powered by a brand-new AI model. It offers enhanced precision during the selection and tracking of objects in footage over time and space compared to Roto Brush 2. This makes masking complex objects such as overlapping limbs, hair, and transparencies quick and easy.

Select 3.0 as the Version under Roto Brush & Refine Edge effects to use Next-Gen Roto Brush.
Select 3.0 as the Version under Roto Brush & Refine Edge effects to use Next-Gen Roto Brush.

Roto Brush 2

Powered by Adobe Sensei

Traditional rotoscoping uses animated masks to isolate an element in a video clip, which can be tedious and time-consuming. Roto Brush 2 uses artificial intelligence to track your subject’s movement so you can cut down on frame-by-frame refinement.

What's in Roto Brush 2

The propagation banner is displayed in both the Layer and Composition panel, which contains the layer to which Roto Brush is applied. If you have the Layer panel closed, and you're working on something else, you still see the propagation progress.

The Roto Brush & Refine Edge span shows a light gray chevron pattern, and the base frame is a bright green box at the beginning. When you propagate the frames, green color chevrons display in the middle of the span. For more information, see Strokes, Spans, and Base frames.

The classic controls, such as Motion Threshold and Motion Damping, aren’t enabled by default. You can enable them by selecting Enable Classic Controls under the Roto Brush & Refine Edge effect. You can use the features of both the Roto Brush versions together to get the most out of your rotoscoping.

How to use Next-Gen Roto Brush and Roto Brush 2

If you're familiar with Roto Brush 1, selecting objects with the Next-Gen Roto Brush and Roto Brush 2 propagation engine is essentially the same.

Note:

The default rotoscoping option is Next-Gen Roto Brush. However, if you prefer the older versions - Roto Brush 1 or Roto Brush 2, you can select it using the Version dropdown in the Roto Brush & Refine Edge effect panel.

  1. Select Roto Brush  in the toolbar.

    Alternatively, you can also use keyboard shortcuts:

    • Windows: AltW 
    • macOS: Option + W
    roto brush tool
    Select Roto Brush from the toolbar.

  2. Double-click an existing layer in the Composition panel. This opens up the layer in the Layer panel.

  3. Select a frame to start from.

    Tip:

    Avoid frames where the object is hidden by other objects in the scene. For example, for a person walking in and out of frame, choose a frame where they’re entirely in the scene.

  4.  Ensure you've selected the Version as 3.0 for Next-Gen Roto Brush or 2.0 for Roto Brush 2 under the Roto Brush & Refine Edge effect in the Effect Controls panel.

    Roto Brush version 3.0 selected in the Version dropdown in the Effects Control panel.
    Select the Roto Brush version using the Version dropdown in the Effects Control panel.

  5. Paint a green foreground stroke on the subject, object, or region you’re attempting to rotoscope.

    The object to be removed is outlined in magenta.

    Do's:

    • Start with one stroke that cuts across the object. See what Roto Brush selects from that and use as few strokes as necessary to add or remove from the selection.

    Don'ts:

    • Avoid drawing an outline around the object. Instead, draw through the middle, passing through any regions on the object that have different colors or brightness.
    • Don't paint across edges, as this can confuse the selection.

    By default, there’s a green cross over the mouse cursor. It's a best practice to set the appropriate brush size before making your first stroke. The brush size is visible in green before you start with your first stroke. To change the size, select Windows > Brushes, and adjust the diameter of the brush. 

    Tip:

    You can also hold Ctrl (Windows) or Command (macOS) and drag left and right to change the size of the brush.

  6. Refine the selection.

    Paint extra strokes, or paint background strokes by holding Alt or Option to remove portions of the selection. Draw strokes around the edges that you want to remove. The magenta line that surrounds the object starts to get refined.

    If you cut a little extra, release Alt or Option and drag over the area to add to the selection. The indication is that the cursor is green during addition. When drawing a background stroke, the Roto Brush tool's pointer is a red circle with a minus sign in the middle.

    Foreground stroke, adding to selection

    Background stroke, removing from selection

  7. Once the base frame is set, start the propagation.

    You can start propagation by:

    • Pressing the spacebar: This triggers the propagation of the matte from the base frame to the new frame. 
    • You can also propagate frame-by-frame either forward or backward if you would like to go slower and evaluate the propagation more closely. Use these keyboard shortcuts to move frame by frame:
      • Page Up and Page Down 
      • Command + Left or Right arrows (macOS) or CntrlLeft or Right arrows (Windows)
    Note:

    The main difference between pressing the spacebar and moving the CTI is that the spacebar propagates and then displays the results per frame. Moving the CTI waits for frames to propagate, then displays results.

  8. As Roto Brush propagates the matte from frame to frame, the selection may include unwanted regions or "lose" portions of the original selection. To correct this, paint a background stroke (holding Alt or Option) on the first frame where the unwanted change occurs to remove unwanted regions or paint a new foreground stroke to include anything missed. As with the base frame, avoid painting across the edge of the selection as much as possible.

    Note:

    You can resize the Roto Brush tool’s tip to make finer strokes. Broad strokes are best for initial work, but fine strokes are useful for details. (See Roto Brush strokes, spans, and base frames.)

  9. Freeze the propagation.

    After propagating the matte through all the video frames, freeze the propagation using the Freeze button at the bottom of the Layer panel.

    Freeze the propagation.
    Select Freeze to freeze the propagation.

    After freezing, you can continue to make adjustments to the matte without re-propagating. If you must add or remove from a selection after freezing, you can unfreeze the propagation with the same button.

    Note:

    It would be best if you only freeze once you’re satisfied with the Roto Brush matte. What freezing does is that it locks the matte in place so that Roto Brush doesn’t have to re-propagate the edges.

Freezing (caching, locking, and saving) Roto Brush segmentation

If After Effects has already calculated Roto Brush segmentation information for a frame when you select the Freeze button, then this information is cached. If the segmentation hasn’t been calculated for a frame within a Roto Brush span, then After Effects must calculate the segmentation before freezing.

Frames with frozen (cached and locked) segmentation information are represented by:

  • Blue bars in the Roto Brush 1 span view in the Layer panel.
  • Purple bars in the Next-Gen Roto Brush and Roto Brush 2 spans view in the Layer panel.
Purple bars in Roto Brush 2
Purple bars in Next-Gen Roto Brush and Roto Brush 2 spans view

Note:

If you select Stop in the Freezing Roto Brush dialog box, After Effects stops adding frames to the cache, but Roto Brush segmentation is still locked with the segmentation information cached up until the point that you clicked Stop.

To unfreeze Roto Brush segmentation, select the Freeze button again.

When Roto Brush segmentation is frozen, you can place the pointer over the Freeze button to view a tooltip that tells you when the cached information was created.

Freeze button tooltip that informs when the cached information was created.
Freeze button tooltip that informs when the cached information was created.

When Roto Brush segmentation is frozen, the pointer for the Roto Brush tool has a slash through it.

The information cached and locked results from Roto Brush strokes and the properties in the Propagation property group of the Roto Brush & Refine Edge effect. Making changes to any of these items (for example, by drawing new Roto Brush strokes or modifying properties in the Propagation property group) doesn’t influence the result of the Roto Brush effect until you unfreeze segmentation. The properties in the Roto Brush Matte property group aren’t frozen.

Frozen Roto Brush segmentation information is cached and locked while the application is running, and the cached information is saved with the project.

Adjusting and Refining the final matte

  • The result of the propagation can be further refined and improved via the controls in the Roto Brush Matte group in the Roto Brush & Refine Edge effect, especially with the Reduce Chatter property. 
Controls in the Roto Brush Matte group in the Roto Brush effect.
Controls in the Roto Brush Matte group in the Roto Brush effect.

  • Additionally, the Refine Edge Tool can be used for highly detailed edges like hair and further controlled in the Refine Edge Matte property group. There are also options that compensate for motion blur and decontaminating edge colors. It's useful when dealing with mattes with soft edges or fine details like hair.
Tip:

To use Refine Edge Tool, select the Roto Brush Tool in the Toolbar and choose Refine Edge Tool. You can use Alt + W (Windows) and Option + W (macOS). 

Motion blur and decontaminating edge color to deal with mattes with soft edges or fine details.
Motion blur and decontaminating edge color to deal with mattes with soft edges or fine details.

  • Use the Refine Edge Tool on other frames until the refinement is as precise and complete as possible. Press Alt or Option to erase Refine Edge strokes.
  • If you have used the Refine Edge Tool, the Fine-tune Refine Edge Matte option in the Roto Brush & Refine Edge effect properties is selected. Modify properties in the Refine Edge Matte property group as needed.
Fine-tune Refine Edge Matte option in the Roto Brush & Refine Edge effect properties.
Fine-tune Refine Edge Matte option in the Roto Brush & Refine Edge effect properties.

Use the toggles at the bottom of the Layer panel to view the matte results, or open the Composition panel to view the result in-context with other layers.

Note:

The latest After Effects has significantly improved the workflow with Roto Brush 2 and Roto Brush 3. There's no need for After Effects to recalculate each frame during the Freeze step. Instead, it intelligently caches inference for already propagated frames. This translates to a faster Freeze process and more efficient extraction of objects from footage, saving you valuable time. 

Layer panel view options

You can choose these view modes from the Show Channel menu in the Layer panel, by clicking the buttons in the Layer panel, or by using keyboard shortcuts. You can use the controls at the bottom of the Layer panel to change the color and opacity of the overlays used in Alpha Boundary and Alpha Overlay mode.

Toggles in the Layer panel for viewing alpha, alpha boundary, and alpha overlay
Toggles in Layer panel for viewing alpha, alpha boundary, and alpha overlay

Alpha

Shows alpha channel of the layer. Use Alt + 4 (Windows) or Option + 4 (macOS).

Alpha Boundary

Shows the source layer with foreground and background unchanged, with the segmentation boundary overlaid as a colored outline. Use Alt + 5 (Windows) or Option + 5 (macOS).

Note:

Alpha Boundary view mode is turned off when the View menu in the Layer panel is changed to anything other than Roto Brush.

Alpha Overlay

Shows the source layer with the foreground unchanged and the background overlaid with a solid color. Use Alt + 6 (Windows) or Option + 6 (macOS).

Strokes, spans, and base frames

When you first draw a Roto Brush stroke, the frame you're drawing becomes a base frame. The segmentation information (the information about what is defined as foreground and what is defined as background) defaults to the entire duration of the layer or to the duration of any empty durations if multiple spans are present. The range of frames thus influenced by this base frame is its Roto Brush span. Little arrows in the span bar in the Layer panel show the direction in which the information is being propagated. If you draw a corrective stroke anywhere where the arrows point to the right, the information from that stroke is propagated forward; if you draw a corrective stroke anywhere where the arrows point to the left, information from that stroke is propagated backward. If you draw a stroke anywhere outside a Roto Brush span, you create a new base frame and span.

You can work your way forward a frame at a time from a base frame, making corrective strokes, and you don't have to worry about your strokes changing results on frames that you've already worked on. You can do the same thing going backward from a base frame.

The influence of each corrective stroke propagates forward or backward to affect all frames in that direction within the span, regardless of when the stroke is made. For example, if the base frame is at frame 10, you make a corrective stroke at frame 20, and then you make a corrective stroke at frame 15, then frame 20 will be affected by both of these corrective strokes—as if you had made the corrective strokes in the other order.

Each time that you make a stroke within a span, the span grows unless it can't because the span in which you're drawing is next to another span:

  • To manually change a span duration, drag either end of a span.

  • To delete a span, right-click (Windows) or Control-click (macOS) a span and choose Remove Span.

  • To delete all spans, delete the instance of the Roto Brush & Refine Edge effect.

Propagation banner

In Next-Gen Roto Brush and Roto Brush 2, there is a propagation banner at the bottom of the Layer panel, which gives the status of the current propagating frame.

The propagation banner shows the status of the current propagating frame.
The propagation banner shows the status of the current propagating frame.

Roto Brush tool, Roto Brush strokes, and similarities to paint tools and strokes

The Roto Brush Tool is similar in many ways to the paint tools, though it also has several important differences.

When the Roto Brush Tool is selected, controls in the Paint panel are disabled. Roto Brush strokes have a duration of one frame, though their influence propagates forward or backward within a span.

You can change the brush size (Diameter) for the Roto Brush tool in the same way that you change it for the paint tools. You can use the Diameter control in the Brushes panel or Ctrl-drag (Windows) or Command-drag (macOS) in the Layer panel. Other controls in the Brushes panel do affect the Roto Brush tool, with the exception of Hardness.

You can copy Roto Brush Path properties and paste them into masks, shapes, and instances of the Paint effect, just like you can with other kinds of paths. If you copy an individual stroke, the Roto Brush span information is not copied; however, if you copy the entire Roto Brush effect instance, it includes the Roto Brush span (and base frame) information.

You can use expressions on the Roto Brush effect's Path property in the same manner as the Paint effect's Path property.

When drawing a stroke with the Roto Brush Tool, a new stroke is created even if another stroke is selected. This differs from the stroke replacement functionality for the paint tools.

Roto Brush strokes are in a Strokes property group within the Roto Brush & Refine Edge property group in the Timeline panel.

Strokes property group within the Roto Brush property group in the Timeline panel.
Strokes property group within the Roto Brush property group in the Timeline panel.

Many keyboard shortcuts that work with paint strokes and paint tools also work with Roto Brush strokes and Roto Brush Tool

Roto Brush & Refine Matte effect properties

The Roto Brush & Refine Edge effect properties in the Propagation property group affect segmentation between foreground and background and how that segmentation information is used for contiguous frames in a span. Other properties of the Roto Brush effect affect the matte generated based on the initial segmentation. The Refine Edge Matte effect includes all of the properties of the Roto Brush effect outside the Propagation property group (except for Invert Foreground/Background).

Select from the Roto Brush versions - 1.0 (Classic), 2.0, or 3.0.

Option to select and switch between different Roto Brush versions
Option to select and switch between different Roto Brush versions.

Select the quality of detailing around the edges when version 2.0 is selectedStandard is faster and doesn’t have quite as much detail around the edges. Best is refined around the edges.

Option to select and switch between different Roto Brush versions and Quality.
Option to select and switch between different Roto Brush Quality.

Properties in the Propagation property group (except for View Search Region) affect all Roto Brush calculations. Any change to these properties requires a recalculation and propagation of the segmentation information from a base frame. Also, the results on a base frame itself are not affected by changes to these properties; therefore, it’s best to change these properties when the current-time indicator is a frame or two away from a base frame so that you can see the result of the changes.

Enable Roto Brush Classic controls in the Timeline panel.
Enable Roto Brush Classic controls in the Timeline panel.

  • Search Radius: The radius of the area within which After Effects searches when looking for pixels that match from one frame to the next. You can change how the search radius adapts to regions with more or less motion using the Motion Threshold and Motion Damping properties. If the search radius is too small, some motion may be missed; if the search radius is too large, extraneous motion may be detected.
  • View Search Radius: When selected, it displays a green box around the subject. It indicates where the Roto Brush algorithm is searching for the subject. If the subject moves out of that frame, the Roto Brush & Refine Edge effect is lost. You can increase the percentage to a higher number to cover the entire area. It's slower but more accurate and covers more area.
  • Enable Classic Controls: Propagation also has this check box in Next-Gen Roto Brush and Roto Brush 2. This is only available when Version is set to 3.0 or 2.0 and passes the propagation result from the new algorithm through the Classic one for finer control of propagation and more edge details. It turns the old Roto Brush options, such as Motion ThresholdEdge Detection, and Motion Damping back on. In version 1.0, these options are on by default, but in versions 3.0 and 2.0, you must enable them manually. Try enabling classic controls if you're not getting the desired line segmentation results with Standard or Best. Doing so creates a hybrid approach, using the best of Next-Gen Roto BrushRoto Brush 2, and Roto Brush 1.
    • Motion Threshold and Motion Damping: (available in Roto Brush 1 by default and when you enable classic controls in Next-Gen Roto Brush and 2). These two properties control how the search region is constrained based on motion. Change Motion Threshold to set the motion level below, which is considered no motion, where the search region will shrink to nothing. Motion Damping affects the remaining areas that are considered to be in motion. As you increase Motion Damping, the search region is tightened, with slow-moving areas tightening more than fast-moving areas. Constraining the search region in areas with slight motion can reduce edge chatter in these regions. Constraining the search region too much will cause the automatic boundary detection to fall off the edge of the object.
    • Edge Detection: Choose whether to favor the segmentation boundary calculated for the current frame in isolation or the segmentation calculated based on the previous frame when determining the edge between foreground and background. The Balanced option considers the current frame and surrounding frames equally. Foreground objects with colors that match the background will usually benefit from Favor Predicted Edges.
    • Use Alternate Color Estimation: Subtly changes the process by which the Roto Brush effect determines what is foreground and what is background. Sometimes checking it helps with segmentation; sometimes, it doesn't.

Inverts which strokes are considered foreground strokes and which strokes are considered background strokes in the segmentation phase of the Roto Brush & Refine Edge effect.

Use this to refine edges, reduce chatter, shift edges, work on contrast, and feather the selection.

Feather

Define the softness of the segmentation boundary.

Contrast

Increase the contrast (useful for tightening up the boundary further).

Shift Edges

Either expand (positive value) or decrease (negative value) the segmentation boundary.

Reduce Chatter

Chatter is seen when the edges of your segmentation boundary move erratically. Reduce Chatter reduces visible noise along the edges of your segmentation boundary and gives you cleaner edges.

Render Refine Edge allows viewing the refined edge of your Roto Brush results. It works for both base frames and propagated frames.

Base Refine Edge Radius lets you expand the area of the refined edges you’ve already created with the Refine Edge Roto Brush tool. Use it to expand the area of the refined edges when you have used a brush that is too small to help After Effects calculate the refined edges between frames.

Enable Fine-tune Refine Edge Matte for options for fine-tuning the edges you have created with the Refine Edge Tool.

Smooth

Increasing this value reduces the sharpness of the curves in the segmentation boundary by smoothing along the edge. Leave this number low when isolating an object with sharp features like hair.

Feather

The softness of the segmentation boundary. This property does nothing if Smooth is 0. In contrast to SmoothFeather applies across the edge.

Contrast

Increase the contrast (useful for tightening up the boundary further).

Shift Edges

Either expand (positive value) or decrease (negative value) the segmentation boundary.

Reduce Chatter

Increase this property to reduce erratic changes to edges from one frame to the next. This property determines how much influence the current frame should have when performing a weighted average across adjacent frames to make the matte edges not move erratically from one frame to the next. If the Reduce Chatter value is high, the chatter reduction is strong, and the current frame is considered less. If the Reduce Chatter value is low, the chatter reduction is weak, and the current frame is considered more. If the Reduce Chatter value is 0, only the current frame is considered for matte refinement.

Tip:

If the foreground object isn’t moving, but the matte edges are moving and changing, increase the value of the Reduce Chatter property. If the foreground object is moving, but the matte edge isn’t moving, decrease the value of the Reduce Chatter property.

Check this option to render the matte with motion blur. The high-quality option is slower but generates a cleaner edge. You can also control the number of samples and the shutter angle, which have the same meaning as they do in the context of motion blur in the composition settings.

Extend Where Smoothed

Only functional when Reduce Chatter is greater than 0 and Decontaminate Edge Colors is selected. Edges that are moved to reduce chatter are cleaned.

Increase Radius

(In Roto Brush 1, it's named Increase Decontamination Radius): Amount (in pixels) by which to increase the radius value for the cleaning of edge colors, in addition to any cleaning that covers feather, motion blur, and extended decontamination.

View Map

(In Roto Brush 1, it’s named View Decontamination Map): Shows which pixels will be cleaned by decontamination of edge colors (white pixels in the map).

When the View menu in the Layer panel is set to Roto Brush, a Freeze button appears in the lower-right corner of the Layer panel. Select this button to cache and lock segmentation for all Roto Brush spans for the layer within the composition work area. This preserves the matte and saves it with the project, preventing the Roto Brush effect from recalculating the segmentation when you open the project again or make changes.

Tips to work with Roto Brush

When drawing strokes to define a foreground object with the Roto Brush Tool, begin by drawing strokes along the center of the object’s features. For example, draw a stroke along the skeleton rather than along the outline of an arm. After Effects can then extrapolate from those regions to determine where the boundaries are.

If you draw a Roto Brush stroke over the wrong area of the image, undo that stroke. However, if After Effects misinterprets your stroke and includes or excludes too much of the image, don’t undo it; further teach Roto Brush by drawing additional strokes to include or exclude regions.

Work with resolution set to Full when using the Roto Brush tool

Fast Previews modes, such as Adaptive Resolution, don’t work well with Roto Brush because switching resolutions requires recalculation of the segmentation information. Fast Previews modes are turned off when you draw a Roto Brush stroke. 

Use the Roto Brush tool in a composition with a frame rate set to match the frame rate of the layer's source footage item,

A warning banner appears at the bottom of the frame in the Composition panel if the frame rate of the composition does not match the frame rate of the layer's source footage item.

Why should I use Roto Brush 1?

  • Older projects that used Roto Brush should still open with Roto Brush 1. If you open a project created in v17.1.4 or earlier, in v17.5, the version is automatically set to the older Roto Brush 1.
  • If you're not getting the desired line segmentation results with Next-Gen Roto Brush or Roto Brush 2, try enabling classic controls. Doing so creates a hybrid approach, using the best of Next-Gen Roto BrushRoto Brush 2, and Roto Brush 1. This is only available when Version is set to 3.0 or 2.0 and passes the propagation result from the new algorithm through the Classic one for finer control of propagation and more edge details. It turns the old Roto Brush options, such as Motion ThresholdEdge Detection, and Motion Damping back on. In version 1.0, these options are on by default, but in version 3.0 and 2.0, you must enable them manually.

Workflow

By default, the controls available to you in Roto Brush 1 can be activated in Next-Gen Roto Brush and Roto Brush 2 by selecting the Enable Classic Controls option. The procedure to use it's essentially the same as Next-Gen Roto Brush and Roto Brush 2.

Enable Classic Controls option under the Roto Brush & Refine Edge controls.
Enable Classic Controls option under the Roto Brush & Refine Edge controls.

Points to note

  • Choose your starting frame wisely. The more precise and stable the frame is, the better the propagation is.
  • The Roto brush selection can only be made in the Layer panel, so ensure you have your footage open there.
  • Older projects that used Roto Brush should still open with Roto Brush 1. If you open a project created in versions before v17.5 that used the older Roto Brush & Refine Edge effect, the version is set to 1.0. So, old projects render the same even when opened in the new version.

 Adobe

Get help faster and easier

New user?