-
Object Removal Question
Hey everyone, I’m a bit stumped by a VFX problem I need to solve. I’ve got a shot with a background element that needs to be removed. I’ve done this type of thing before by creating a “clean” frame in Photoshop (removing said item), tracking the shot in Mocha AE, then patching in the clean frame with the tracking data and some masks.
The technique works well, but there’s an extra element to this shot, namely the focus changes drastically (it’s a smooth pan with a rack focus from foreground to background). The element that needs to be removed begins as a very soft blur in the background then when the focus changes it becomes a cleanly defined box-shaped area. Obviously tracking in a single clean frame isn’t going to get the job done here. I’m still trying to sketch out my solution for this, but it seems to me I’ll either need to create multiple clean frames and somehow transition between them (which seems like it’ll look obvious since the focus pull is a slow, gradual transition) or perhaps attempt to mirror the camera’s focus change by adding a keyframed lens blur filter to the frame patch. My worry there is just getting it to match visually with the characteristics of the lens.
The only other technique I know is to duplicate the video layer, poke a hole in the top with a mask and then shift the bottom layer around to grab similar looking video from surrounding areas. This has the great advantage of containing within it already the necessary focus change, but the surrounding area of similar material (it’s a wood floor) isn’t large enough to cover up the hole. Maybe I can duplicate and shift things around on the bottom layer to get it up to size, though.
Apologies if this all sounds kind of vague and crazy but I figured I would ask if anyone here has any tips on how to deal with this kind of thing as it seems like it must be a pretty common thing to have focus pulls in shots where background replacement is needed. Thanks in advance for any help.