Removegrain, Repair, Clense and VerticalCleaner replacement
Clone or download
tp7 Merge pull request #2 from chikuzen/master
Fix compile error on VS2015.
Latest commit debb979 Mar 12, 2016
Type Name Latest commit message Commit time
Failed to load latest commit information.


RgTools is a modern rewrite of RemoveGrain, Repair, BackwardClense, Clense, ForwardClense and VerticalCleaner in a single plugin. RgTools is mostly backward compatible to the original plugins.

Some routines might be slightly less efficient than original, some are faster. Output of a few RemoveGrain modes is not exactly identical to the original due to some minor rounding differences which you shouldn't care about. Other functions should be identical.

This plugin is written from scratch and licensed under the MIT license. Some modes of RemoveGrain and Repair were taken from the Firesledge's Dither package.


RemoveGrain(clip c, int "mode", int "modeU", int "modeV", bool "planar")

Purely spatial denoising function, includes 24 different modes. Additional info can be found in the wiki.

Repair(clip c, int "mode", int "modeU", int "modeV", bool "planar")

Repairs unwanted artifacts from (but not limited to) RemoveGrain, includes 24 modes.

Clense(clip c, clip "previous", clip "next", bool "grey")

Temporal median of three frames. Identical to MedianBlurTemporal(0,0,0,1) but a lot faster. Can be used as a building block for many fancy medians.

ForwardClense(clip c, bool "grey")

Modified version of Clense that works on current and next frames.

BackwardClense(clip c, bool "grey")

Modified version of Clense that works on current and previous frames.

VerticalCleaner(clip c, int "mode", int "modeU", int "modeV", bool "planar")

Very fast vertical median filter. Has only two modes.