- Use Content-Aware Fill for video to perfect your footage
- Remove objects from your videos with the Content-Aware Fill panel
- The Content-Aware Fill panel
- How to use Content-Aware Fill
- Lighting Correction in Content-Aware Fill
- Remove objects from your videos with the Content-Aware Fill panel
- The Content-Aware Fill panel
- How to use Content-Aware Fill
- Lighting Correction in Content-Aware Fill
Use Content-Aware Fill for video to perfect your footage
Draw a mask around unwanted elements
Feather it for smoother edges. This will help blend your new fill into your existing shot.
If needed, improve the result with a Reference Frame in Photoshop
Use the Clone Tool to fill in the mask
Fill in the mask using nearby textures, then save it. After Effects will automatically manage the reference file.
Generate a Fill Layer
Go to the Content-Aware Fill panel and select Surface for the Fill Method. Adobe Sensei goes to work and creates a suitable fill for your clip.
The final result
With the power of Adobe Sensei you’re able to save time and use all your best footage.
Источник
Remove objects from your videos with the Content-Aware Fill panel
Use this article to learn how the Content-Aware Fill panel can be used to remove unwanted objects from your video.
Removing an unwanted object or area from a video can be a time-consuming and complex process. With the Content-Aware Fill feature, you can remove any unwanted objects such as mics, poles, and people from your video with a few simple steps. Powered by Adobe Sensei, this feature is temporally aware, so it automatically removes a selected area and analyzes frames over time to synthesize new pixels from other frames. Simply by drawing mask around an area, After Effects can instantly replace it with new image detail from other frames.
The tool gives you the option to help get the fill to blend seamlessly with the rest of the image. The Content-Aware Fill panel contains various options to help you remove unwanted objects and fill transparent areas.
The Content-Aware Fill panel
To open the content aware fill panel, select Windows > Content Aware Fill .
- Fill Target: This is the preview of the area that Content-Aware Fill analyzes. The transparent area is outlined in pink.
- Alpha Expansion: Use this to increase the size of the area to fill. Content-Aware Fill does not require precise masking, and may offer better results when the area includes pixels outside the object being removed.
- Fill Method: Choose the type of fill to render:
- Object: Removes an object from the footage. It fills the transparent area by taking pixels from the current and surrounding frames. It removes an object from the footage. It estimates the motion of the scene behind the object and uses this to find appropriate color values. For best results, use this to replace moving objects, like a car on a road.
- Surface: Replaces the surface of an object. It works similar to Object as it takes pixels from surrounding frames but uses the motion estimated in the comp under the transparent area. For best results, use this for static and flat surfaces, like a stain on a shirt, or a sign on a building.
- Edge Blend: Blends surrounding edge pixels. It fills the transparent area by sampling pixels at the edges of the transparent area and blending them together, and renders fast. For best results, use this to replace static objects on surfaces that lack texture, like text on paper.
- Lighting Correction: Enable this to handle dynamic lighting shifts in your footage. Incorporate lighting correction into fills to cleanly remove objects from footage where lighting changes from frame to frame. You can select from the three different correction strengths — Subtle, Moderate, and Strong. For best results, start with selecting Strong, in case it starts adding too much correction to the footage, go for Moderate or Subtle.
- Range: Choose whether to render the fill layer for only the work area or the entire duration of the composition. Setting it to work area restricts Content-Aware fill from pulling in content outside of the work area.
- Create Reference Frame: Creates a single-frame fill layer frame and opens it in Photoshop. Use reference frames to help Content-Aware Fill learn what the fill layer should look like. For example, if you have a video with complex background and Content-Aware Fill is unable to give you desired results, use the tools in Photoshop such as clone, and patch to create a better result on the reference frame. Once done, generate a new fill layer. Content-Aware Fill transfers the pixels from the reference frame to new frames in the fill layer. For some shots, you can create multiple reference frames at frames where the lighting or camera angle changes. Note that you can also use any-other process to create single-frame layers to guide content aware fill. It also respects content in those layers as a guide. This is a shortcut to do that.
- Generate Fill Layer: Creates a new fill layer. Analysis and rendering progress are displayed at the bottom of the panel. Content-Aware Fill prioritizes analyzing and rendering the frame under the Current-Time Indicator (CTI). While the fill is being rendered, you can move the CTI to a different frame to prioritize that frame, which can help you decide whether the results look correct before the entire fill layer is generated.
How to use Content-Aware Fill
The Content-Aware Fill panel includes multiple features to enable precise removal of unwanted objects from your vidoe. But all these features may not be useful in every situation.
Here is a summary of the steps you need to follow to use the Content-Aware Fill feature:
Use any available method to create transparent areas in your composition. For example, draw a mask around an object or area of your composition that you want to replace, and set it to Subtract mode. To learn how to create masks, see Create masks.
Open the Content Aware Fill panel with Windows > Content Aware Fill .
In the Content-Aware Fill panel, select the Fill Method, and set the Range that you want After Effects to analyze. Then click Generate Fill Layer which Generate fill adds a Fill layer on top of the selected layer in the Timeline panel. The layer contains sequences of images that After Effects analyzes while it generates fill layer.
Lighting Correction in Content-Aware Fill
Handle lighting shifts in footage better with improved Content-Aware Fill. It helps you cleanly remove objects from footage where harsh lighting changes occur throughout your footage and get results that look more realistic without distracting artifacts. Without lighting correction enabled, Content-Aware Fill stays true to the reference frame and does not take into consideration any lighting changes.
Lighting Correction has three strengths:
- Subtle: Use when the lighting changes are not very dramatic.
- Moderate: Use when lighting changes are moderately dynamic.
- Strong: Use when the footage has a heavy lighting changes.
The old Content Aware Fill (when Lighting Correction is disabled) stays true to the reference frame and does not take into consideration lighting changes. It is more useful in footages with consistent lighting. Content-Aware Fill currently copies only local information from each image and then finds some global adjustments to fit this information into the target frame. When you use lighting correction on footage that contains lighting shifts such as shadows, highlights, lens flares, and auto exposure changes that are not correctly read, the color of the pixels copied into the hole are not the correct color, and the result do not look clean.
With this feature, you have the option to correct fill lighting inside of Content-Aware Fill like the actual fill layer that’s generated. This eliminates the need to generate several fill layers to correct it and is helpful for lighting and color changes. When lighting correciton is enabled, Content-Aware Fill gives back a fill layer which is seamlessly integrated with the rest of the footage. This Fill layer is lighter, but with the same quality.
This does not impact the speed of the performance than without lighting correction. The overall workflow is faster when working with footage with variable lighting because you don’t need to take additional steps to clean up the results.
Источник
Remove objects from your videos with the Content-Aware Fill panel
Use this article to learn how the Content-Aware Fill panel can be used to remove unwanted objects from your video.
Removing an unwanted object or area from a video can be a time-consuming and complex process. With the Content-Aware Fill feature, you can remove any unwanted objects such as mics, poles, and people from your video with a few simple steps. Powered by Adobe Sensei, this feature is temporally aware, so it automatically removes a selected area and analyzes frames over time to synthesize new pixels from other frames. Simply by drawing mask around an area, After Effects can instantly replace it with new image detail from other frames.
The tool gives you the option to help get the fill to blend seamlessly with the rest of the image. The Content-Aware Fill panel contains various options to help you remove unwanted objects and fill transparent areas.
The Content-Aware Fill panel
To open the content aware fill panel, select Windows > Content Aware Fill .
- Fill Target: This is the preview of the area that Content-Aware Fill analyzes. The transparent area is outlined in pink.
- Alpha Expansion: Use this to increase the size of the area to fill. Content-Aware Fill does not require precise masking, and may offer better results when the area includes pixels outside the object being removed.
- Fill Method: Choose the type of fill to render:
- Object: Removes an object from the footage. It fills the transparent area by taking pixels from the current and surrounding frames. It removes an object from the footage. It estimates the motion of the scene behind the object and uses this to find appropriate color values. For best results, use this to replace moving objects, like a car on a road.
- Surface: Replaces the surface of an object. It works similar to Object as it takes pixels from surrounding frames but uses the motion estimated in the comp under the transparent area. For best results, use this for static and flat surfaces, like a stain on a shirt, or a sign on a building.
- Edge Blend: Blends surrounding edge pixels. It fills the transparent area by sampling pixels at the edges of the transparent area and blending them together, and renders fast. For best results, use this to replace static objects on surfaces that lack texture, like text on paper.
- Lighting Correction: Enable this to handle dynamic lighting shifts in your footage. Incorporate lighting correction into fills to cleanly remove objects from footage where lighting changes from frame to frame. You can select from the three different correction strengths — Subtle, Moderate, and Strong. For best results, start with selecting Strong, in case it starts adding too much correction to the footage, go for Moderate or Subtle.
- Range: Choose whether to render the fill layer for only the work area or the entire duration of the composition. Setting it to work area restricts Content-Aware fill from pulling in content outside of the work area.
- Create Reference Frame: Creates a single-frame fill layer frame and opens it in Photoshop. Use reference frames to help Content-Aware Fill learn what the fill layer should look like. For example, if you have a video with complex background and Content-Aware Fill is unable to give you desired results, use the tools in Photoshop such as clone, and patch to create a better result on the reference frame. Once done, generate a new fill layer. Content-Aware Fill transfers the pixels from the reference frame to new frames in the fill layer. For some shots, you can create multiple reference frames at frames where the lighting or camera angle changes. Note that you can also use any-other process to create single-frame layers to guide content aware fill. It also respects content in those layers as a guide. This is a shortcut to do that.
- Generate Fill Layer: Creates a new fill layer. Analysis and rendering progress are displayed at the bottom of the panel. Content-Aware Fill prioritizes analyzing and rendering the frame under the Current-Time Indicator (CTI). While the fill is being rendered, you can move the CTI to a different frame to prioritize that frame, which can help you decide whether the results look correct before the entire fill layer is generated.
How to use Content-Aware Fill
The Content-Aware Fill panel includes multiple features to enable precise removal of unwanted objects from your vidoe. But all these features may not be useful in every situation.
Here is a summary of the steps you need to follow to use the Content-Aware Fill feature:
Use any available method to create transparent areas in your composition. For example, draw a mask around an object or area of your composition that you want to replace, and set it to Subtract mode. To learn how to create masks, see Create masks.
Open the Content Aware Fill panel with Windows > Content Aware Fill .
In the Content-Aware Fill panel, select the Fill Method, and set the Range that you want After Effects to analyze. Then click Generate Fill Layer which Generate fill adds a Fill layer on top of the selected layer in the Timeline panel. The layer contains sequences of images that After Effects analyzes while it generates fill layer.
Lighting Correction in Content-Aware Fill
Handle lighting shifts in footage better with improved Content-Aware Fill. It helps you cleanly remove objects from footage where harsh lighting changes occur throughout your footage and get results that look more realistic without distracting artifacts. Without lighting correction enabled, Content-Aware Fill stays true to the reference frame and does not take into consideration any lighting changes.
Lighting Correction has three strengths:
- Subtle: Use when the lighting changes are not very dramatic.
- Moderate: Use when lighting changes are moderately dynamic.
- Strong: Use when the footage has a heavy lighting changes.
The old Content Aware Fill (when Lighting Correction is disabled) stays true to the reference frame and does not take into consideration lighting changes. It is more useful in footages with consistent lighting. Content-Aware Fill currently copies only local information from each image and then finds some global adjustments to fit this information into the target frame. When you use lighting correction on footage that contains lighting shifts such as shadows, highlights, lens flares, and auto exposure changes that are not correctly read, the color of the pixels copied into the hole are not the correct color, and the result do not look clean.
With this feature, you have the option to correct fill lighting inside of Content-Aware Fill like the actual fill layer that’s generated. This eliminates the need to generate several fill layers to correct it and is helpful for lighting and color changes. When lighting correciton is enabled, Content-Aware Fill gives back a fill layer which is seamlessly integrated with the rest of the footage. This Fill layer is lighter, but with the same quality.
This does not impact the speed of the performance than without lighting correction. The overall workflow is faster when working with footage with variable lighting because you don’t need to take additional steps to clean up the results.
Источник