Wrinkle & Basic Blemish Removal with Mocha AE and After Effects CC

mocha_AE_logo

Beauty retouching has evolved throughout the ages. First, we had make up artists who would do their best to mask and cover various blemishes. Over time, it became possible to retouch photographs by hand to cover any blemishes the makeup artist was not able to clear. Now, we are not only able to retouch images, but high resolution video itself. Right now there is a growing niche market of beauty retouchers and artists taking on the role of a “digital make up artist,” retouching and removing various wrinkles, blemishes, shine, and more. I will show you how to remove wrinkles and basic blemishes using a combination of Mocha AE and After Effects CC in three easy steps:

– Create a Main Track in Mocha

– Create cover layers in Mocha

– Export and Composite in After Effects

 CREATE A MAIN TRACK IN MOCHA

With your footage in Mocha, first look at your subject and decide where exactly your will be focusing.

Screen Shot 2015-08-31 at 9.16.12 PM

Looking at my subject, I can see she has some general light blemish marks along her left cheek. Additionally, as she scrunches up her mouth she creates a dimple in the corner of her mouth which will act as a good “wrinkle” example for us, as well to show the range of this techniques use.

The goal here is to smooth out that dimple in the corner of her mouth while also blending away those light blemishes along her cheek. In the footage, she keeps her head in that general direction. This allows certain features of the face to be ideal for motion tracking, such as the eyebrows, chin, and nose (the ear and hairline is also good, however, in this sample the hair is covered by the ear and the wind is blowing her hair around her forehead, making these options not possible). Using the X spline tool, create a generic shape around the eyebrows, chin, and nose and TRACK FORWARD.

Screen Shot 2015-08-31 at 9.30.35 PM

You can label that layer in your LAYERS PANEL as MAIN TRACKER to help stay organized. We will not create an additional layer that we can animate over the course of the clip while linking it to the Main tracker for general motion.

CREATE COVER LAYER IN MOCHA

The Main track is to capture the overall movement of the camera and of subject’s head and face. Throughout the clip, the subject moves their mouth slightly with a few other facial muscles contorting. We need to create a cover layer that will focus on the wrinkle and blemish area while also remaining flexible as the subject contorts their face and mouth. From here, I am going to create a cover layer focusing on the areas mentioned.

Screen Shot 2015-08-31 at 9.45.00 PM

The mask at first seems a bit jagged, so highlight all the points, right click, and go to POINT > SMOOTH

Screen Shot 2015-08-31 at 9.48.35 PM

Screen Shot 2015-08-31 at 9.48.46 PM

Now, make sure you have that new cover layer highlighted and go to LINK TO TRACK > MAIN TRACKER. This will now link the cover layer to the main tracker allowing it to follow along with the camera and facial movement. For the fine tuning of the face contorting throughout the clip, scrub through the footage. As you see the mask intersecting with areas of the mouth and her movement, grab the points and adjust accordingly. This will create a keyframe on the timeline indicating that the mask will be in that form at that exact point on the timeline. Continue to scrub through the footage adjusting all remaining points as needed.

Screen Shot 2015-08-31 at 9.58.04 PM

Screen Shot 2015-08-31 at 9.58.32 PM

Once you think you are finished, let the footage playback a few times and watch the facial movements against your keyframed layer to make sure everything meets your expectations.

EXPORT AND COMPOSITE IN AFTER EFFECTS

Once you are ready to export the cover layer, go to EXPORT SHAPE DATA located in the lower right of the program window. At the pop up window choose COPY TO CLIPBOARD.

Screen Shot 2015-08-31 at 9.59.28 PM

Back in After Effects, create a new Adjustment Layer (CMD + OPT + Y) and then paste the mocha mask shape onto the adjustment layer by going to EDIT > PASTE MOCHA MASK.

Screen Shot 2015-08-31 at 10.04.01 PM

With the cover layer now composited on top of your source clip in After Effects, go ahead and add a BOX BLUR to the Adjustment Layer. Increase the BLUR RADIUS to 10 and open the mask settings and feather the edges to about 15.

Screen Shot 2015-08-31 at 10.06.05 PM

