Masking
Masking section
- Name
- mask.enabled
- range
- yes, no
- default
- yes
Masking keeps fixed parts of the picture, such as the HUD, from warping.
The examples on this page use a 60 fps copy of the clip, where the errors are larger. Most show one interpolated frame without blending.
Method
- Name
- mask.method
- range
- peel, still, image
- default
- peel
| peel | removes the HUD before interpolation and restores it after, also when the HUD is transparent |
|---|---|
| still | fades pixels that do not change between frames instead of warping them |
| image | keeps the original frame in the parts that a mask picture marks |
With masking off, the chat smears when the camera turns. Peel keeps it sharp. Still leaves faint copies of some letters. Image keeps the original frame in a box over the chat, so the wall in the box does not move with the scene.
Peel limit
- Name
- mask.peel limit
- range
- 1 to 20
- default
- 6
Peel counts a pixel as HUD when it does not follow the motion of the scene. A higher limit marks fewer pixels as HUD.
At 20, parts of the chat do not count as HUD and smear. Values below 6 give the same result in this clip.
Still limit
- Name
- mask.limit
- range
- 0 to 20
- default
- 4.5
A pixel counts as still when it changes by no more than this value between two frames, on a scale of 0 to 255. Raising it marks more pixels as still.
This example blends. At 20, the moving grass counts as still and gets no motion blur.
Edge
- Name
- mask.edge
- range
- 0 to 20
- default
- 5
Edge and Tolerance belong to the still method. A pixel also counts as still when its detail is stronger than Edge, on a scale of 0 to 255, and stays the same between two frames. Lowering it lets weaker detail count.
At 0, the texture of the moving wall counts as still and shows as grain. Tolerance is 100 in this comparison.
Tolerance
- Name
- mask.tolerance
- range
- 0 to 100%
- default
- 30%
Sets how much that detail may change between two frames, as a percent of its strength. Raising it marks more pixels as still.
At 100, the texture of the moving wall counts as still and shows as grain. Edge is 0 in this comparison.
Mask gallery
- Name
- mask.image
- range
- a mask name
- default
- none
A mask is a PNG file in the masks folder next to the app, and black in it keeps the original
frame. Click a mask to use it, or hover over one to see it on the preview.
To add a mask, press + to draw one on the clip or import an image, or drop PNG, JPG, WebP or BMP files on the section. Right-click a mask for more actions.
Soft edge
- Name
- mask.soft edge
- range
- 0 to 100
- default
- 0
Appears once you choose a mask, and in the editor. Blurs the mask out from its edge, so the original frame fades into the interpolated frame. The value is in pixels at 1080p.
At 0, the wall in the box ends at the top edge of the box. At 100, it fades out above the box.
Mask editor
To open the editor in the Masking section, choose Draw on the clip or Edit, or double-click a
mask. Paint the parts of the preview that keep the original frame. Save writes the mask to the masks folder under Name.
Mask editor keys
- Erase
- Right dragAlt drag
- Paint or erase
- XE
- Brush, box, ellipse
- BRO
- Brush size
- []
- Straight line
- Shift click
- Square or circle
- Shift drag
- Invert
- Ctrl I
- Zoom, move the view
- WheelMiddle drag
- Cancel
- Esc