Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums VEGAS Pro Combining multiple masks & XOR.

  • Combining multiple masks & XOR.

    Posted by Byron Nelson on October 25, 2012 at 2:33 pm

    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

    Byron Nelson replied 13 years, 6 months ago 2 Members · 2 Replies
  • 2 Replies
  • Mike Kujbida

    October 25, 2012 at 3:43 pm

    I have no idea if it will help but take a look at the following tutorial as it uses the Difference compositing mode to accomplish what I think you want to do.
    https://matthew.chaboud.com/vegas5/twocats/

  • Byron Nelson

    October 26, 2012 at 9:03 am

    Many thanks for the suggestion Mike. I’ll give it a try- surely I have at least a few seconds of the static view through the windshield before I got into the front seat at the beginning of the video.

    Best,
    Byron

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy