Antialiasing_SRD v2.0
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Perceval Schopp
A really nice and cheap way to make anti-aliasing. (based on matrix and idistort)
SRD for 'Sobel / Rotated / iDistort'
V2 better deals with low contrast !
Requirements:
14.0, 13.2, 13.1, 13.0 or later
Linux, Mac, Windows
14.0, 13.2, 13.1, 13.0 or later
Linux, Mac, Windows
26 Jun 2024
65
While doing researches around stylisation and kuwahara filter. I found a really nice and cheap way to make anti-aliasing.
I make a sort of a sobel filter from the image but rotated :
on green channel :
2 1 0
1 0 -1
0 -1 -2
on red channel :
0 1 2
-1 0 1
-2 -1 0
By doing so I detect the 'stairs' patterns on the image. It worked better on colors between 0 and 1 so I added a bit of tweak if you are in aces with crazy values...
Then I simply apply a sublte idistort one way and a second one with same intensity the reversed way.
I hope it helps you create awesome images !
Have fun with it :)
Please login in order to download these files.