Page MenuHome

Use different approach to the antialias node
ClosedPublic

Authored by Sergey Sharybin (sergey) on Nov 13 2015, 9:52 AM.

Details

Summary

It uses edge extrapolation code from Gimp's antialias plugin now,
which has advantage of giving symmetrical results, which makes it
possible to add two antialiased ID masks and have a constant 1.0
all over the frame. But has difference from the old implementation
because it uses 3x3 matrix only, which doesn't give so much smooth
looking edges. Perhaps it's not so bad, since if edges are really
need to be smooth one might use Blur node.

Another advantage is that the node is now nicely threaded.

Diff Detail

Repository
rB Blender

Event Timeline

Sergey Sharybin (sergey) retitled this revision from to Use different approach to the antialias node.
Sergey Sharybin (sergey) updated this object.
Campbell Barton (campbellbarton) edited edge metadata.

Much better (previously would contract the results),
noted one error, otherwise LGTM.

source/blender/compositor/operations/COM_AntiAliasOperation.cpp
90

should be getHeight

This revision is now accepted and ready to land.Nov 24 2015, 11:10 AM
Sergey Sharybin (sergey) edited edge metadata.

Fix typo reported by Campbell

This revision was automatically updated to reflect the committed changes.