Vapoursynth EdgeFixer
EdgeFixer repairs bright and dark line artifacts near the frame border, as often caused by resizing with kernels that have negative lobes (Bicubic, Lanczos), without cropping.
Filtering → Vapoursynth → Frame → Edge

What it does
Each border line is corrected by least squares regression against a reference. Without a reference clip the neighboring line is used (ContinuityFixer). With use Boxblur reference Hybrid builds a box-blurred copy of the clip and corrects the border lines against it (ReferenceFixer), which is steadier on noisy edges.
Settings
| Control | Parameter | Range / values | Hybrid default | Meaning |
|---|---|---|---|---|
| Border (l/t/r/b) | left / top / right / bottom | 0 – 512 each | 0 | Lines to fix on each edge. |
| Radius | radius | 0 – 512 | 0 | Limits the regression window (useful with overlaid content such as logos); 0 = whole line. |
| use Boxblur reference | – | on/off | off | Corrects against a box-blurred copy instead of the neighboring line. |
| Planes | planes | all, chroma only, luma only | all | Planes that are blurred for the reference; the others stay unblurred. Only with Boxblur reference. |
| Radius (h/v) | hradius / vradius | 0 – 512 | 1 / 1 | Box blur radius; 0 = no blur in that direction. Only with Boxblur reference. |
| Passes (h/v) | hpasses / vpasses | 0 – 100 | 1 / 1 | Box blur passes. Only with Boxblur reference. |
| Tools: BoxBlur | – | vszip, std | – | Box blur implementation (only with Boxblur reference). |
Example
Default settings on a 10-bit YUV 4:2:0 source (640x356):
# Fix bright and dark line artifacts near the border of an image using EdgeFixer clip = core.edgefixer.Continuity(clip)
How Hybrid calls it
- EdgeFixer works on 8–16-bit integer YUV; float and RGB are not supported by the plugin, so other formats are converted first.
- Options are only written when they differ from the defaults (Hybrid's defaults are those of the plugin and of the box blur).
- Frame count and frame rate do not change.
Background
Reference mode
The plugin's own example corrects a DVD's beating edge pattern against a 3-pixel box-blurred copy of the clip – the same idea as Hybrid's use Boxblur reference. For other border fixers see Bore and Balance Borders.
Sources
- EdgeFixer
- VapourSynth documentation: BoxBlur
- Hybrid's tooltips