8000 GitHub - EleonoreMizo/vs-ccd: Vapoursynth Port of the Camcorder Color Denoise VirtualDub filter
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

EleonoreMizo/vs-ccd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

Algorithm

CCD is basically a bilateral filter, with the following characteristics:

  • Weight functions are simplified to a box instead of a Gaussian.

  • The kernel is subsampled, default is 8× in each direction, so 256× total.

  • Works on full pixels, not just on independent color channels as video filters often do.

About

Vapoursynth Port of the Camcorder Color Denoise VirtualDub filter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 71.6%
  • Python 20.2%
  • Meson 7.3%
  • CMake 0.9%
0