Skip to content

Vapoursynth Port of the Camcorder Color Denoise VirtualDub filter

License

Notifications You must be signed in to change notification settings

End-of-Eternity/vs-ccd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 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:

About

Vapoursynth Port of the Camcorder Color Denoise VirtualDub filter

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •