Antialiasing Recovery

A method to restore antialiased edges damaged by image filtering

Updated: 18 May 2018

Author: nuki

Compatible Nuke versions: 8.0 or later

Compatibility: Linux, Mac, Windows

This is a BlinkScript implementation of the Antialiasing Recovery method developed by Hoppe, Lawrence, Sander and Yang. It is designed to repair antialiased edges that are damaged by nonlinear image processing operations. The source and target images need to spatially match so this method will not work properly if the applied filter geometrically distorts the image.

Some applications are:

Thresholding or Grading

aa recovery.01

aa recovery.03

Filtering (eg. Bilateral)

aa recovery.02

Remapping (zDepth)

aa recovery.04

If you want more in-depth info about this method check out the paper of Hoppe et al. here! In a nutshell this method analyzes the antialiased source to estimate the colors of the edges that were blended together. Based on this information the current pixel coverage is computed and applied to the damaged/unfiltered target image.

 

Todos:

-aa recovery for alpha (not sure if alpha should be part of the estimation process)

 

Changelog:

v1.3:

-fixed a connection error caused by faulty naming

v1.2:

-Fixed a bug that prevented the Kernel from running on the CPU

-Hopefully fixed Nuke8 warnings when creating the node

v1.1:

-Added tootlips & remapped controls for sigma d

Sign in or register to download or rate.