Skip to main content

EdgeFixer

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

edgefixer.Continuity(clip clip, int "left", int "top", int "right", int "bottom", int "radius")
edgefixer.Reference(clip clip, clip ref, int "left", int "top", int "right", int "bottom", int "radius")

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.

  • left, right, top, bottom - the number of lines to filter along each edge
  • radius - limit the window used for the least squares regression, useful in the presence of overlaid content

Examples

This example image (4x magnification) is taken from a commercial Blu-ray Disc. The use of bicubic image resizing has left an artifact on the outermost row and column. This is easily corrected by using ContinuityFixer to match the brigthness against the next row/column.

edgefixer.Continuity(clip, top=1, right=1)

Before:

Before

After:

After

If the image contains many bright or dark line artifacts, the nearest artifact-free row may have a substantially different luminance, and thus be unsuitable for ContinuityFixer. This example image (4x magnification) is taken from a commercial DVD. A poor film transfer has left a beating pattern of alternating bright and dark lines on the border. The 10th pixel column has substantially different average brightness than the first column, as can be seen from the image shift.

edgefixer.Continuity(clip, left=10)

Before CF

In this case, an alternative luminance reference can be applied through ReferenceFixer. Since the bright and dark pixels alternate in the image, a 3-pixel box blur can be used to smooth out the luminance. This successfully reduces the visible pattern when used as the reference image. The blurred image is only used statistically, so the resulting image does not suffer from detail loss.

ref = std.BoxBlur(hradius=1, hpasses=1, vpasses=0)
edgefixer.Reference(clip, ref, left=10)

RF

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vapoursynth_edgefixer-3.0.tar.gz (10.1 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

vapoursynth_edgefixer-3.0-py3-none-win_amd64.whl (30.5 kB view details)

Uploaded Python 3Windows x86-64

vapoursynth_edgefixer-3.0-py3-none-musllinux_1_2_x86_64.whl (9.8 kB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

vapoursynth_edgefixer-3.0-py3-none-musllinux_1_2_aarch64.whl (9.8 kB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

vapoursynth_edgefixer-3.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (9.7 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

vapoursynth_edgefixer-3.0-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (9.4 kB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

vapoursynth_edgefixer-3.0-py3-none-macosx_15_0_x86_64.whl (8.4 kB view details)

Uploaded Python 3macOS 15.0+ x86-64

vapoursynth_edgefixer-3.0-py3-none-macosx_15_0_arm64.whl (8.3 kB view details)

Uploaded Python 3macOS 15.0+ ARM64

File details

Details for the file vapoursynth_edgefixer-3.0.tar.gz.

File metadata

  • Download URL: vapoursynth_edgefixer-3.0.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for vapoursynth_edgefixer-3.0.tar.gz
Algorithm Hash digest
SHA256 9ab100bf541912ab9426dca3795c96615afea6d161da391aac214a4a0426cebe
MD5 1a0997acff6f8b2834700a63f8098295
BLAKE2b-256 a755218437c747326ba65a91d1c73ea7c3036b6fd23349db0d24351643bb5ded

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_edgefixer-3.0.tar.gz:

Publisher: build.yml on vapoursynth/EdgeFixer-pypi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vapoursynth_edgefixer-3.0-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for vapoursynth_edgefixer-3.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 9b2b10ccd41c6bf046f1f988c4a451a3e4c7998a5e8bc8bef2542ffd437a367e
MD5 1fa5f2aa2980297ccb733d2c615b12e6
BLAKE2b-256 954178b67a8a7b0f60af098c8a1e63e16435ab73808dcd2db54014ddf93a79f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_edgefixer-3.0-py3-none-win_amd64.whl:

Publisher: build.yml on vapoursynth/EdgeFixer-pypi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vapoursynth_edgefixer-3.0-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for vapoursynth_edgefixer-3.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f53ba35ee694c7e3577700b82286138e7015e33b7aa85b579ba9516f85307695
MD5 518a4334208ae565a398fbb69f5abd12
BLAKE2b-256 345eaacd40afe076835ac0eaf184a9205e5169a93f837e906e93a54185a4b3fc

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_edgefixer-3.0-py3-none-musllinux_1_2_x86_64.whl:

Publisher: build.yml on vapoursynth/EdgeFixer-pypi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vapoursynth_edgefixer-3.0-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for vapoursynth_edgefixer-3.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 680bacc6d9557ca637dc5500935dcca912bc68ce083d971b2e9db276b090283e
MD5 9918150bfbbe52244ee1cf0305e3429a
BLAKE2b-256 f8eba039de30a7e049f9b746a22cd22d1a65196fc8915e2661c6c02b0f4f5b4f

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_edgefixer-3.0-py3-none-musllinux_1_2_aarch64.whl:

Publisher: build.yml on vapoursynth/EdgeFixer-pypi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vapoursynth_edgefixer-3.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for vapoursynth_edgefixer-3.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7608767b761832d8462651bcefe05d8f9d3530e163c32b8a5ae1935d4d1c68da
MD5 679b07df948535d092947352fef0bb0e
BLAKE2b-256 55afa76524bdf776f1e9e752dc50ff02a4fbb134984436c7c844b670abad9574

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_edgefixer-3.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl:

Publisher: build.yml on vapoursynth/EdgeFixer-pypi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vapoursynth_edgefixer-3.0-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for vapoursynth_edgefixer-3.0-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 3339eff02a8c84a4400d135f1ddfb7784604cd962e5d3141e9ffd55ad8ae388f
MD5 1b1f756df69568f8855b0f6119dbcb66
BLAKE2b-256 bbffc6b5a4ae95db7d7f734f53374026d05f75dfd60495fbcd157e4d57dae3e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_edgefixer-3.0-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl:

Publisher: build.yml on vapoursynth/EdgeFixer-pypi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vapoursynth_edgefixer-3.0-py3-none-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for vapoursynth_edgefixer-3.0-py3-none-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 2b88d65654b6188af688afa0398b8fbb1e5ba111afff419097d9d3250d28b52d
MD5 8ae873fdb38ccfa83c06019910a190ac
BLAKE2b-256 e50105ca701f72ef94aab14dbd5dfc057ff201e7366a39bf9fe80d866ef888a9

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_edgefixer-3.0-py3-none-macosx_15_0_x86_64.whl:

Publisher: build.yml on vapoursynth/EdgeFixer-pypi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vapoursynth_edgefixer-3.0-py3-none-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for vapoursynth_edgefixer-3.0-py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 3e21c4fa5c8ad2c773d63ea7ec31b042ed9b5ff68bdc494795f848af9d4524fc
MD5 4951a94826ed606ea393508a6069ea6a
BLAKE2b-256 681efed126cc13adc737a3e211db71847ed78783d2c8a6fed4777d9250c887be

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_edgefixer-3.0-py3-none-macosx_15_0_arm64.whl:

Publisher: build.yml on vapoursynth/EdgeFixer-pypi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

3.0 This release

8 files

2.1

8 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page