Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to remove background if I have the background source?

New Here ,
Oct 03, 2017 Oct 03, 2017

This is a bit hard to explain, but I have my video whose background is a still image, and I have the image on its own. How could I remove the still image background from the source video?

2.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Oct 03, 2017 Oct 03, 2017

If there is absolutely no noise or compression artifacts in the video and the levels precisely match you could try using a difference matte. Other than that there's not much that I see in the shots that would work well go create a procedural matte from color levels. Your screenshot does not have both images at the same size but I threw this together in a minute or tow by simply scaling a copy of your screenshot and applying difference matte:

Screen Shot 2017-10-03 at 7.35.24 PM.png

You may still have to do some roto where the colors in

...
Translate
Community Expert ,
Oct 03, 2017 Oct 03, 2017

If I understand the question I think that Rotobrush can help you with this.

Here's a link:

After Effects Roto Brush, Refine Edge, and Refine Matte

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 03, 2017 Oct 03, 2017

I've looked into rotobrush, while I can do that, I feel like there must be an easier way, since I have the background as a separate image. Basically I want to check if each pixel is the same as the background source image, and if so, make it transparent. In the screenshot attached you can see on the left I have my video clip, and on the right I have png which is the background from the clip (which is also a still image in the video clip)

Screenshot (28).png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 03, 2017 Oct 03, 2017
LATEST

If there is absolutely no noise or compression artifacts in the video and the levels precisely match you could try using a difference matte. Other than that there's not much that I see in the shots that would work well go create a procedural matte from color levels. Your screenshot does not have both images at the same size but I threw this together in a minute or tow by simply scaling a copy of your screenshot and applying difference matte:

Screen Shot 2017-10-03 at 7.35.24 PM.png

You may still have to do some roto where the colors in the clothing matches the colors in the background. As long as there is no significant difference in the footage and they line up perfectly Effects>Keying>Difference Matte should probably get you close.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines