# Removing backgrounds

**URL:** <https://forum.logik.tv/t/removing-backgrounds/6863>\
**Category:** Flame Questions\
**Tags:** color\
**Created:** [September 30, 2022, 12:12pm UTC](https://forum.logik.tv/t/removing-backgrounds/6863 "2022-09-30T12:12:11Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lightningad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/lightningad/32/2191_2.png) [@Lightningad](https://forum.logik.tv/u/Lightningad)\
**Post date:** [September 30, 2022, 12:12pm UTC](https://forum.logik.tv/t/removing-backgrounds/6863/1 "2022-09-30T12:12:11Z")

</div>

I have a shot of a kid stood in front of some set elements, and i also have the same shot without the kid.

Is there any clever way to extract the background from behind the kid without resorting to gmasks?  
I can’t key - the way its been lit means the kid is lit with many of the colours in the background.  
I can’t be arsed to roto it either.

---

<div class="post-metadata">

**Author:** ![GPM](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/gpm/32/4224_2.png) [@GPM](https://forum.logik.tv/u/GPM)\
**Post date:** [September 30, 2022, 12:28pm UTC](https://forum.logik.tv/t/removing-backgrounds/6863/2 "2022-09-30T12:28:32Z")

</div>

Neat both clips, then take the locked off BG sans talent, and average the clip over like a second to further remove little temporal stuff. Try difference matte between the two. Doubtful it will get you all the way there, but could at least help in some areas.

---

<div class="post-metadata">

**Author:** ![Lightningad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/lightningad/32/2191_2.png) [@Lightningad](https://forum.logik.tv/u/Lightningad)\
**Post date:** [September 30, 2022, 12:29pm UTC](https://forum.logik.tv/t/removing-backgrounds/6863/3 "2022-09-30T12:29:45Z")

</div>

Thanks GP…trying it now!

---

<div class="post-metadata">

**Author:** ![randy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/randy/32/6122_2.png) [@randy](https://forum.logik.tv/u/randy)\
**Post date:** [September 30, 2022, 12:30pm UTC](https://forum.logik.tv/t/removing-backgrounds/6863/4 "2022-09-30T12:30:12Z")

</div>

Let us know when you give up and start rotoing. 🙂

---

<div class="post-metadata">

**Author:** ![GPM](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/gpm/32/4224_2.png) [@GPM](https://forum.logik.tv/u/GPM)\
**Post date:** [September 30, 2022, 12:30pm UTC](https://forum.logik.tv/t/removing-backgrounds/6863/5 "2022-09-30T12:30:50Z")

</div>

Also, what Randy said.

---

<div class="post-metadata">

**Author:** ![Lightningad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/lightningad/32/2191_2.png) [@Lightningad](https://forum.logik.tv/u/Lightningad)\
**Post date:** [September 30, 2022, 12:31pm UTC](https://forum.logik.tv/t/removing-backgrounds/6863/6 "2022-09-30T12:31:06Z")

</div>

probably not long now!

---

<div class="post-metadata">

**Author:** ![GPM](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/gpm/32/4224_2.png) [@GPM](https://forum.logik.tv/u/GPM)\
**Post date:** [September 30, 2022, 12:31pm UTC](https://forum.logik.tv/t/removing-backgrounds/6863/7 "2022-09-30T12:31:56Z")

</div>

The other way to avoid having to do roto on this, is to send it to a cheap roto farm. 🙂

---

<div class="post-metadata">

**Author:** ![Lightningad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/lightningad/32/2191_2.png) [@Lightningad](https://forum.logik.tv/u/Lightningad)\
**Post date:** [September 30, 2022, 12:32pm UTC](https://forum.logik.tv/t/removing-backgrounds/6863/8 "2022-09-30T12:32:58Z")

</div>

was also trying the machine learning stuff but thats too random and rough in its results

---

<div class="post-metadata">

**Author:** ![GPM](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/gpm/32/4224_2.png) [@GPM](https://forum.logik.tv/u/GPM)\
**Post date:** [September 30, 2022, 12:35pm UTC](https://forum.logik.tv/t/removing-backgrounds/6863/9 "2022-09-30T12:35:00Z")

</div>

Is it just one shot? How long? If it’s not much, I really would just send it to a cheap roto source, if you don’t want to experience the pain yourself.

---

<div class="post-metadata">

**Author:** ![Lightningad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/lightningad/32/2191_2.png) [@Lightningad](https://forum.logik.tv/u/Lightningad)\
**Post date:** [September 30, 2022, 12:35pm UTC](https://forum.logik.tv/t/removing-backgrounds/6863/10 "2022-09-30T12:35:41Z")

</div>

that involves paying others…which is why i am employed in the first place!

---

<div class="post-metadata">

**Author:** ![GPM](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/gpm/32/4224_2.png) [@GPM](https://forum.logik.tv/u/GPM)\
**Post date:** [September 30, 2022, 12:36pm UTC](https://forum.logik.tv/t/removing-backgrounds/6863/11 "2022-09-30T12:36:33Z")

</div>

Well then, welcome to the suck…

---

<div class="post-metadata">

**Author:** ![GPM](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/gpm/32/4224_2.png) [@GPM](https://forum.logik.tv/u/GPM)\
**Post date:** [September 30, 2022, 12:37pm UTC](https://forum.logik.tv/t/removing-backgrounds/6863/12 "2022-09-30T12:37:33Z")

</div>

I once made progress on something like this using subtract or something with the two clips. Didn’t give me a full perfect matte of course, but got me further.

---

<div class="post-metadata">

**Author:** ![Lightningad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/lightningad/32/2191_2.png) [@Lightningad](https://forum.logik.tv/u/Lightningad)\
**Post date:** [September 30, 2022, 12:38pm UTC](https://forum.logik.tv/t/removing-backgrounds/6863/13 "2022-09-30T12:38:09Z")

</div>

it was a long shot, but i hoped you could do some maths that tells an image to remove all pixels that are identical between two shots. Then whatever is left forms the basis for a matte that would need other work but get you a long way there.

---

<div class="post-metadata">

**Author:** ![Lightningad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/lightningad/32/2191_2.png) [@Lightningad](https://forum.logik.tv/u/Lightningad)\
**Post date:** [September 30, 2022, 12:41pm UTC](https://forum.logik.tv/t/removing-backgrounds/6863/14 "2022-09-30T12:41:35Z")

</div>

ok…roto it is

---

<div class="post-metadata">

**Author:** ![Peter](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@Peter](https://forum.logik.tv/u/Peter)\
**Post date:** [September 30, 2022, 1:02pm UTC](https://forum.logik.tv/t/removing-backgrounds/6863/15 "2022-09-30T13:02:54Z")

</div>

> **[Roto Brush and Refine Matte](https://helpx.adobe.com/th_en/after-effects/using/roto-brush-refine-matte.html)**
>
> Separate a foreground object from a background using Roto Brush and create mattes using Refine Matte.

---

<div class="post-metadata">

**Author:** ![GPM](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/gpm/32/4224_2.png) [@GPM](https://forum.logik.tv/u/GPM)\
**Post date:** [September 30, 2022, 1:07pm UTC](https://forum.logik.tv/t/removing-backgrounds/6863/16 "2022-09-30T13:07:39Z")

</div>

> [@Lightningad](#):
>
> but i hoped you could do some maths that tells an image to remove all pixels that are identical between two shots. Then whatever is left forms the basis for a matte that would need other work but get you a long way there.

That’s essentially difference matte.

---

<div class="post-metadata">

**Author:** ![hBomb42](https://avatars.discourse-cdn.com/v4/letter/h/bbce88/32.png) [@hBomb42](https://forum.logik.tv/u/hBomb42)\
**Post date:** [September 30, 2022, 1:15pm UTC](https://forum.logik.tv/t/removing-backgrounds/6863/17 "2022-09-30T13:15:56Z")

</div>

Have you ever used outsource roto? It might only be $100.

---

<div class="post-metadata">

**Author:** ![Lightningad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/lightningad/32/2191_2.png) [@Lightningad](https://forum.logik.tv/u/Lightningad)\
**Post date:** [September 30, 2022, 1:20pm UTC](https://forum.logik.tv/t/removing-backgrounds/6863/18 "2022-09-30T13:20:41Z")

</div>

thanks Peter - was hoping for something inside Flame (hate AE and have managed to avoid using it for nearly a decade!)

---

<div class="post-metadata">

**Author:** ![randy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/randy/32/6122_2.png) [@randy](https://forum.logik.tv/u/randy)\
**Post date:** [September 30, 2022, 1:41pm UTC](https://forum.logik.tv/t/removing-backgrounds/6863/19 "2022-09-30T13:41:30Z")

</div>

runway ML has a free trial.

---

<div class="post-metadata">

**Author:** ![allklier](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/allklier/32/4309_2.png) [@allklier](https://forum.logik.tv/u/allklier)\
**Post date:** [September 30, 2022, 4:58pm UTC](https://forum.logik.tv/t/removing-backgrounds/6863/20 "2022-09-30T16:58:09Z")

</div>

This is a non-Flame solve, though there may be enough in the paint tool to do the same: I just did this on a shot where a prop rope was visible in an action shot with lots of motion blur, and it overlapping background differently in each frame:

In SilhouetteFX use the paint tool and paint from other input (alt clip)/with frame offset (same shot). You can combine that with a tracker.

In my case often the offending section was clear a few frames to the right/left in the sequence. Do a quick track of the area, set the brush to frame offset and source match move and simply paint the background back in. Big & fast strokes, no need to be pixel accurate in stroke. Tracker takes care of that. Works really well.

In Silhouette you can also adjust exposure, color, scale, rotation and a few other things on the brush stroke, so if exposure shifts between source/dest you can compensate for this easily.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/thedepartmentofexternalservices/original/2X/f/fc1464e044633df1fdc71168ee64dc830906369b.png)

I think SilhouetteFX works as an OFX plugin in Flame as well if need be.

SilhouetteFX still sets the standard with paint functionality. And it’s vector based paint, so editable and automate-able to a degree. Though some edits can be quirky.

[Next page](https://forum.logik.tv/t/removing-backgrounds/6863.md?page=2)
