End-of-Eternity / vs-ccd

Vapoursynth Port of the Camcorder Color Denoise VirtualDub filter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CCD - Camcorder Color Denoise

CCD is a simple chroma denoiser. It works by selectively averaging pixels in a 25x25 matrix below the Euclidean distance threshold in an RGB clip. After denoising, the clip should be converted back to YUV / YCoCg, and the luma channel should be copied from the input.

Currently, CCD only supports RGBS input and will not copy the original luma for you, so for convinience, a python wrapper is included which can handle this.

Vapoursynth port of the original filter by Sergey Stolyarevsky.

Usage

Plugin - probably shouldn't be used directly!

ccd.CCD(clip clip, float threshold=4)

Python wrapper

import ccd
ccd.ccd(clip: vs.VideoNode, threshold: float = 4, matrix: Optional[str] = None)

Parameters

  • clip: Input clip. Plugin only supports RGBS, wrapper accepts any format except Gray and Compat.

  • threshold: Euclidean distance threshold for including pixel in the matrix. Higher values = more denoising. A good range seems to be 4-10.

  • matrix: Colour matrix for the wrapper to use for conversions to and from YUV/RGB. Will be guessed by the wrapper if left unspecified from frame props or frame size. Values are the same as Vapoursynth's resize.

How to install

If you're on Windows - congratulations! Just download the binary and wrapper from the releases page, and drop them into their usual places.

If you're a linux weirdo, then see the compilation instructions for the plugin below.

Compilation

meson build
ninja -C build

Or you can use cmake - though I don't know how it works, and Scrad added it. Blame him if it fails, not me.

Dependencies

Vapoursynth, obviously. That's it though :pogchamp:

About

Vapoursynth Port of the Camcorder Color Denoise VirtualDub filter

License:GNU General Public License v3.0


Languages

Language:C++ 64.2%Language:Python 25.5%Language:Meson 9.2%Language:CMake 1.1%