-
Combining multiple masks & XOR.
Hello wonderful forum followers,
How can I combine masks?
I have a video of myself in a car, camera behind and to the right of my head looking out the windshield, and though I move about, the car is stationary.
I want to replace the view out of the windshield with new footage. That is simple enough to do with a mask.
The issue is making the mask. I really don’t want to have to rotoscope my head and hands because they’re complex shapes (I have on a hat with a brim) and move a lot.
As a first pass, I fiddled with Median, Color Curves, and Black & White FX settings to get a Black and White image of the footage with no greys in between and put a mask generator on that and got very close to what I need.
The problem is that the first pass mask is based mainly on luminance, and some bright places (e.g., my hands, shine on the dashboard) are not getting masked out.
I can then make several copies of the clips and use the secondary color corrector on each one to isolate the various spots that need to be masked (e.g., bright flesh tones on one, bright spots on the dash on another).
What I can’t seem to figure out is how to combine all the masks into a single mask.
(on a similar note, is there a way to do an exclusive-or composite of two images?)
Best,
Byron