EdgeFixer

From Avisynth wiki
Jump to: navigation, search
Abstract
Author rsekrit-twc
Version r2
Download EdgeFixer_r2.7z
Category Borders and Cropping
License
Discussion

Contents

Description

EdgeFixer repairs bright and dark line artifacts near the border of an image. When an image is resampled with a negative-lobe kernel, such as Bicubic or Lanczos, a series of bright and dark lines may appear around the image borders. These lines need not be cropped, as they contain spatial information that can be recovered. EdgeFixer uses least squares regression to correct the offending lines based on a reference line. ContinuityFixer uses the adjacent line as the reference, whereas ReferenceFixer uses an external reference image.

See Github homepage for examples.

Requirements


Syntax and Parameters

ContinuityFixer (clip clip, int "left", int "top", int "right", int "bottom", int "radius")
ReferenceFixerFixer (clip clip, clip ref, int "left", int "top", int "right", int "bottom", int "radius")


clip   =
Input clip.
clip   =
Reference clip, only applicable to ReferenceFixer.
int  left = 0
int  top = 0
int  right = 0
int  bottom = 0
The number of lines to filter along each edge.
int  radius = 0
Limit the window used for the least squares regression, useful in the presence of overlaid content.


Examples

AviSource("Blah.avi")
ContinuityFixer (left=2, top=4, right=0, bottom=2, radius=0)


AviSource("Blah.avi")
ReferenceFixer (FastBlur(0.8125, 0, iterations = 1, gamma = false), left=10)


Changelog

Version       Date            Changes
r2 2020/08/22 - See commits r1 2018/01/13 - first release


Archived Downloads

Version Download Mirror


External Links

  • GitHub - Source code repository




Back to External Filters

Personal tools