How to fix green screen edges

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

basleroy

  • Posts: 1
  • Joined: Sat Apr 05, 2025 12:41 pm
  • Real Name: Bas van der Molen

How to fix green screen edges

PostMon Apr 07, 2025 9:56 am

Hi,

I tried every way I found and thought of to fix these green screen edges (see added images) but I have the feeling it is not possible. The best results I got was with the DeltaKeyer in Fusion (see images)

When there is to much movements the blurry outline just don't look good. But I can't crop them out with the Matte options in the DeltaKeyer because the the details of the subject will disappear. Any ideas? Otherwise I will just do it without a greenscreen and create the background myself.

Thanks in advance!
Attachments
Image (4).png
Davinci Settings/overview
Image (4).png (382.59 KiB) Viewed 381 times
Image (2).png
Before (green screen shot)
Image (2).png (320.76 KiB) Viewed 381 times
Image (1).png
Green screen edges
Image (1).png (223.08 KiB) Viewed 381 times
Offline
User avatar

evanfotis

  • Posts: 99
  • Joined: Sat Feb 23, 2019 2:42 pm
  • Real Name: Evangelos Georgoulakis

Re: How to fix green screen edges

PostMon Apr 21, 2025 2:08 pm

Shoot at 60fps to have sharp image for motion objects with less motion blur.
Are you shooting raw, 4:2:2 or what format? 4:2:2 is best , Long Gop 4:2:0 is worst.
Try plugins like Primate, chroma studio etc. Provide better results than 3d keyer.
Best keyer i have come across and fastest is hawaiki keyer 5, unfortunately not for Resolve...
Offline

Hendrik Proosa

  • Posts: 3400
  • Joined: Wed Aug 22, 2012 6:53 am
  • Location: Estonia

Re: How to fix green screen edges

PostMon Apr 21, 2025 2:33 pm

Good old. First thing to keep in mind is that this is a color problem, not alpha matte issue so twiddling with matte won't help you unless you erode away all the edge detail.

Now, since it is a color problem, solution is simple: restore the colors :D Easier said than done in some cases but it is of utmost importance to understand that this is the issue; solutions are therefore also focused on edge color restoration. It is caused by mixing of fg and bg colors due to semitransparency and thus can't be fixed by simply mucking with transparency values. Problem exists even in cg renders where alpha channel is perfect representation of transparency: a mask for some object of interest can't perfectly isolate it from a final render without edges being contaminated.

Some different fixes in not-so-logical order are:
- Try despilling solutions. Despilling removes the screen color cast mathematically (bluntly said, clamps for example green channel values so they aren't bigger than R and B, thus color not green). In your case it has already been applied, so not of much help.
- Grade the edges to fit better - use inverted (expanded etc if necessary) alpha channel as a mask for some color grading operation to nudge the edge color in right direction. Hue corrections can do nice things sometimes
- Do some edge extension trickery to extend the solid core colors (where alpha is 1.0 solid) onto the edge areas to get rid of mudged colors, then merge these extensions over original and premult result with alpha. Edge extension techniques range from basic blur > unpremult to elaborate gizmos and whatnot but in general the idea is the same: extend the existing "correct" colors from inner core areas outwards to cover the area wher bg and fg are mixed to restore the actual fg color, then premult with alpha to apply the matting.
- Paint the fixes in - solution in case basic stuff above won't work, for example when there is very strong motion blur, objects intersecting, tricky areas etc. Then just grab the paint tools and paint correct colors into RGB, premult with alpha later. With paint you can fix everything, this is how "hollywood" does it to crunch through all the crap that gets thrown at vfx. Secret isn't ultra-clean plates and high-speed photography, solutions are actually simple, tedious, and work on every kind of utter crap.

evanfotis wrote:Shoot at 60fps to have sharp image for motion objects with less motion blur.
Not a general solution as semi-transparency happens for bazillion reasons, mblur being just one of them. Defocus, lens softness, actually semitransparent objects, hair, list is endless.
I do stuff

Return to DaVinci Resolve

Who is online

Users browsing this forum: panos_mts, Steve Alexander and 245 guests