Skip to main content

This approach to border deringing uses linear least squares to find a proper adjustment.

SinglePlane does simple linear regression between each line and the first clean line. MultiPlane does the same with multiple linear regression using all three planes. SinglePlaneLimited does this for each pixel individually using only the nearest pixels defined by ref_line_size. SinglePlaneWeighted is SinglePlaneLimited with bilateral filter style weighting for distance and difference. SinglePlaneDebug is the same as SinglePlane, but saves adjustment values to frame props instead of applying them.

SinglePlaneLimited and SinglePlaneWeighted are more experimental and should be used with care.

The frame props generated by SinglePlanedebug are:

  • BoreAdjustment
  • BoreCovariance
  • BoreSumSquares These are in order of operation, i.e. top, bottom, left, right, each from innermost to outermost line.

Requirements

VapourSynth usage

core.bore.SinglePlane(clip clip, int left=0, int right=0, int top=0, int bottom=0, clip weight_mask=None, int plane=0)
core.bore.MultiPlane(clip clip, int left=0, int right=0, int top=0, int bottom=0, clip weight_mask=None, int plane=0)
core.bore.SinglePlaneLimited(clip clip, int left=0, int right=0, int top=0, int bottom=0, clip weight_mask=None, int ref_line_size=100, int plane=0)
core.bore.SinglePlaneWeighted(clip clip, int left=0, int right=0, int top=0, int bottom=0, clip weight_mask=None, float sigmaS=50.0, float sigmaR=0.5, float sigmaD=1.5, int ref_line_size=100, int plane=0)
core.bore.SinglePlaneDebug(clip clip, int left=0, int right=0, int top=0, int bottom=0, clip weight_mask=None, int plane=0)

AviSynth+ usage

bore_SinglePlane(clip input, int "left", int "right", int "top", int "bottom", clip "weight_mask", int "plane")
bore_MultiPlane(clip input, int "left", int "right", int "top", int "bottom", clip "weight_mask", int "plane")
bore_SinglePlaneLimited(clip input, int "left", int "right", int "top", int "bottom", clip "weight_mask", int "plane", int "ref_line_size")
bore_SinglePlaneWeighted(clip input, int "left", int "right", int "top", int "bottom", clip "weight_mask", int "plane", int "ref_line_size", float "sigmaS", float "sigmaR", float "sigmaD")
bore_SinglePlaneDebug(clip input, int "left", int "right", int "top", int "bottom", clip "weight_mask", int "plane")
  • clip: 32-bit float clip.
  • left = 0, right = 0, top = 0, bottom = 0: number of lines from each border to adjust.
  • weight_mask = None: 32-bit gray mask with pixel weights, useful for discluding edges and clipped areas from adjustment calculation. If more than one plane exists, only the first one is used, so it needs to match the to-be-adjusted plane's resolution.
  • plane = 0: Plane to adjust.
  • sigmaS = 50, sigmaR = 0.5, sigmaD = 1.5: SinglePlaneWeighted's smoothing parameters, same as a bilateral filter's, sigmaR is difference between pixels in same line, sigmaD is difference between adjustments compared to current pixel and its neighbor.
  • ref_line_size = 100: Reference line size for SinglePlaneLimited/Weighted. The actual size is 2 * ref_line_size + 1.

Compilation

meson build
ninja -C build

In Windows you can configure MinGW and run the meson build, but the easiest way is to download LLVM (*-win64.exe file) and install with the path option ticked, then run:

clang -O2 -march=native -shared -o bore.dll -I"C:\Program Files\VapourSynth\sdk\include" src\bore.c

Metadata

Release files for vapoursynth-bore 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vapoursynth-bore 1.0.1
File Size Uploaded Provenance Actions
vapoursynth_bore-1.0.1.tar.gz 26.2 kB With provenance Details for vapoursynth_bore-1.0.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for vapoursynth-bore 1.0.1
File Actions
vapoursynth_bore-1.0.1-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for vapoursynth_bore-1.0.1-py3-none-win_amd64.whl
vapoursynth_bore-1.0.1-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details for vapoursynth_bore-1.0.1-py3-none-musllinux_1_2_x86_64.whl
vapoursynth_bore-1.0.1-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details for vapoursynth_bore-1.0.1-py3-none-musllinux_1_2_aarch64.whl
vapoursynth_bore-1.0.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for vapoursynth_bore-1.0.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
vapoursynth_bore-1.0.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64, Linux glibc 2.28+ ARM64 Details for vapoursynth_bore-1.0.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
vapoursynth_bore-1.0.1-py3-none-macosx_15_0_x86_64.whl Python 3 none macOS 15.0+ x86-64 Details for vapoursynth_bore-1.0.1-py3-none-macosx_15_0_x86_64.whl
vapoursynth_bore-1.0.1-py3-none-macosx_15_0_arm64.whl Python 3 none macOS 15.0+ ARM64 Details for vapoursynth_bore-1.0.1-py3-none-macosx_15_0_arm64.whl

