KNLMeansCL
KNLMeansCL is an optimized OpenCL implementation of the Non-local means de-noising algorithm.
The NLMeans filter, originally proposed by Buades et al., is a very popular filter for the removal of white Gaussian noise, due to its simplicity and excellent performance. The strength of this algorithm is to exploit the repetitive character of the image in order to de-noise the image unlike conventional de-noising algorithms, which typically operate in a local neighbourhood.
Installation
Pre-compiled wheels are available on PyPI for:
- Windows: x86_64
- Linux: x86_64 and aarch64
- macOS: x86_64 and arm64 (15.0+)
pip install vapoursynth-knlmeanscl
Documentation
Detailed documentation and usage examples are available on the upstream Wiki.
Compilation
To compile KNLMeansCL, you will need:
- uv
- C++14 Compiler
- OpenCL SDK
- Boost
Windows
The easiest way to compile on Windows is using vcpkg for dependencies:
- Install dependencies:
vcpkg install --triplet x64-windows-static boost-filesystem boost-system opencl pkgconf
- Build:
# Replace path/to/vcpkg_installed with your actual installation path $vcpkgRoot = "path/to/vcpkg_installed/x64-windows-static" $env:LIB = "$vcpkgRoot/lib;$env:LIB" $env:INCLUDE = "$vcpkgRoot/include;$env:INCLUDE" $env:PKG_CONFIG_PATH = "$vcpkgRoot/lib/pkgconfig" $env:BOOST_ROOT = "$vcpkgRoot" $env:MESON_ARGS = "-Db_vscrt=mt -Denable_avs=false -Dstatic=true" uv build --wheel
Linux
Install development packages via your package manager:
- Ubuntu/Debian:
apt install ocl-icd-opencl-dev libboost-system-dev libboost-filesystem-dev pkg-config - Fedora/RHEL:
dnf install ocl-icd-devel boost-devel pkgconf-pkg-config
Then build:
export MESON_ARGS="-Denable_avs=false -Dstatic=true"
uv build --wheel
macOS
Using vcpkg:
- Install dependencies:
vcpkg install --triplet arm64-osx boost-filesystem boost-system opencl pkgconf
- Build:
export MESON_ARGS="-Denable_avs=false -Dstatic=true" export PKG_CONFIG_PATH="path/to/vcpkg_installed/arm64-osx/lib/pkgconfig" export BOOST_ROOT="path/to/vcpkg_installed/arm64-osx" uv build --wheel
The resulting wheel will be located in the dist/ directory.
Metadata
Release files for vapoursynth-knlmeanscl 1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| vapoursynth_knlmeanscl-1.3.tar.gz | 76.0 kB | With provenance | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| vapoursynth_knlmeanscl-1.3-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| vapoursynth_knlmeanscl-1.3-py3-none-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl | Python 3 | none | Linux glibc 2.28+ x86-64, Linux glibc 2.26+ x86-64 | Details |
| vapoursynth_knlmeanscl-1.3-py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl | Python 3 | none | Linux glibc 2.28+ ARM64, Linux glibc 2.26+ ARM64 | Details |
| vapoursynth_knlmeanscl-1.3-py3-none-macosx_15_0_x86_64.whl | Python 3 | none | macOS 15.0+ x86-64 | Details |
| vapoursynth_knlmeanscl-1.3-py3-none-macosx_15_0_arm64.whl | Python 3 | none | macOS 15.0+ ARM64 | Details |
Total release size: 1.6 MB
Release files / vapoursynth_knlmeanscl-1.3.tar.gz
| Download URL | vapoursynth_knlmeanscl-1.3.tar.gz |
|---|---|
| Size | 76.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
174b60b1e748bc7dcf291fc6147ab1664d7f4fa5357c5433fd302779292c658f
|
|
BLAKE2b-256 checksum How to use checksums |
f08042bd4bd74ae141350a5d3ad7f3085396cb78a668d8fc611620d78fe27627
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 10, 2026.
Transparency logRelease files / vapoursynth_knlmeanscl-1.3-py3-none-win_amd64.whl
| Download URL | vapoursynth_knlmeanscl-1.3-py3-none-win_amd64.whl |
|---|---|
| Size | 187.3 kB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
6ba28e0c24240479f1c398a7a01b1dbc9b89a34aeb340399389f4d73df2b278b
|
|
BLAKE2b-256 checksum How to use checksums |
afbd1ca191f9f998a3adc1ade6c6642e722a16f0cd3dfba62cd3365cb485b470
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 10, 2026.
Transparency logRelease files / vapoursynth_knlmeanscl-1.3-py3-none-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
| Download URL | vapoursynth_knlmeanscl-1.3-py3-none-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 637.6 kB |
| Tags | Linux glibc 2.26+ x86-64 Linux glibc 2.28+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
87c7b34bb86518a430b8d8b2ea6c6f5878a94cf6af75a34df2b65b97a2cb03be
|
|
BLAKE2b-256 checksum How to use checksums |
a807c177a809cc93508e4cebdf41e664a7e59a17690fe1265caf6df3ddd539f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 10, 2026.
Transparency logRelease files / vapoursynth_knlmeanscl-1.3-py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
| Download URL | vapoursynth_knlmeanscl-1.3-py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 619.3 kB |
| Tags | Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
adb528054ae57aec3710362975453a204bee07438d910cd43b4240d95e8e574d
|
|
BLAKE2b-256 checksum How to use checksums |
c79f352518601296a2c6055bc305e6630d1ecb24e1093be8d15fba6e2640e675
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 10, 2026.
Transparency logRelease files / vapoursynth_knlmeanscl-1.3-py3-none-macosx_15_0_x86_64.whl
| Download URL | vapoursynth_knlmeanscl-1.3-py3-none-macosx_15_0_x86_64.whl |
|---|---|
| Size | 39.7 kB |
| Tags | Python 3 macOS 15.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
1bbf61c762392ab5c22f4cbfbf900e4dd4d9db8de17fcbeb0e738b68780af198
|
|
BLAKE2b-256 checksum How to use checksums |
93079654dbe2d8785b1bb30f23e0041c13758acf256623135ba02670396b29ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 10, 2026.
Transparency logRelease files / vapoursynth_knlmeanscl-1.3-py3-none-macosx_15_0_arm64.whl
| Download URL | vapoursynth_knlmeanscl-1.3-py3-none-macosx_15_0_arm64.whl |
|---|---|
| Size | 39.5 kB |
| Tags | Python 3 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
78a044c24f9a185159990f3127040d3db2d354dce2235f7362a811211c8fa96b
|
|
BLAKE2b-256 checksum How to use checksums |
df86231c25b7f8d1a89c756e2fe33487687fe072916367a07dda79ea11f5512e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 10, 2026.
Transparency logSecurity for vapoursynth-knlmeanscl 1.3
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 6 files in this release have been uploaded with provenance metadata.
Attestation for vapoursynth_knlmeanscl-1.3.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 May 10, 2026.
Transparency logA 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.