Screen Shot 2015-08-31 at 10.06.16 PM

And now take a look at with the cover layer on and off

ON

Screen Shot 2015-08-31 at 10.06.52 PM

OFF

Screen Shot 2015-08-31 at 10.07.08 PM

You can see the blemishes have been removed and there is a general smoothness to the dimple around her mouth as well. As you increase the BLUR RADIUS, you can further smooth out the wrinkle. Be warned that increasing this too much will distort the image and will not look realistic whatsoever. You’ll need to use finesse. In another lesson, I will go into more detail on how to eliminate glaring blemishes, scars, and birth marks.

Royalty_Free_Music_Orange_468_60_Yellow_Dress_zps3d728d61

 

Scar Blemish and Birthmark Removal in Mocha and After Effects CC

mocha_AE_logo

In this day and age of digital revolution, it should be no surprise that make up artists are not the only coverage actors and actresses receive these days for blemishes, scars, shine, wrinkles, and more. Digital beauty retouching is a growing niche market where VFX artists are now able to accurately track the motion of their subjects face throughout the course of the video clip, and then isolate the blemished areas and clean them up further and more accurate than any makeup can cover. In a previous tutorial, I showed how to create a basic cover that can eliminate wrinkles and basic textured blemishes. In this tutorial, I wanted to focus on the harsher blemishes, scars, and birth marks that tend to stand out more prominently, and need some more direct care to treat.

I will break the technique down into three steps:

– Creating an isolated primary track

– Creating a Linked Mask of a Clear Area

– Exporting and Final Composite in After Effects

CREATING AN ISOLATED PRIMARY MASK

With your footage in Mocha, we are first going to create an isolated mask around the prominent blemish, scar, or birthmark. In my sample footage I am going to focus on two areas – one blemish and one mole as an example.

Screen Shot 2015-08-31 at 10.59.44 PM

In the previous, I had you create a general track mask around the whole face. This time, since the blemish area is so prominent, you can zoom in and create a mask just around the problem area itself using the X spline.

Screen Shot 2015-08-31 at 10.59.11 PM

Below the timeline you will find a set of arrows with a letter T by them indicating Track forward and backward. Go ahead and track forward to the end of the clip.

Screen Shot 2015-08-31 at 10.59.31 PM

In your layers panel you can rename the layers to BLEMISH 1 & BLEMISH 2 just to keep things organized.

Screen Shot 2015-08-31 at 10.59.23 PM

CREATING A LINKED MASK OF A CLEAR AREA

Using this tracked data, we are now going to create new layer masks just slightly next to the source blemishes in order to capture a blemish-free and clear reference area to composite over the blemish itself. With the X spline tool, go ahead and create a new layer mask just next to each isolated blemish.

Screen Shot 2015-08-31 at 11.05.28 PM

I also went ahead and changed the color of the cover mask to a blue and renamed the layers to COVER 1 & COVER 2 to keep things organized.

Screen Shot 2015-08-31 at 11.06.36 PM

At this point, LINK both COVER 1 and COVER 2 with their partnering BLEMISH 1 and BLEMISH 2. That way, both covers follow along perfectly with their blemish counterparts.

Screen Shot 2015-08-31 at 11.45.51 PM

Scrub through the footage or simply let it playback and make sure both covers follow perfectly.

EXPORTING AND FINAL COMPOSITE

In this situation you will want to export each cover layer one at a time because you will be compositing each potentially slightly different from one another and will need individual control. With the first cover layer selected, go to EXPORT SHAPE DATA in the lower right of the program window, select it, and choose COPY TO CLIPBOARD on the pop up window.

Screen Shot 2015-08-31 at 11.49.33 PM

Back in after effects we are going to DUPLICATE the source video (CMD + D). With the duplicate video selected go to EDIT > PASTE MOCHA MASK.

Screen Shot 2015-08-31 at 11.51.24 PM

Zoom in on the cover mask and now click and drag the mask over the blemish.

Screen Shot 2015-08-31 at 11.52.17 PM

Open up the Mask controls under the duplicate layer and increase the feather and slightly decrease the expansion. You can also SOLO the layer to see how much feather you are applying.

