Removing objects from the background part 2

JohnJ wrote on 2/1/2016, 5:33 AM
My earlier question related to a clip where the camera was locked so that a train ran through it from one side to another and I am very grateful for the advice received.
I would like now to remove an unwanted object in a clip which has been panned, but does not conflict with the train. The object is a person in bright clothes who has walked into the shot middle distance as I panned round. The general scene is a view across a field. I assume that if there is a solution it would apply to a zoomed shot as well.
I am not technically proficient and this is my retirement project so can anyone advise me please?


Grazie wrote on 2/1/2016, 6:05 AM
It's all a matter of "degree", how much, how obtrusive and how much there is of the person. Could you supply here a screengrab of the shot without person, with person coming into shot and finally as they leave the pan shot.

Tech Diver wrote on 2/1/2016, 11:09 AM
If the person was moving such that there was some point in time where there was a clean background, then you can perform an object removal. The best tool by far for such a task is Mocha Pro (used quite often in Hollywood productions). However, it is rather expensive at $1,500 (though I believe it is quite worth it). With this tool you simply track the object you wish to remove. Then track the large region of the background that was obscured by the person traveling across it. The software automatically finds all the points in time that the person was not obscuring the background and uses that as the a clean plate to replace the offending object.

If you wish, you could manually create a clean plate in Photoshop (or equivalent) using several still images of your clip from a number of points in time. Then track the background and use that information to move the clean plate as a replacement image using the tracked mask of the offending object. However, it may involve a good number of key frames to deform the mask if the scene is complicated by foreground objects.

John222 wrote on 2/1/2016, 11:12 AM
Mocha Pro will do this easily, but it's expensive. With Vegas it will be tough. Since your panning one cleanplate will not be enough. You might have to paint him out of every frame. How many frames is the guy in?

Grazie wrote on 2/1/2016, 1:33 PM
"How many frames is the guy in?" - yeah, that's what I've asked for.

Rory Cooper wrote on 2/2/2016, 4:00 AM
Simply do a track motion
Here is a sample I did quickly. =

Take cross hair. in your event pan a crop line up the cross hair on the bit you want to remove
Then in track motion track the cross hair
Replace the cross hair with your bit that you want to replace and line it up or position in event pan crop.

Look you only have x motion to hassle with that’s all
Tech Diver wrote on 2/2/2016, 1:11 PM
Rory, I don't think we should necessarily assume that there is only x-motion, as we don't know if he was using a tripod while panning, and if so, whether the vertical axis was locked .

Rory Cooper wrote on 2/2/2016, 11:59 PM
sure there may be some Y plain motion that needs to be accounted for if the tripod was not locked down on its y axis = x axis motion only

in that case the easiest way would be to place a key at the start point and the end point so that our motion is constant then one in the middle then divide those with keys if necessary and so on that your motion is in timing with the pan with the combination x,y. motion of the footage

generally speaking when someone pans they lock the camera to only y axis rotation pan or x plain motion so that the horizon stays put and the tripod is level so that the horizon keeps its position level in the same place
Grazie wrote on 2/3/2016, 3:38 AM
As I said above, it's a matter of amount and degree and until we know more or get our hands on some footage, kinda punching in the dark - yes?

Rory Cooper wrote on 2/3/2016, 5:41 AM
yes sure Grazie. but it is do-able in Vegas with little effort and time
Grazie wrote on 2/3/2016, 6:36 AM
Yes, agreed. Now we need to know just how much and of what of the "do" is needed.