Total release size: 6.5 MB

Release files / vapoursynth_bore-1.0.1.tar.gz

Download URL vapoursynth_bore-1.0.1.tar.gz
Size 26.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a5f36e708346b378388e36eeffb95f6deb0ad14fa33d0541a2dc5bea9eb86c10
BLAKE2b-256 checksum
How to use checksums
3cabea0969c71818be99bea0180290c586f830f9678c8d9697a9c0e73c4b375d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

Release files / vapoursynth_bore-1.0.1-py3-none-win_amd64.whl

Download URL vapoursynth_bore-1.0.1-py3-none-win_amd64.whl
Size 234.6 kB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
1db4be324f3e10f78af0eb6e1679b37527fdfa65e615bfb855d4a6a2979fa6f9
BLAKE2b-256 checksum
How to use checksums
0e7a25bfc9b627faa427163f0bd949e587eca5e801d72a7cc3a99479680c16d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

Release files / vapoursynth_bore-1.0.1-py3-none-musllinux_1_2_x86_64.whl

Download URL vapoursynth_bore-1.0.1-py3-none-musllinux_1_2_x86_64.whl
Size 1.1 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
77f2941c7ff1ea243cacbb3bdc04e3b5eebd33cd4a6e7f9fc048a70865df7e5f
BLAKE2b-256 checksum
How to use checksums
78eaa249b06aeff38cb833f627db2e8cf48d4b88b64810304444c2a1ba347f38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

Release files / vapoursynth_bore-1.0.1-py3-none-musllinux_1_2_aarch64.whl

Download URL vapoursynth_bore-1.0.1-py3-none-musllinux_1_2_aarch64.whl
Size 990.3 kB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
9850fc104866c40625311341a31680415abae2bf6202e8d6a2d375b5c9a0d386
BLAKE2b-256 checksum
How to use checksums
c9dd0bd749c4087af7388feb978d9e9c2afe574fe5cbfd25bef58d9bcd827fce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

Release files / vapoursynth_bore-1.0.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL vapoursynth_bore-1.0.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 1.2 MB
Tags Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
46a9fcb6bf944df06c5a0d957ebd850117184533ed30b7e93b4ea23835e6389b
BLAKE2b-256 checksum
How to use checksums
24069cca102fc6f2cd997d5ae59f540be7a178ed083da0f55f6448eda26e6668
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

Release files / vapoursynth_bore-1.0.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl

Download URL vapoursynth_bore-1.0.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Size 1.1 MB
Tags Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
d1b148bdf9f19f58dc7438f7cb521455f53e904acc43dc617b2a4b52c495df6c
BLAKE2b-256 checksum
How to use checksums
26d384b22808d220608d1cdfec647818f9481c40e0c35742d1c3f5a346ee3e6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

Release files / vapoursynth_bore-1.0.1-py3-none-macosx_15_0_x86_64.whl

Download URL vapoursynth_bore-1.0.1-py3-none-macosx_15_0_x86_64.whl
Size 1.0 MB
Tags Python 3 macOS 15.0+ x86-64
SHA-256 checksum
How to use checksums
766ccc1193666681550e71e14cd8bf59e13045980656c27fae94bad11de8e0df
BLAKE2b-256 checksum
How to use checksums
c35b5902f142ea831995003db6f676895582b073637776b3d9a45086d0c2b996
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

Release files / vapoursynth_bore-1.0.1-py3-none-macosx_15_0_arm64.whl

Download URL vapoursynth_bore-1.0.1-py3-none-macosx_15_0_arm64.whl
Size 837.1 kB
Tags Python 3 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
26c43f460986e1fde6a6ad0e4bc30c30b797b9b399bf5e0e1cd3736483c85892
BLAKE2b-256 checksum
How to use checksums
5dc833d4a851676c37eec98997058af33c42a592f74d767370971c47c7cdafde
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

Security for vapoursynth-bore 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 8 files in this release have been uploaded with provenance metadata.

Select from 8 files

Attestation for vapoursynth_bore-1.0.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

8 release files Full provenance

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