Ae Content Aware Fill



  • หนึ่งในฟีเจอร์ที่มีประโยชน์มากๆ ใน Adobe Photoshop คือฟีเจอร์ Content-Aware Fill ที่สามารถลบวัตถุออกจากภาพพร้อมตกแต่งพื้นที่ว่างให้แนบเนียนเข้ากับส่วนอื่นๆ.
  • Quickly remove objects from a video using the Content-Aware Fill feature in After Effects. Learn how to work with both static and motion shots to remove even complex subjects.
  • Apr 03, 2019 Adobe’s After Effects now has the power of Photoshop’s content-aware fill for video, as introduced in its latest update. The feature lets users remove unwanted objects from video.
  • Apr 04, 2019 Very important: After your footage is analyzed, the Content Aware Fill tool actually creates a PNG sequence of all the patchwork, and it saves it automatically in your project location in a folder called “Fills.” If you create additional Content-Aware Fills, they are just dumped into ordered folders within the Fills folder.
  1. How To Add Content Aware Fill In After Effects
  2. Ae Content Aware Fill Photoshop
  3. Content Aware Fill Online
  4. Content Aware Fill How To

Content-Aware Fill in After Effects Is a Long-Awaited Timesaver. With the latest release of Adobe Creative Cloud, the video applications are finally getting one of the most anticipated features to make its way over from Photoshop. That’s right — today is the day content-aware fill for video, the feature formerly known as Project Cloak, goes.

For years it has been possible to remove unwanted objects from your photos using Adobe Photoshop, but for video, it has always been a challenge — until now! Adobe After Effects has a new feature called the Content Aware Fill that removes unwanted objects from your footage.

In this tutorial, we’ll show you how to use it by removing people walking on the beach.

New to After Effects? Check out the Beginner’s Guide to Advanced Tools and Techniques for a primer. And if you’re looking for stock footage to use, head over to Storyblocks Video for endless options, like the clip we used here.

Aware

Here’s a still frame from the footage we will be working with:


And here is a still frame of the same footage after Content Aware Fill has been used:

Let’s get started!

1. Once your footage is imported into After Effects, drag it down to the Composition button at the bottom of the Projects panel. This will create a composition with the same settings as the footage.

In this clip, there’s nothing that interferes with the people walking since the background throughout the frame is very consistent. Since there’s a person near the left side of the frame, as well as two people and a dog toward the middle of the frame, we’ll use Content Aware Fill twice.

2. With the layer selected in the composition, switch to the Pen tool (G on the keyboard), and scrub through the footage to find the best place to create a mask. In our case, it would be where the dog moves away from the people. The idea is to draw a mask with the Pen tool that is large enough to cover the elements you’d like to remove from the scene.

How To Add Content Aware Fill In After Effects

Once your mask selection is complete, you will now have an area that includes your elements, and everything else has been removed. On the mask layer in your composition, set the mask to None for now.

Content aware fill does not work

3. Next, with the timeline cursor still on the same frame that you’ve made your mask selection on, inside your mask layer, click the keyframe stopwatch to create a keyframe.

Switch back to the primary cursor tool, then move your timeline cursor to different frames throughout your composition. Anytime that the mask isn’t surrounding the elements you’d like to remove, reposition the mask.

Repeat the pattern until you’ve created enough keyframes that the mask follows the selected elements throughout the composition.

4. Next, go to Window > Content Aware Fill.

Then, on the mask, change it to Subtract.

5. At this stage, with the mask set to Subtract, we could click on Generate Fill Layer inside the Content Aware Fill panel, and it would do its best job to fill in the mask with what it thinks should be there. However, I’ve found that the result is often not accurate in doing it this way. It’s best when you provide Content Aware Fill with more information to work with.

To give Content Aware Fill more data, change the mask back to None like we did in Step 2, then inside the Content Aware Fill panel, click on ‘Create Reference Frame.’

This will open Photoshop. Change to the Lasso tool.

6. With the Lasso tool, I will make a selection around the people (excluding the dog for now.)

Then press Shift + Backspace (Shift + Delete on Mac) on your keyboard to open the Content Aware Fill panel in Photoshop. Press OK.

That will remove the people from the scene. Now do the same for the dog.

7. Go to File > Save, and switch back to After Effects. You’ll notice back in After Effects that a new layer has appeared called Reference Frame. This will provide clean data for your mask selection in After Effects that the Content Aware Fill feature can utilize to create a better result.

Ae Content Aware Fill Photoshop

Let’s set our mask back to Subtract like we did in Step 4. The effect will look complete, but that’s only because of the reference frame. Every other frame in the composition still needs to be completed.

8. In the Content Aware Fill panel window, click ‘Generate Fill Layer,’ and wait for the effect to analyze and complete.

Ae content aware fill tool

Once complete, it will show a new .png layer in your composition above your footage. The effect is now complete for the people and the dog in the middle of the scene.

If you only have one element in your footage to remove, those are all the steps that are required!

In our footage, we have another person on the left of the frame, so we will repeat steps 2 to 8. This time, we will select the person on the left.

9. I will create a second reference frame, then when Photoshop opens, I will remove the person from the shot, Save and return to After Effects.

10. Back in After Effects, I will draw a second mask around the person and will make sure both masks are set to None. From there, I will create keyframes throughout the composition and reposition the mask as needed.

Since we are using the Content Aware Fill feature twice in this project, I will turn off the first generated Fill layer, and the first generated Reference Frame layers.

11. Once again, let’s go to the Content Aware Fill panel window and click on ‘Generate Fill Layer.’

12. Next, I will turn all of the layers back on, and make sure the two masks that were created are set to Subtract.

Content

And now we’re done!

The Content Aware Fill workflow has its limitations, as a lot depends on the footage you’re working with. However, once you’ve attempted it a few times, you’ll have an understanding of what footage you can use with the feature. It’s a beneficial tool that can help you achieve the perfect look in your clips and drastically reduce your editing time!

Want to see more from Will Bartlett? Look for more tutorials to come on the Storyblocks blog or subscribe to his YouTube Channel, Alli and Will.

Quickly do a rig or object removal in your video using this content aware fill script.

Did you know you can leverage Photoshop’s powerful content aware tool to intelligently remove objects out of your video frame? The gang over at MotionBoutique.com has released a script that can quickly make objects in your video image disappear.

To use the content aware fill feature on your video you’ll have to first open up your clip in AfterEffects as an image sequence and run a motion tracker on the footage. AE will generate a script that you can run in Photoshop to take advantage of that app’s very useful content aware fill feature.

Photoshop processes the video image and attempts to determine what the image would have looked like if the object removed wasn’t in the original shot. It then uses this data to intelligently fill in the removed area of the image. See the video example from MotionBoutique:

There are other apps and plugins designed for high-end motion tracking and rig removal (see: Mocha) but this is an interesting alternative for users already accustomed to working in Photoshop. Although not too complicated to execute, being a seasoned Photoshop and AE user is beneficial to running through this process.

Content Aware Fill Online

Download the content aware fill script (free!) from MotionBoutique, as well as instructions on how to execute it.

Content Aware Fill How To

Tip off from LesterBanks.com who first reported this cool script!