REMOVE any Object or Person from DRONE footage - Davinci Resolve FUSION Tutorial 18.5

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
in this video I'm going to show you how to remove objects and people from footage that has camera movement such as drone shots I've picked out two shots with slightly different challenges your footage might present different problems but the principles should be applicable why is removing objects from footage with camera movement so problematic because the camera's perspective is constantly changing therefore any patch we create needs to constantly match the camera's perspective Fusion has some great tools to help us do this here's the two shots I'm going to demonstrate with in the first we'll remove this tree this is the easier example as the tree is stationary in the second example we'll remove this car using a slightly different technique this example will be harder as the car is in motion I'll position the playhead over the first clip and then head to the fusion page you'll notice both of these shots have something in common I'm patching objects that are on top of flat surfaces like the car on the road or in this instance the tree in the field because of that I'm going to use the planar tracker hit shift space to bring up the select tool prompt and then find a planar tracker the first thing that we need to do with the planar tracker is to draw around the plane in the image that we want to track with the planar tracker nodes selected simply click in the viewer to start drawing your shape I want this track to be as accurate as possible so I'm going to exclude the tree that's because the tree isn't a part of the plane that I'm tracking before we start tracking we do need to set our reference frame just hit set and now I can track forward I created my reference frame at the beginning of my clip please note if you created your summer in the middle you will need to track in both directions to make sure the entire clip gets tracked now this is where the magic happens change the operation mode on that planar tracker from track to steady now when I play back my footage you'll see that the planar tracker node has stabilized that plane that we tracked this step is important because it's what allows us to paint out that tree without having to do complicated motion tracking on its movement but obviously in our final image we want to see the original camera movement so let's set that up before we paint out the tree select the planar tracker copy it with command C or control C and then paste it now we've got two copies of our planar tracker with all of that tracking data in them on the second planar tracker check invert steady transform so our first planar tracker is steadying that plane and then the second planar tracker is undoing that steady operation so we're back to our original camera movement but in this little spot here in between in my node tree the image is flattened and stabilized this is where I'm going to do my paint out I'm going to try a simple way of fixing this first but I have a feeling we're going to run up against a problem I'll return my playhead to the first frame this just makes life a little bit easier and then I'll insert a paint node I'll equip that paint node in my left hand viewer by hitting one on my keyboard don't forget paint Strokes have a duration this catches me out all the time so I'll change my stroke duration to something that's longer than my clip straight away and then I'll equip my clone multi-stroke tool if you hold down on option or alt and then click that will set where you're cloning from there you go I've patched the tree but do you see the problem this field has lines in it and the lines in my patch don't match hey that rhymes we'll use the paint tool on the next example for the time being I'm going to delete it and I'm going to try something different I'll add a transform node and equip it in my left viewer I'm going to use it to create a clean patch of grass that I can then distort to match those tram lines in the field I'll play with the zoom and transform till I find a patch of brass that I like we're almost there teeny bit more set up to do I'll add a corner position and nodes we're ready to distort this to match up those tram lines add a merge node in between those two planar trackers that's what we're going to use to combine this patch back with the original image and then create a mask for that merge node to control where the patch gets applied in the image now we can connect Corner positioner to the merge node select the corner positioner node and start to play with those Corner controls so that the tram lines in our patch match that in our original image I think you get the idea let's just add some softness to the edges of that patch it's not perfect but it's not bad it does need some more work to blend that patch in so it's seamless and it could have benefited from a higher resolution image in the first place but hopefully now I've equipped you with enough information to start working on your own shots let's have a look at that second example in my second example my objective is to paint out that car so that the road is empty this is going to be trickier because the car is in motion but we can still use the planar tracker to do this same as before add the planar tracker now remember the planar tracker is designed to track things that are flat but this landscape is anything but flat the road is raised there's Banks the hills are all sloping well as I'm painting out the car that's traveling on the road and the road is flat I'm going to make sure that the shape that I track the plane that I'm tracking is drawn very carefully to only include the road and not any of the surrounding Terrain as I'm setting my reference frame halfway through this clip I will need to track forwards and then return the playhead to my reference frame and track backwards while we were tracking did you notice those red dots on the car that is the planar tracker identifying and rejecting bad tracking data just like before we're going to change the operation mode from track to steady now as I drag my playhead backwards and forwards you can see that the planar tracker has stabilized the Rope this is going to make it possible for us to paint the car out for this example I'm going to rearrange my node tree I want to perform this paint out in a parallel pipeline that I then merge back with the original image hopefully that'll make sense as we go along I'm going to do something a little different with this example instead of trying to create a patch that follows the car I'm just going to create a still image of the road with the car painted out and then track that back into the image select the planar tracker node and insert a Time stretcher node this node creates a freeze frame of our moving image if you want to change which frame you're using you can do so by manipulating The Source Time property I'm going to use that paint node that I demonstrated in the previous example add it to your node tree I'll equip that paint node in my left hand viewer select the Clone multi-stroke tool don't make the same mistake I always make increase your stroke duration to something that's longer than your clip before you start drawing of being careful with where I've clicked to make sure that that yellow line is not interrupted now let me show you what's happening here when I hit play the image on the Right Moves the image on the left that's showing us my paint node doesn't move because we use that time stretcher node to freeze this image in place obviously a still image of the road with the car painted out is no good to me its perspective needs to shift to match the camera's movement we'll remember from our previous example we can unsteady that planar track so that it matches the camera's Movement by copying the planar tracker node pasting it now if I hit invert steady transform and then equip the second planar tracker in my left hand viewer its perspective now matches the original camera movement now we need to cut the road out so that we can merge just the road back with the original image there's a couple of steps here this is easiest to do while the image is still flat so I'm going to make some room between the paint node and the planar tracker I'm actually going to delete the link between the two as well because I find it a little bit easier to build this from scratch than it is to work with this existing connection the first thing we need is a background node and I'm going to make it transparent connect the background node to the background input of a merge node the easiest way to do this is by selecting the background node like it already is and then inserting a merge node now connect the paint node to the foreground input and finally add a polygon effect mask to the merge node you can see it's connected to the blue input now with the polygon node selected I can cut the road out I don't need to do the entire Road just the portion of the road that the car is driving on please note I did this with my paint node selected in the viewer because I'm wanting to do this on the steadied image not on the moving image in my right hand viewer which is showing me my media out node remember that's the image with all of the camera movement in you'll see that the Mask doesn't line up with the road don't worry about that all we care about is it lining up with our steadied image let's equip that merge node in the left hand viewer so we can see the result that looks great we just need to soften the edge of the Mask let's finish up the node Tree by connecting the merge node to that second planar tracker remember this one has invert steady transform selected so it will now shift the perspective of my paint out to match the camera movement in the original shot let's check our progress thus far by equipping this planar tracker in the left hand viewer and watching the playback that is looking tremendous let's combine this with the original image to get rid of that car we'll need a merge node if you want to connect a node to your node tree don't forget if you hold down on shift when you drag and drop it on a line in your node tree it will automatically connect it we'll do a little bit of housekeeping to keep our node tree tidy and finally we can connect the planar tracker to the foreground input of that merge node let's see how it looks it's looking really good there's two final problems that we need to fix firstly the camera's exposure actually changes over the duration of the shot because the patch we created was taken from the first frame of this video well by the end of the shot our patch looks too light compared to the rest of the road the second problem that we want to fix is that this patch again because it's created from a still frame it doesn't have any video noise so if you watch carefully you can see there's noise in the rest of the image but there's no noise in the patched portion of the road let's fix that we'll start by fixing the exposure change with a color corrector node it needs to go between the planar tracker and the merge node I'll create a keyframe for gamma at the beginning and then a second keyframe for gamma at the end where I'll make it darker now my patch will gradually get darker over time matching the exposure of the original shot and for that final problem the lack of noise will add a grain node and then fine tune the grain size the power to match the noise present in the original image let's check it out I hope you found this video helpful if you have any questions leave them down below in the comments if you're enjoying this kind of content please make sure that you've given the video a like consider sharing it with someone and make sure you're subscribed so you don't miss out on future videos all of that helps us to know what kind of content we should make next alright thanks for watching [Music]
Info
Channel: Team 2 Films
Views: 43,150
Rating: undefined out of 5
Keywords:
Id: cUbCeYa1Yf8
Channel Id: undefined
Length: 12min 28sec (748 seconds)
Published: Wed Aug 02 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.