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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
845aac55900f535658fc77a94e17c92e1196abeca023addeab8cc9b396b975c7
|
|
| MD5 |
4af25545b38034218afb8e58ea375a44
|
|
| BLAKE2b-256 |
e9dd38f84375e34b6d4a6a0d23b4213187831622b879c78e6535a70aaadc0a22
|
Provenance
The following attestation bundles were made for vapoursynth_decross-3.tar.gz:
Publisher:
build.yml on dubhatervapoursynth/vapoursynth-decross
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vapoursynth_decross-3.tar.gz -
Subject digest:
845aac55900f535658fc77a94e17c92e1196abeca023addeab8cc9b396b975c7 - Sigstore transparency entry: 2260555836
- Sigstore integration time:
-
Permalink:
dubhatervapoursynth/vapoursynth-decross@9b15aad15856b7b23bd8ddc2542fd156d09b891b -
Branch / Tag:
refs/tags/v3 - Owner: https://github.com/dubhatervapoursynth
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@9b15aad15856b7b23bd8ddc2542fd156d09b891b -
Trigger Event:
push
-
Statement type:
File details
Details for the file vapoursynth_decross-3-py3-none-win_amd64.whl.
File metadata
- Download URL: vapoursynth_decross-3-py3-none-win_amd64.whl
- Upload date:
- Size: 45.9 kB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36226c8613c263a6ca5a98d70dbe5ecf34f383bc5deaf24415afb24a6d901921
|
|
| MD5 |
2ce0d9a6711171610535fac907cc6983
|
|
| BLAKE2b-256 |
f3570308bf1677e00155705ec55fcb06180f6792e6c1c9c6e826994a0902df58
|
Provenance
The following attestation bundles were made for vapoursynth_decross-3-py3-none-win_amd64.whl:
Publisher:
build.yml on dubhatervapoursynth/vapoursynth-decross
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vapoursynth_decross-3-py3-none-win_amd64.whl -
Subject digest:
36226c8613c263a6ca5a98d70dbe5ecf34f383bc5deaf24415afb24a6d901921 - Sigstore transparency entry: 2260556167
- Sigstore integration time:
-
Permalink:
dubhatervapoursynth/vapoursynth-decross@9b15aad15856b7b23bd8ddc2542fd156d09b891b -
Branch / Tag:
refs/tags/v3 - Owner: https://github.com/dubhatervapoursynth
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@9b15aad15856b7b23bd8ddc2542fd156d09b891b -
Trigger Event:
push
-
Statement type:
File details
Details for the file vapoursynth_decross-3-py3-none-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: vapoursynth_decross-3-py3-none-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 27.0 kB
- Tags: Python 3, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52129c71c67f158810be4d51277c5a4ec279c163e1acb66837b1f4cdf1c2d8dd
|
|
| MD5 |
2249bd7a2905a106ea28c4711d3f8dd1
|
|
| BLAKE2b-256 |
fc72e73ed895d09abee0b06acbaa23cb1c4ef73b65851144146b1a2448ea84de
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vapoursynth_decross-3-py3-none-musllinux_1_2_x86_64.whl -
Subject digest:
52129c71c67f158810be4d51277c5a4ec279c163e1acb66837b1f4cdf1c2d8dd - Sigstore transparency entry: 2260556088
- Sigstore integration time:
-
Permalink:
dubhatervapoursynth/vapoursynth-decross@9b15aad15856b7b23bd8ddc2542fd156d09b891b -
Branch / Tag:
refs/tags/v3 - Owner: https://github.com/dubhatervapoursynth
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@9b15aad15856b7b23bd8ddc2542fd156d09b891b -
Trigger Event:
push
-
Statement type:
File details
Details for the file vapoursynth_decross-3-py3-none-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: vapoursynth_decross-3-py3-none-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 26.6 kB
- Tags: Python 3, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2cec1383d9573a221f09354e0f0bf5393c0fee4b1b4e87a8db8034c53c914a20
|
|
| MD5 |
1f2ee0ef7103c12f3124587eac20390d
|
|
| BLAKE2b-256 |
3ff072701c8941694ecd660d07109561a649f614f54bb731cc4c866b7c77cef2
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vapoursynth_decross-3-py3-none-musllinux_1_2_aarch64.whl -
Subject digest:
2cec1383d9573a221f09354e0f0bf5393c0fee4b1b4e87a8db8034c53c914a20 - Sigstore transparency entry: 2260556495
- Sigstore integration time:
-
Permalink:
dubhatervapoursynth/vapoursynth-decross@9b15aad15856b7b23bd8ddc2542fd156d09b891b -
Branch / Tag:
refs/tags/v3 - Owner: https://github.com/dubhatervapoursynth
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@9b15aad15856b7b23bd8ddc2542fd156d09b891b -
Trigger Event:
push
-
Statement type:
File details
Details for the file vapoursynth_decross-3-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.
File metadata
- Download URL: vapoursynth_decross-3-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
- Upload date:
- Size: 26.7 kB
- Tags: Python 3, manylinux: glibc 2.17+ ARM64, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76126911aea5de6d7912a317bc9fac4ea6eb18bb7b479ff583acd5063d56cfeb
|
|
| MD5 |
0c8d659ecf14df1fb3dd490040facb44
|
|
| BLAKE2b-256 |
335541dca79ef4136514acb2e0c4c9dffad80b47b9b45ebd3ec7e2b65dc8ec5d
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vapoursynth_decross-3-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl -
Subject digest:
76126911aea5de6d7912a317bc9fac4ea6eb18bb7b479ff583acd5063d56cfeb - Sigstore transparency entry: 2260556278
- Sigstore integration time:
-
Permalink:
dubhatervapoursynth/vapoursynth-decross@9b15aad15856b7b23bd8ddc2542fd156d09b891b -
Branch / Tag:
refs/tags/v3 - Owner: https://github.com/dubhatervapoursynth
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@9b15aad15856b7b23bd8ddc2542fd156d09b891b -
Trigger Event:
push
-
Statement type:
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
- Download URL: vapoursynth_decross-3-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
- Upload date:
- Size: 26.6 kB
- Tags: Python 3, manylinux: glibc 2.28+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a2ec212b48fdf631acba461352b41b25f59acee6836d58a2e86d8a6869a99be
|
|
| MD5 |
db869eb5fddbc766b33156f62e1aee2f
|
|
| BLAKE2b-256 |
682252fd37c597177dcbdafe35cc92075f804adc90a5db562b8d622936706829
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vapoursynth_decross-3-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl -
Subject digest:
6a2ec212b48fdf631acba461352b41b25f59acee6836d58a2e86d8a6869a99be - Sigstore transparency entry: 2260555929
- Sigstore integration time:
-
Permalink:
dubhatervapoursynth/vapoursynth-decross@9b15aad15856b7b23bd8ddc2542fd156d09b891b -
Branch / Tag:
refs/tags/v3 - Owner: https://github.com/dubhatervapoursynth
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@9b15aad15856b7b23bd8ddc2542fd156d09b891b -
Trigger Event:
push
-
Statement type:
File details
Details for the file vapoursynth_decross-3-py3-none-macosx_15_0_x86_64.whl.
File metadata
- Download URL: vapoursynth_decross-3-py3-none-macosx_15_0_x86_64.whl
- Upload date:
- Size: 20.8 kB
- Tags: Python 3, macOS 15.0+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c1110184c4b8d9ee1a1b443248ed6dce6f803b293aa776d92784850bb4354ff
|
|
| MD5 |
5e9e6f78c711429d11f6196e73c9ca5f
|
|
| BLAKE2b-256 |
061008bb19b6ca9d16dbef3b051e217c709f52174a28f7fa00efd9ec3d23a9a5
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vapoursynth_decross-3-py3-none-macosx_15_0_x86_64.whl -
Subject digest:
3c1110184c4b8d9ee1a1b443248ed6dce6f803b293aa776d92784850bb4354ff - Sigstore transparency entry: 2260556017
- Sigstore integration time:
-
Permalink:
dubhatervapoursynth/vapoursynth-decross@9b15aad15856b7b23bd8ddc2542fd156d09b891b -
Branch / Tag:
refs/tags/v3 - Owner: https://github.com/dubhatervapoursynth
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@9b15aad15856b7b23bd8ddc2542fd156d09b891b -
Trigger Event:
push
-
Statement type:
File details
Details for the file vapoursynth_decross-3-py3-none-macosx_15_0_arm64.whl.
File metadata
- Download URL: vapoursynth_decross-3-py3-none-macosx_15_0_arm64.whl
- Upload date:
- Size: 19.1 kB
- Tags: Python 3, macOS 15.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35880c06b0cdd7a76421f9db66d55e5e0dcdeaa637264695dfb4a3b369cfff94
|
|
| MD5 |
d59ef27f00083c9756d095e52ee95731
|
|
| BLAKE2b-256 |
72befea09021d4dcaf7fd92489704d70ed2371987bdc69e6e5d46bbe4280b690
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vapoursynth_decross-3-py3-none-macosx_15_0_arm64.whl -
Subject digest:
35880c06b0cdd7a76421f9db66d55e5e0dcdeaa637264695dfb4a3b369cfff94 - Sigstore transparency entry: 2260556377
- Sigstore integration time:
-
Permalink:
dubhatervapoursynth/vapoursynth-decross@9b15aad15856b7b23bd8ddc2542fd156d09b891b -
Branch / Tag:
refs/tags/v3 - Owner: https://github.com/dubhatervapoursynth
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@9b15aad15856b7b23bd8ddc2542fd156d09b891b -
Trigger Event:
push
-
Statement type: