Blink Discrete Cosine Transform naive implementation (includes the inverse dct too)
DCT - Discrete Cosine Transform
Updated: 25 February 2016
Author: mborgo
Compatible Nuke versions: 9.0 or later
Compatibility: Linux, Mac, Windows
Discrete cosine transform implemented in Blink Script (and the inverse DCT transform too).
Plug your image on the input, manipulate the DCT result and reverse it back with iDCT.
It's a naive implementation without code optimization, so don't expect it to be fast.
Works on RGB channels.
Quick Usage example:
Paint the DCT, erasing some of the patterns from DCT (black color) and use the Inverse DCT to get the result.
If you use the base code to do something cool, let me know!