Screen Shot 2015-08-31 at 11.53.52 PM

Screen Shot 2015-08-31 at 11.53.56 PM

You can now play back the video and make sure the feather and expansion amount is adjusted appropriately so that it looks natural and properly covers the blemish. Repeat the process for Blem 2 and for any other scar or birth mark you need to digitally remove.

Screen Shot 2015-08-31 at 11.56.20 PM

Royalty_Free_Music_Orange_468_60_Yellow_Dress_zps3d728d61

 

Linking Mocha Track Masks

mocha_AE_logo

 

Mocha is a great program for tracking. That data can then be applied and used in other software programs such as After Effects for various reasons and uses. Such examples include beauty retouching, set extensions, and rotoscoping among others. In Mocha you can use a tool to create a tracking area. The program then goes frame by frame and tracks the area designated. You are then able to use the data from that one tracking area, or, what I will be showing today, is using that track to act as a PARENT track and link other mocha objects to it. In this tutorial, I will show how you can track a portion of the rear end of a car that’s moving, and then use that track as the parent while highlighting other portions of the car rear (license plate, logos, emblems, etc.) and linking them to that parent track. This is a great technique to use to save time. Instead of tracking two or more objects independently, you only need to track one item and parent the rest using the same data.

I will break down this technique in the following steps:

– Creating a Parent Track

– Linking Tracks

– Exporting linked tracks and example uses in After Effects

CREATING A PARENT TRACK

At the start, I already have my footage open and ready in Mocha AE. To create a parent track I am going to use the X spline tool to create an object around the large concave marking in the rear of the vehicle.

Screen Shot 2015-08-31 at 4.23.37 PM

 

Screen Shot 2015-08-31 at 4.26.12 PM

Below the timeline there is the Track forward and Track backward buttons as marked by arrow icons with the letter T. Go ahead and select the Track Forward button and allow Mocha to track the object we just created.

Screen Shot 2015-08-31 at 4.27.01 PM

Once the tracking has finished, in the LAYERS PANEL rename Layer 1 to Main TRACKER as this will help identify what you are linking to.

Screen Shot 2015-08-31 at 6.30.32 PM

LINKING TRACKS

Now that you have your main tracker, you can create new layers using the X spline tool again and link them to this main tracker to use the same set of tracked data. In this example of the car driving down the street, I am creating new layers around the license plate, Cooper title, and emblem that are all the on the rear of the vehicle and look to follow the same path as the main track layer I have created.

Screen Shot 2015-08-31 at 6.34.11 PM

In order to link these new layers to the main tracker, navigate back to the layers panel, select the layer you want linked to the main tracker, and then about halfway down the window on the left you will see a option for LINK TO TRACK. Open that drop down menu and select Main Tracker to create that link.

Screen Shot 2015-08-31 at 6.35.52 PM

Screen Shot 2015-08-31 at 6.35.59 PM

Now these new layers you have created and linked to the main tracker follow along the same path! Congratulations!

EXPORTING LINKED TRACKS AND EXAMPLE USES IN AFTER EFFECTS

To get this tracked data out of Mocha and into After Effects where we can continue our compositing needs, simply go to EXPORT SHAPE DATA located in the lower right of the program window, a new window will open, and then choose ALL VISIBLE LAYERS and COPY TO CLIPBOARD.

Screen Shot 2015-08-31 at 6.44.32 PM

Back in After Effects, create a new Adjustment Layer and then go to EDIT > PASTE MOCHA MASKS. This will apply the shape data to the adjustment layer and create its own set of masks using the main tracker tracking data. At this point, you can composite as needed. In this example, I added a BOX BLUR to the layer, increased and feathered as needed, and now I have a tracked censor on the car.

Screen Shot 2015-08-31 at 6.48.02 PM

Another thing I can do is create a new solid and paste the Mocha Mask to the solid. This technique can always be used with JPEGs or other images if you wanted to track a new image onto the car or license plate.

Screen Shot 2015-08-31 at 6.50.51 PM

Royalty_Free_Music_Orange_468_60_Yellow_Dress_zps3d728d61