Skip to main content

Spatio-temporal cross color (rainbow) reduction filter for VapourSynth.

Project description

Description

DeCross is a spatio-temporal cross color (rainbow) reduction filter.

DeCross must be used right after the source filter, before any field matching or deinterlacing.

The luma is returned unchanged.

This is a port of the DeCross Avisynth plugin, which is in turn based on the AviUtl plugin CrossColor.

Usage

decross.DeCross(clip clip, [int thresholdy=30, int noise=60, int margin=1, bint debug=False])
Parameters:
clip

A clip to process. It must have constant format and dimensions and it must be 8..16 bit integer YUV with 4:2:0 or 4:2:2 subsampling.

thresholdy

Edge detection threshold. Must be between 0 and the maximum sample value of the clip, so 0 and 255 at 8 bit and 0 and 65535 at 16 bit.

The value is compared against raw sample values and is not scaled by the bit depth, so it has to be adjusted when moving a script to a deeper clip.

Smaller values will detect and filter more edges.

Default: 30.

noise

Luma difference threshold. Must be between 0 and the maximum sample value of the clip, and like thresholdy it is compared against raw sample values and is not scaled by the bit depth.

Smaller values will filter more conservatively.

Default: 60.

margin

Expands the edge mask to the left and right by margin pixels. Must be between 0 and 4.

Default: 1.

debug

Instead of filtering the rainbows, show the areas that would be filtered.

Default: False.

Compilation

mkdir build && cd build
meson ../
ninja

License

GNU GPL v2 or later, like the Avisynth plugin.

Project details


Release history Release notifications | RSS feed

This version

3

Download files

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

Source Distribution

vapoursynth_decross-3.tar.gz (14.7 kB view details)

Uploaded Source

Built Distributions

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

vapoursynth_decross-3-py3-none-win_amd64.whl (45.9 kB view details)

Uploaded Python 3Windows x86-64

vapoursynth_decross-3-py3-none-musllinux_1_2_x86_64.whl (27.0 kB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

vapoursynth_decross-3-py3-none-musllinux_1_2_aarch64.whl (26.6 kB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

vapoursynth_decross-3-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (26.7 kB view details)

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

vapoursynth_decross-3-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (26.6 kB view details)

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

vapoursynth_decross-3-py3-none-macosx_15_0_x86_64.whl (20.8 kB view details)

Uploaded Python 3macOS 15.0+ x86-64

vapoursynth_decross-3-py3-none-macosx_15_0_arm64.whl (19.1 kB view details)

Uploaded Python 3macOS 15.0+ ARM64

File details

Details for the file vapoursynth_decross-3.tar.gz.

File metadata

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

File hashes

Hashes for vapoursynth_decross-3.tar.gz
Algorithm Hash digest
SHA256 845aac55900f535658fc77a94e17c92e1196abeca023addeab8cc9b396b975c7
MD5 4af25545b38034218afb8e58ea375a44
BLAKE2b-256 e9dd38f84375e34b6d4a6a0d23b4213187831622b879c78e6535a70aaadc0a22

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_decross-3.tar.gz:

Publisher: build.yml on dubhatervapoursynth/vapoursynth-decross

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_decross-3-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for vapoursynth_decross-3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 36226c8613c263a6ca5a98d70dbe5ecf34f383bc5deaf24415afb24a6d901921
MD5 2ce0d9a6711171610535fac907cc6983
BLAKE2b-256 f3570308bf1677e00155705ec55fcb06180f6792e6c1c9c6e826994a0902df58

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_decross-3-py3-none-win_amd64.whl:

Publisher: build.yml on dubhatervapoursynth/vapoursynth-decross

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_decross-3-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for vapoursynth_decross-3-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 52129c71c67f158810be4d51277c5a4ec279c163e1acb66837b1f4cdf1c2d8dd
MD5 2249bd7a2905a106ea28c4711d3f8dd1
BLAKE2b-256 fc72e73ed895d09abee0b06acbaa23cb1c4ef73b65851144146b1a2448ea84de

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_decross-3-py3-none-musllinux_1_2_x86_64.whl:

Publisher: build.yml on dubhatervapoursynth/vapoursynth-decross

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_decross-3-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for vapoursynth_decross-3-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 2cec1383d9573a221f09354e0f0bf5393c0fee4b1b4e87a8db8034c53c914a20
MD5 1f2ee0ef7103c12f3124587eac20390d
BLAKE2b-256 3ff072701c8941694ecd660d07109561a649f614f54bb731cc4c866b7c77cef2

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_decross-3-py3-none-musllinux_1_2_aarch64.whl:

Publisher: build.yml on dubhatervapoursynth/vapoursynth-decross

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_decross-3-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for vapoursynth_decross-3-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 76126911aea5de6d7912a317bc9fac4ea6eb18bb7b479ff583acd5063d56cfeb
MD5 0c8d659ecf14df1fb3dd490040facb44
BLAKE2b-256 335541dca79ef4136514acb2e0c4c9dffad80b47b9b45ebd3ec7e2b65dc8ec5d

See more details on using hashes here.

Provenance

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

Publisher: build.yml on dubhatervapoursynth/vapoursynth-decross

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_decross-3-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for vapoursynth_decross-3-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 6a2ec212b48fdf631acba461352b41b25f59acee6836d58a2e86d8a6869a99be
MD5 db869eb5fddbc766b33156f62e1aee2f
BLAKE2b-256 682252fd37c597177dcbdafe35cc92075f804adc90a5db562b8d622936706829

See more details on using hashes here.

Provenance

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

Publisher: build.yml on dubhatervapoursynth/vapoursynth-decross

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_decross-3-py3-none-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for vapoursynth_decross-3-py3-none-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 3c1110184c4b8d9ee1a1b443248ed6dce6f803b293aa776d92784850bb4354ff
MD5 5e9e6f78c711429d11f6196e73c9ca5f
BLAKE2b-256 061008bb19b6ca9d16dbef3b051e217c709f52174a28f7fa00efd9ec3d23a9a5

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_decross-3-py3-none-macosx_15_0_x86_64.whl:

Publisher: build.yml on dubhatervapoursynth/vapoursynth-decross

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_decross-3-py3-none-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for vapoursynth_decross-3-py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 35880c06b0cdd7a76421f9db66d55e5e0dcdeaa637264695dfb4a3b369cfff94
MD5 d59ef27f00083c9756d095e52ee95731
BLAKE2b-256 72befea09021d4dcaf7fd92489704d70ed2371987bdc69e6e5d46bbe4280b690

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_decross-3-py3-none-macosx_15_0_arm64.whl:

Publisher: build.yml on dubhatervapoursynth/vapoursynth-decross

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

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