Skip to main content

VapourSynth denoising functions

Project description

vs-denoise

VapourSynth denoising, regression, and motion-compensation functions


Wrappers for denoising, regression, and motion-compensation-related plugins and functions.

For support you can check out the JET Discord server.

How to install

Install vsdenoise with the following command:

pip install vsdenoise

Or if you want the latest git version, install it with this command:

pip install git+https://github.com/Jaded-Encoding-Thaumaturgy/vs-denoise.git



Example usage

from vsdenoise import MVTools, SADMode, MotionMode, Prefilter, BM3DCuda, Profile, nl_means

clip = ...

ref = MVTools.denoise(
    clip, thSAD=100, block_size=32, overlap=16,
    motion=MotionMode.HIGH_SAD,
    prefilter=Prefilter.DFTTEST,
    sad_mode=(
        SADMode.ADAPTIVE_SPATIAL_MIXED,
        SADMode.ADAPTIVE_SATD_MIXED,
    )
)

denoise = BM3DCuda.denoise(
    clip, sigma=0.8, tr=2, profile=Profile.NORMAL, ref=ref, planes=0
)

denoise = nl_means(denoise, tr=2, strength=0.2, ref=ref, planes=[1, 2])

Project details


Download files

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

Source Distribution

vsdenoise-2.7.0.tar.gz (66.5 kB view details)

Uploaded Source

Built Distribution

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

vsdenoise-2.7.0-py3-none-any.whl (75.2 kB view details)

Uploaded Python 3

File details

Details for the file vsdenoise-2.7.0.tar.gz.

File metadata

  • Download URL: vsdenoise-2.7.0.tar.gz
  • Upload date:
  • Size: 66.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for vsdenoise-2.7.0.tar.gz
Algorithm Hash digest
SHA256 5f40860d26cd11efea89a3e3cccfbae12181529a1a6586ab344bb23e3f22cde6
MD5 8fcee4d8b0e3618413888f2af8bb78ec
BLAKE2b-256 36cfd54f16f9d071c6d7690b4422d8b6ed60efb03ded23bb2711327857a13104

See more details on using hashes here.

File details

Details for the file vsdenoise-2.7.0-py3-none-any.whl.

File metadata

  • Download URL: vsdenoise-2.7.0-py3-none-any.whl
  • Upload date:
  • Size: 75.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for vsdenoise-2.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 586a82190371d5af1d3c67e3cb98977c6a814ece02c63a4c9e561be7c830f554
MD5 0a69c4d75bcea82a5c06e30122060145
BLAKE2b-256 22de69becf8fe55fc735fbe762363fa7f2d87baefd387fcb42d9855cb26abd2c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page