Jump to: Board index » General » Fusion

Repeat edge pixels?

Learn about 3D compositing, animation, broadcast design and VFX workflows.
  • Author
  • Message
Offline
User avatar

Philipp Walz

  • Posts: 371
  • Joined: Fri Apr 25, 2014 12:41 pm
  • Location: Borkwalde - Germany

Repeat edge pixels?

PostFri Mar 16, 2018 10:56 am

Hi there,

when using Fusion to blur signs and logos I have some serious problems with edge pixels.
The blurred logo starts to flicker when entering the edge area.
Bildschirmfoto 2018-03-16 um 11.46.40.png
This is the flow
Bildschirmfoto 2018-03-16 um 11.46.40.png (15.15 KiB) Viewed 2497 times

Is there an option to repeat edge pixels like in After Effects?
Pete
Offline
User avatar

Jed Mitchell

  • Posts: 165
  • Joined: Tue Nov 03, 2015 11:04 pm
  • Location: New York, NY

Re: Repeat edge pixels?

PostFri Mar 16, 2018 6:46 pm

If you can, share a closeup screenshot of the artifacts you're seeing at the edge of the frame. I suspect it's the same thing I ran into when I started using Fusion for match moving:

viewtopic.php?f=22&t=66289


As far as I can tell there is just some bad math in the antialiasing calculations Fusion does. Which is ironic because Resolve also has terrible antialiasing, but on a completely different code base...

I'd be happy if someone could inform me that I'm wrong and this is a workflow error, but that wasn't the impression I got when I first asked around here and on WSL.

The only real solution I came up with was to dilate around the edges with a tiny 1 or 2 pixel mask to sort of "fake" the clipping on the planar transform.
"It's amazing what you can do when you don't know you can't do it."


Systems:
R16.2.3 | Win10 | i9 7940X | 128GB RAM | 1x RTX Titan | 960Pro cache disk
R16.2.3 | Win10 | i9 7940X | 128GB RAM | 1x 2080 Ti | 660p cache disk
Offline
User avatar

Philipp Walz

  • Posts: 371
  • Joined: Fri Apr 25, 2014 12:41 pm
  • Location: Borkwalde - Germany

Re: Repeat edge pixels?

PostFri Mar 16, 2018 8:47 pm

Yes, I have exactly the same issue!
But what do you mean by dilating around the edge? How do you did that?
Pete
Offline
User avatar

Blazej Floch

  • Posts: 191
  • Joined: Tue Nov 11, 2014 12:48 am
  • Location: Toronto, ON

Re: Repeat edge pixels?

PostSat Mar 17, 2018 4:01 am

I believe Jed has the "ErodeDilate" tool in mind.

It's one of my favorite tools :-)

Attached a rather over-engineered example of how to fill holes and extend the edge utilizing ErodeDilate in multiple areas.

fill_hole_v001.zip
(2.83 KiB) Downloaded 117 times
Offline
User avatar

Philipp Walz

  • Posts: 371
  • Joined: Fri Apr 25, 2014 12:41 pm
  • Location: Borkwalde - Germany

Re: Repeat edge pixels?

PostSat Mar 17, 2018 6:56 am

I know the tool :)
But how to extend an edge without affecting the Image itself?
Pete
Offline
User avatar

Blazej Floch

  • Posts: 191
  • Joined: Tue Nov 11, 2014 12:48 am
  • Location: Toronto, ON

Re: Repeat edge pixels?

PostSun Mar 18, 2018 3:12 am

Skip the the variblur at the end of the sample. The image is not affected. You can run it though a difference for a prove.

Depending on the footage a different strategy might be better. E.g. Median (in Time).
Offline
User avatar

Philipp Walz

  • Posts: 371
  • Joined: Fri Apr 25, 2014 12:41 pm
  • Location: Borkwalde - Germany

Re: Repeat edge pixels?

PostSun Mar 18, 2018 7:57 am

Blazej Floch wrote:Skip the the variblur at the end of the sample. The image is not affected. You can run it though a difference for a prove.

Depending on the footage a different strategy might be better. E.g. Median (in Time).


Can you show me a node tree?
:)
Pete
Offline
User avatar

Jed Mitchell

  • Posts: 165
  • Joined: Tue Nov 03, 2015 11:04 pm
  • Location: New York, NY

Re: Repeat edge pixels?

PostMon Mar 19, 2018 4:15 pm

Blazej Floch wrote:I believe Jed has the "ErodeDilate" tool in mind.

It's one of my favorite tools :-)

Attached a rather over-engineered example of how to fill holes and extend the edge utilizing ErodeDilate in multiple areas.

fill_hole_v001.zip



Yep, this is basically the method I use. This example is great to demonstrate how much space you can fill this way, but honestly it probably shouldn't be used for anything but tiny edge artifacts like aliasing errors. A lot of nodes to reproduce something Fusion should do automatically, but whatever...

Edit: total aside, but this is also an awesome tool to handle despill on keys with heavy motion blur...
"It's amazing what you can do when you don't know you can't do it."


Systems:
R16.2.3 | Win10 | i9 7940X | 128GB RAM | 1x RTX Titan | 960Pro cache disk
R16.2.3 | Win10 | i9 7940X | 128GB RAM | 1x 2080 Ti | 660p cache disk

Return to Fusion

Who is online

Users browsing this forum: No registered users and 24 guests