Skip to main content

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.

Metadata

Release files for vapoursynth-decross 3

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-decross 3
File Size Uploaded Provenance
vapoursynth_decross-3.tar.gz 14.7 kB With provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for vapoursynth-decross 3
File
vapoursynth_decross-3-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
vapoursynth_decross-3-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details
vapoursynth_decross-3-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details
vapoursynth_decross-3-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
vapoursynth_decross-3-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl Python 3 none Linux glibc 2.5+ x86-64, Linux glibc 2.28+ x86-64 Details
vapoursynth_decross-3-py3-none-macosx_15_0_x86_64.whl Python 3 none macOS 15.0+ x86-64 Details
vapoursynth_decross-3-py3-none-macosx_15_0_arm64.whl Python 3 none macOS 15.0+ ARM64 Details

Total release size: 207.4 kB

Release files / vapoursynth_decross-3.tar.gz

Download URL vapoursynth_decross-3.tar.gz
Size 14.7 kB
Tags Source
SHA-256 checksum
How to use checksums
845aac55900f535658fc77a94e17c92e1196abeca023addeab8cc9b396b975c7
BLAKE2b-256 checksum
How to use checksums
e9dd38f84375e34b6d4a6a0d23b4213187831622b879c78e6535a70aaadc0a22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 27, 2026.

Transparency log

Release files / vapoursynth_decross-3-py3-none-win_amd64.whl

Download URL vapoursynth_decross-3-py3-none-win_amd64.whl
Size 45.9 kB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
36226c8613c263a6ca5a98d70dbe5ecf34f383bc5deaf24415afb24a6d901921
BLAKE2b-256 checksum
How to use checksums
f3570308bf1677e00155705ec55fcb06180f6792e6c1c9c6e826994a0902df58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 27, 2026.

Transparency log

Release files / vapoursynth_decross-3-py3-none-musllinux_1_2_x86_64.whl

Download URL vapoursynth_decross-3-py3-none-musllinux_1_2_x86_64.whl
Size 27.0 kB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
52129c71c67f158810be4d51277c5a4ec279c163e1acb66837b1f4cdf1c2d8dd
BLAKE2b-256 checksum
How to use checksums
fc72e73ed895d09abee0b06acbaa23cb1c4ef73b65851144146b1a2448ea84de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 27, 2026.

Transparency log

Release files / vapoursynth_decross-3-py3-none-musllinux_1_2_aarch64.whl

Download URL vapoursynth_decross-3-py3-none-musllinux_1_2_aarch64.whl
Size 26.6 kB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
2cec1383d9573a221f09354e0f0bf5393c0fee4b1b4e87a8db8034c53c914a20
BLAKE2b-256 checksum
How to use checksums
3ff072701c8941694ecd660d07109561a649f614f54bb731cc4c866b7c77cef2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 27, 2026.

Transparency log

Release files / vapoursynth_decross-3-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl

Download URL vapoursynth_decross-3-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Size 26.7 kB
Tags Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
76126911aea5de6d7912a317bc9fac4ea6eb18bb7b479ff583acd5063d56cfeb
BLAKE2b-256 checksum
How to use checksums
335541dca79ef4136514acb2e0c4c9dffad80b47b9b45ebd3ec7e2b65dc8ec5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 27, 2026.

Transparency log

Release files / vapoursynth_decross-3-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl

Download URL vapoursynth_decross-3-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Size 26.6 kB
Tags Linux glibc 2.28+ x86-64 Linux glibc 2.5+ x86-64 Python 3
SHA-256 checksum
How to use checksums
6a2ec212b48fdf631acba461352b41b25f59acee6836d58a2e86d8a6869a99be
BLAKE2b-256 checksum
How to use checksums
682252fd37c597177dcbdafe35cc92075f804adc90a5db562b8d622936706829
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 27, 2026.

Transparency log

Release files / vapoursynth_decross-3-py3-none-macosx_15_0_x86_64.whl

Download URL vapoursynth_decross-3-py3-none-macosx_15_0_x86_64.whl
Size 20.8 kB
Tags Python 3 macOS 15.0+ x86-64
SHA-256 checksum
How to use checksums
3c1110184c4b8d9ee1a1b443248ed6dce6f803b293aa776d92784850bb4354ff
BLAKE2b-256 checksum
How to use checksums
061008bb19b6ca9d16dbef3b051e217c709f52174a28f7fa00efd9ec3d23a9a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 27, 2026.

Transparency log

Release files / vapoursynth_decross-3-py3-none-macosx_15_0_arm64.whl

Download URL vapoursynth_decross-3-py3-none-macosx_15_0_arm64.whl
Size 19.1 kB
Tags Python 3 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
35880c06b0cdd7a76421f9db66d55e5e0dcdeaa637264695dfb4a3b369cfff94
BLAKE2b-256 checksum
How to use checksums
72befea09021d4dcaf7fd92489704d70ed2371987bdc69e6e5d46bbe4280b690
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 27, 2026.

Transparency log

Security for vapoursynth-decross 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 8 files in this release have been uploaded with provenance metadata.

Select from 8 files

Attestation for vapoursynth_decross-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 Jul 27, 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

3 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