EdgeFixer

From Avisynth wiki
Jump to: navigation, search
Abstract
Author sekrit-twc
Version 25 Mar 2019
Download EdgeFixer.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")
EdgeFixer(left=5, top=7, right=2, bottom=0, radius=10) #change radius to equal or a bit higher than the highest value of left/top/right/bottom


Changelog

Version       Date            Changes
25 Mar 2019 2019/03/25 - Compiled with Microsoft Visual Studio C++ 2017. r1 2018/01/13 - first release


Archived Downloads

Version Download Mirror
r1


External Links




Back to External Filters

Personal tools