BCC+ Primatte Studio

BCC

Browse Continuum Effects List

BCC+ Primatte Studio

BCC Key and Blend

Browse Continuum Effects List

Primatte is a chromakeying technology used to extract single-color backgrounds from images or clips, creating a transparency matte to place the foreground on new backgrounds. The core technology behind this filter is the Academy Award (nominated) Primatte keying algorithm, which was developed by Photron and is licensed by BorisFX.

Surrounding this core algorithm are many features that have been developed by various engineering groups at BorisFX, including the Academy Award (winning) Mocha masking and planar tracking solution for foreground cleanup and background garbage masking and an AI powered ML trained denoiser with options for reducing compression and camera sensor noise for a cleaner key.

Also included in BCC+ Primatte Studio filter are an array of compositing building blocks to further the creation of a photorealistic composite. Primary and secondary spill control, matte adjustment tools, a 3D layer transformation group, color link background matching, independent color adjustments both globally to the foreground and separately along the edge of the isolated foreground element, light wrap for both edge and spill regions, and a hybrid key option.

Although all of the controls for generating key composites are available from within the host control panel, Primatte Studio also includes a custom FX Editor user interface, with a dual viewpanel and an interactive toolbar, where all of the keying tools are clearly labelled and placed within easy reach. We recommend using the FX Editor custom GUI when generating keys with BCC+ Primatte Studio.

We believe this combined solution of multiple technologies will provide you with every tool that you need to generate compelling composites from independent foreground and background objects.


Quick Start Guide

Begin by setting the background composite layer as appropriate for your host.

Launch the FX Editor (note that the same steps apply when working directly with host-side parameters)

Step 1 โ€“ Analyze the Image Clip

Step 2 โ€“ Clean-up the Background

Step 3 โ€“ Clean-up the Foreground

Step 4 โ€“ Spill Suppression

Step 5 โ€“ Refine the Matte

Step 6 โ€“ Composite the Result

Close the FX Editor and return to the host UI

For in-depth details on each of these steps, please scroll to the bottom of this document.


Presets and the FX Editor

The FX Editor provides a convenient way to store and retrieve factory installed and/or user generated filter presets. To select a preset, open the FX Editor interface and pick one from the Presets panel. Click the apply button in the FX Editor to return to the host user interface.

To save a custom preset, click the โ€œCreate Custom Presetโ€ icon in the top right corner of the parameter list, next to the filter name, set a name for the new custom preset in the dialog that appears and click done.

Compare Mode

The Compare Mode option offers a split screen view with the original on one side and the modified image on the other side.ย 

For more information on the Compare Mode, Click Here.

Filter Parameters


Keying Functions

Auto Analyze button: Primatte Studio is a 3D keyer and pressing the Auto-Analyze button instructs the filter to build a 3D color model based on the colors in the source clip. The resulting polyhedrons are then manipulated (expanded, contracted, pinched etc) to generate the desired matte result.ย  The Auto-Analyze button is almost always the best way to start your key.ย  There are two manual sampling options available for rare instances when the Auto-Analyze approach does not give the expected result โ€“ Manual Sample BG and Manual Sample BG Basic.ย  The only common scenario where the manual sampling approach is recommended is when keying out non-typical colors (i.e. colors other than blue or green). ย  Clicking Auto Analyze will reset any previous key properties.

Sampling Shape: Use this to select between the two available image sampling shapes, Point and Rectangle.

Point: In this mode, as the cursor is dragged over the image, a visible dotted snake trail is generated. The pixels under this snake trail are sampled when adjusting the key properties.

Rectangle In this mode, as the cursor is dragged over the image, a marquee shape is generated. The pixels that are contained within the shape are sampled when adjusting the key properties.

Sampling Mode: Use this pop-up to select the desired sampling operation when doing your sampling in the native host UI, but note that we recommend configuring your key inside the FX Editor / Refine Key custom view instead. Use the main Primatte toolbar buttons to change sampling modes when using the custom keying UI.

Manual Sample BG: Use this to manually define the initial key shape with advanced analysis to help automatically adjust for detected foreground colors elsewhere in the image. It is generally recommended to use Auto Analyze instead, but the manual sampling may be useful in non-standard situations such as keying out colors other than blue or green.ย  Every time a Manual Sampling click is made, the key properties are fully reset based upon the new sample color so this is not an additive process, but is just intended to set the base key properties which would then be refined by switching to other sampling modes.

Manual Sample BG Basic: A completely manual version of the initial core key sampling, similar to the Manual Sample BG described above but without any advanced analysis made to refine the initial key based on colors elsewhere in the image.

Clean BG Noise: Use this to clean-up any semi transparent pixels in the background.

Clean FG Noise: Use this to clean-up any semi transparent pixels in the foreground.

Matte Sponge: Use this to add selected colors to the matte.

Spill Sponge: Use this to add colors to the spill corrector.

Make FG Transparent: Use this to bring transparency back into selected foreground colors.

Restore Detail: Use this to restore fine detail in selected foreground colors that may be lost in the key.

Spill Plus: Fine tuning control to allow more spill in the selected foreground colors.

Spill Minus: Fine tuning control to remove more spill from the selected foreground colors.

Matte Plus: Fine tuning control to increase the density of the selected matte colors.

Matte Minus: Fine tuning control to reduce the opacity of the selected matte colors.

Detail Plus: Fine tuning control to restore lost detail in the selected matte colors.

Detail Minus: Fine tuning control to remove fine details from the selected matte colors.


Adjust Light Group

Helps compensate for very unevenly lit screen colors.ย  If you have are having difficulty adapting to a widely varying screen color just by using the normal Clean BG sample mode, enabling the Adjust Light option can help smooth out the unevenly lit screen. However, it is frequently preferable in such situations to use the Garbage Matte section with a dilated Mocha mask to eliminate all but the immediately adjacent background regions.

Enable (checkbox): Use to enable the adjust light option.ย 

Strength:ย  Controls the strength of the Adjust Light processing.


Spill group

The Spill parameters control the type and strength of the spill correction applied to the regions identified as spill regions during the initial sampling stages.

Spill Replace Mode: Menu containing the following four options for spill control:

  • Complement โ€“ Each color identified as spill is nudged toward its natural complement depending on the strength of the spill for that color.
  • Solid Color โ€“ Each color identified as spill is nudged toward a uniform solid color depending on the strength of the spill for that color.
  • Softened Background โ€“ Each color identified as spill is nudged toward a color taken from a softened version of the background image at the same location depending on the strength of the spill for that color.ย  Requires the Background layer to be selected (at the bottom of the effect).
  • None - Disables the spill replace mode.

Replace Color:ย  Defines the solid color towards which spill regions are pushed when the Spill Replace Mode is Solid Color.

Amount: Defines the overall strength of the spill correction.ย  This can be set to 0.0 to completely disable the spill correction (i.e. returning the original RGB channels) while still preserving the new alpha channel from the key.


Secondary Spill group

The parameters in this group enable you to suppress spill completely from the spill region in the filtered source.

Enable (checkbox): Completely enables/disables the secondary spill corrector.

Screen Type (pop-up): The menu is used to select the color channel for spill suppression

  • Green: suppresses the green channel in spill regions.
  • Blue: suppresses the blue channel in spill regions.
  • Red: suppresses the red channel in spill regions.
  • Auto: automatically selected the color to suppress in the spill regions.

Bias: Pushes the spill replacement color toward red (low values) or yellow (high values). A mid setting of 50 is neutral and is the default for this parameter.

Bias Fixed Channel:ย 

Amount: Defines the overall strength of the spill correction.ย  This can be set to 0.0 to completely disable the spill correction (i.e. returning the original RGB channels) while still preserving the new alpha channel from the key.


Matte Adjust group

The Matte Adjust group controls various post processing operations applied to fine tune the details of the matte.

Enable (checkbox): Completely enables or disables all operations in the Matte Refinement group.

Black Clip: Acts as a levels control, and pushes pixels that are close to solid black to be completely solid.

White Clip: Acts as a levels control, and pushes pixels that are close to solid white to be completely solid.

Shrink+Grow: Use to globally expand or contract the matte

Blur: Use as a universal blur for the matte

Wrap: Feathers the matte along the inside edges, folding the matte back in on itself.


Edge Cleaner group

Edge Cleaner gives users spatial and temporal control over keyed edges. Easily tackle compressed green screen footage that displays jittering edges around areas with fine detail such as hair.

Cleaning Radius: Adjusts the area of included pixels to be cleaned.

Temporal Smoothing: Used to enable the smoothing of the filter result over time.

Alpha Contrast: Adjusts the contrast between the alpha and non-alpha pixels for sharper resolution.

Strength: Adjusts the intensity of the edge cleaning.

Edge Sensitivity: adjust to discriminate between edge pixels and the overall image. Higher values will increase the sensitivity of edge pixel selection.


Holdout Matte group

The Holdout Matte controls enable hold back mattes to restore regions that are unintentionally being keyed out such as shiny areas of extreme spill or foreground clothing that too closely matches the screen color.ย  It can also bring back edge regions that are inadvertently being fully or partially keyed when other techniques such as Hybrid mode are not working.

Source (pop-up) : Menu to select the source for the holdout mattes

  • Off: Completely disable any inside masking.
  • Crop: Enable a simple rectangular cropping.
  • Mocha Mask: Enable Mocha planar tracking mattes.
  • Host Mask: (AE Only) Enable AE host masks.

Launch Mocha (button): Launch the mocha planar tracking tool.ย  See mocha help links inside the mocha UI for more details on using mocha.

Crop Top-Left x/y:ย  Set the coordinates up the upper-left crop boundary

Crop Bottom-Right x/y:ย  Set the coordinates up the bottom-right crop boundary

Feather Mask:ย  Use to soften or feather the edges of the mask shape

Invert Mask: Use to invert the mask when enabled

Mask Apply:ย  Controls whether the inside mask affects just the opacity or both the opacity and spill.ย  When masking a region that is completely in the foreground you would want the masking to remove any changes to both opacity and to spill to restore the original RGB values.ย  However in regions near edges that naturally have some spill but which need opacity restored, this control lets you preserve opacity while preserving the spill correction to avoid any color discontinuities with neighboring pixels.

  • Opacity Only
  • Opacity and Spill

Use AE Host Mask: (AE Only and set from within the AE control panel) provides options for using Adobe After Effects native host mask shapes:

Use All: uses all combined host mask shapes

Choose Single: allows the user to select a single AE native mask shape.ย  When this option is selected, the Select Host Mask pop-up becomes active and displays a list of the current AE native host mask shapes that are present on that layer. Select a single mask shape from the list to use it.

Choose By Name: allows the user to select mask shapes based on their naming convention. When this option is selected, the Name Starts With pop-up becomes active and displays a list from which the user can select.

Select Host Mask:ย  (AE Only)ย  Select a single mask from the list of AE masks on the current layer.

Name Starts With: (AE Only) Select ways in which multiple AE masks on the current layer may be selected.

Anything: selects all masks regardless of the name

Letters A through I: only masks beginning with the chosen letter are selected

Mask: all masks shapes that are named Mask are selected

Host Mask Offset: use to reposition the host mask shape along the x/y axis


Garbage Matte group

The Garbage Matte controls enable garbage mattes to remove areas that cannot normally be keyed out since their colors are too far from the main screen color such as boom mics, screen markers, or screen edges. For poorly lit screens with highly uneven color, it can also be useful to use a Mocha mask with dilation to eliminate all but the immediately adjacent background colors.

  • Source: Menu to select the source for the garbage mattes
  • Off: Completely disable any outside masking.
  • Crop: Enable a simple rectangular cropping.
  • Mocha Mask: Enable Mocha planar tracking mattes.
  • Host Mask: (AE Only and set from within the AE control panel) Enables AE host masks.

Launch Mocha (button): Launch the mocha planar tracking tool.ย  See mocha help links inside the mocha UI for more details on using mocha.

Crop Top-Left x/y:ย  Set the coordinates up the upper-left crop boundary

Crop Bottom-Right x/y:ย  Set the coordinates up the bottom-right crop boundary

Feather Mask:ย  Use to soften or feather the edges of the mask shape

Invert Mask: Use to invert the mask when enabled

Use AE Host Mask: (AE Only and set from within the AE control panel) provides options for using Adobe After Effects native host mask shapes:

Use All: uses all combined host mask shapes

Choose Single: allows the user to select a single AE native mask shape.ย  When this option is selected, the Select Host Mask pop-up becomes active and displays a list of the current AE native host mask shapes that are present on that layer. Select a single mask shape from the list to use it.

Choose By Name: allows the user to select mask shapes based on their naming convention. When this option is selected, the Name Starts With pop-up becomes active and displays a list from which the user can select.

Select Host Mask:ย  (AE Only)ย  Select a single mask from the list of AE masks on the current layer.

Name Starts With: (AE Only) Select ways in which multiple AE masks on the current layer may be selected.

Anything: selects all masks regardless of the name

Letters A through I: only masks beginning with the chosen letter are selected

Mask: all masks shapes that are named Mask are selected

Host Mask Offset: use to reposition the host mask shape along the x/y axis


Transform group

The Transform group contains a set of controls that can be used to position and scale the foreground image clip in 3D space over the background image.

Position X: Use to reposition along the horizontal plane.

Position Y: Use to reposition along the vertical plane.

Position Z: Use to reposition along the Z plane (toward or backward from the camera).

Scale: Scales horizontally and vertically by the same amount.

Scale X: Scales only along the horizontal plane.

Scale Y: Scales only along the vertical plane.

Tumble: Rotates the clip along the center of the vertical axis.

Spin: Rotates the clip along the center of the horizontal axis.

Rotate: Rotates the clip along the center of the Z axis.

Shear X: Skews left and right.

Shear Y: Skews up and down.


Color Link group

The Color Link group is used to blend color from the background plate over the foreground image clip. The effect includes several different user selectable ways to average the sampled color values from the background source and includes an array of more than 20 different apply modes, which can be used to blend the sampled color with the color of the filtered clip. Color values can be sampled either from the entire frame or from a user defined point within the frame with an adjustable radius around the selected point.ย 

Enable (checkbox):ย  Completely enables/disables the color link effect.

Sample Method (pop-up): Used to select the color channel used in the effect.

  • Average: the mean of each color channel in a region.
  • Median: the median approximation of each color channel in a region.
  • Brightest: the highest luminance value in a region.
  • Darkest: the lowest luminance value in a region.
  • Max rgb: the highest value of each color channel in a region.
  • Min rgb: the lowest value of each color channel in a region.
  • Diffuse color: a blurred overlay of the full source frame.

Sample Region: Used to select the region in the sample layer that is used for the color link.

  • Full Frame: Selects the color or luminance values across the full frame of the sample image.
  • Point Radius: Selects the color or luminance values based on a user defined region.
  • Center X/Y: Only available when Point Radius is selected. Used to select the X/Y position of the sample area.

Radius: Only available when Point Radius is selected. Used to determine the radius of the sample area. Higher values will result in a larger sample area.

Blur: Used to blur the source layer. Only available when the sample method is set to Diffuse Color.

Opacity: Used to adjust the overall opacity of the color link effect. Higher values will result in a more opaque effect, utilizing the full range of the sample layer pixels. Lower values will result in a more transparent effect.

Blend Mode (pop-up): Used to blend the filtered output to the source image. Blend Modes control the blending of the two images, giving the effects many additional creative possibilities.


Color Correction group

The Color Correction group providesย  a range of foreground color correction tools for aid in matching foreground and background colors to create a more convincing final composite.ย  A separate set of correction tools for just the foreground edge is found in the Edge Color Correction group.

Enable (checkbox):ย  Completely enables/disables all foreground edge color correction.

Hue: Used to control the overall hue of the foreground.

Saturation: Used to control the overall saturation of the foreground.

Brightness: Used to control the overall brightness of the foreground.

Contrast: Used to control the overall contrast of the foreground.

Gamma: Used to control the overall gamma of the foreground.

Temperature: Control the overall temperature of the foreground.ย  Moving the Temperature slider to the left (negative values) will yield a cooler result, while moving the slider to the right will warm up the foreground.

Cyan/Magenta: Adds either Cyan or Magenta to the foreground. Dragging the slider to the right makes the foreground more magenta and dragging the slider to the left makes the foreground more cyan.

Red Gain: Adds or subtracts red from the foreground.

Green Gain: Adds or subtracts green from the foreground.

Blue Gain: Adds or subtracts blue from the foreground.


Light Wrap group

The BCC Light Wrap reflects a background image around the edges of a foreground image to form a border.ย  This creates the illusion that light from the background image is reflected onto the foreground image which in turn creates a more convincing composite by making it appear as if the images were shot in the same environment.ย  To use the Light Wrap feature you must set the Background layer control at the bottom of the effect.

Magix Vegas Pro host workflow tip:ย  To use the Light Wrap feature in Vegas Pro you must apply the filter in Custom Composite Mode.ย  For more information on working with Custom Composite Modes in Vegas, Click Here.

Vegas Custom CompositeUsing Custom Composites in Vegas Pro

Enable (checkbox):ย  Enable/Disable the Light Wrap.

Source (pop-up): This menu offers a choice of using the background plate or a solid color for the wrap

  • Background Input
  • Color

Softness:ย  Softens the edges of the border image that is reflected or wrapped.

Color: Color picker used to set the solid color for the wrap when color is selected in the Source pop-up

Lightness: Sets the lightness value of the reflected/wrapped image. Negative values make the reflection darker and positive values make the reflection lighter.

Width: Controls the width of the reflection or wrap that is generated. Higher numbers result in a larger border. The following examples show the View menu set to Wrap On Black.

Blend (pop-up): Determines the method that is used to composite the border. For descriptions of all the possible Apply Modes, Click Here.

Mix with Original: Blends the original and modified results. Use this parameter to control the effective amount of the light wrap adjustment.


Light Wrap Spill group

The BCC Light Wrap Spill reflects a background image over the spill regions of a foreground image.ย  This creates the illusion that light from the background image is reflected onto the foreground image which in turn creates a more convincing composite by making it appear as if the images were shot in the same environment.ย  To use the Light Wrap Spill feature you must set the Background layer control at the bottom of the effect.

Enable (checkbox):ย  Enable/Disable the Light Wrap.

Source (pop-up): This menu offers a choice of using the background plate or a solid color for the wrap

  • Background Input
  • Color

Softness:ย  Softens the edges of the border image that is reflected or wrapped.

Color: Color picker used to set the solid color for the wrap when color is selected in the Source pop-up

Lightness: Sets the lightness value of the reflected/wrapped image. Negative values make the reflection darker and positive values make the reflection lighter.

Width: Controls the width of the reflection or wrap that is generated. Higher numbers result in a larger border. The following examples show the View menu set to Wrap On Black.

Blend (pop-up): Determines the method that is used to composite the border. For descriptions of all the possible Apply Modes, Click Here.

Mix with Original: Blends the original and modified results. Use this parameter to control the effective amount of the light wrap adjustment.


Edge Color Correction group

The Edge Color Correction group providesย  a range of color correction tools applied only to the very edge pixels of the foreground for aid in matching foreground and background colors to create a more convincing final composite.ย  A separate set of correction tools for the overall foreground is found in the Color Correction group.

Enable (checkbox):ย  Completely enables/disables all foreground edge color correction.

Width: Control how wide a region along the matte edge is affected by the edge color correction.

Hue: Used to control the overall hue of the edge.

Saturation: Used to control the overall saturation of the edge.

Brightness: Used to control the overall brightness of the edge.

Contrast: Used to control the overall contrast of the edge.

Gamma: Used to control the overall gamma of the edge.

Temperature: Control the overall temperature of the edge.ย  Moving the Temperature slider to the left (negative values) will yield a cooler result, while moving the slider to the right will warm up the edge.

Cyan/Magenta: Adds either Cyan or Magenta to the edge. Dragging the slider to the right makes the edge more magenta and dragging the slider to the left makes the edge more cyan.

Red Gain: Adds or subtracts red from the edge.

Green Gain: Adds or subtracts green from the edge.

Blue Gain: Adds or subtracts blue from the edge.


Advanced group

The Advanced group controls specialized controls which are generally only needed in special cases where the basic keying controls are insufficient.

Hybrid Enable (checkbox):ย  Enables the special Hybrid keying mode which effectively performs two separate keys and then combines the results to enable preserving good edge quality while still avoiding holes in similarly colored foreground regions.ย  See the Workflow Guide,**Step 3 (Clean-up the Foreground) above for more details on usage.

Hybrid Blur:ย  Controls the size of the blur used prior to the erosion of the secondary key when using the Hybrid keying approach.ย  Larger blur amounts allow larger erosion which prevents the foreground cleanup from damaging the edge quality, but which then limits the hybrid modeโ€™s ability to protect foreground regions that are near the edge.

Hybrid Erode:ย  Controls the depth of the edge erosion (shrinking) of the secondary key when using the Hybrid keying approach.ย  Larger erosion amounts allow more shrinking which prevents the foreground cleanup on the secondary key from damaging the edge quality, but which then limits the hybrid modes ability to protect foreground regions that are near the edge.

BG Color โ€“ KF Only:ย  This parameter can be keyframed to adjust the โ€œcenterโ€ key color in cases where the screen color/lighting changes significantly over time.ย  The overall shape of the 3D key sampling is preserved, but this shape is repositioned in color space to account for the changing central key color.


Background:ย  Specify the background layer that will be used for the final composite.ย  This must be set when either the Spill Replace Mode is set to Softenened BG or when the Light Wrap group is enabled.



Detailed steps for using Primatte Studio to generate a key

Step 1 โ€“ Analyze the Image Clip

After applying the BCC+ Primatte Studio filter to a source clip, the first step should always be to click the Auto-Analyze button so that Primatte can auto-compute the best starting point for the key. Once the initial target for the key has been set, we are free to modify and refine the result. You can find the Auto Analyze button both in the filterโ€™s control panel or at the top of the Primatte Studio FX Editor.

Generally speaking, Primatte will produce a very good starting point using auto-analysis.ย  The auto-analysis mode uses advanced image analysis tools to identify blue/green background colors, estimate foreground color properties, and then generate an initial key which is ready for fine tuning as necessary.ย  The auto-analysis tool should be thought of as a way to quickly dial in the key, but it does not in any way limit the tweakability or quality of the final key.ย  It is not a โ€œdumbed downโ€ approach, but rather the recommended starting point for even the most sophisticated users.ย  Think of it as a short cut to jump start the sampling process that would otherwise need to be done from scratch.ย  In rare situations where the Auto-Analysis does not provide a good starting point, such as when keying colors other than blue or green, you can bypass auto-analysis and manually sample the background by setting the Sampling Mode to Manual Sample BG or Manual Sample BG Basic and then clicking and dragging over the background region of the image in the viewer. Sampling the background is a process that needs only to be done once โ€“ sampling multiple areas will not produce an additive result.ย  Each time you Auto-Analyze or use the Manual Sample BG or Manual Sample BG Basic modes it resets the โ€œcenterโ€ key properties.

Adjust Light

If the background of the clip that you are working with has a lot of variance in the lighting, you can enable the Adjust Light option. This feature attempts to even out the lighting of the background, which often helps when struggling to key out uneven background lighting. However, a great alternative in such situations is to use the Garbage Matte section with a dilated Mocha mask to eliminate all but the immediately adjacent background regions.

Denoise

Another helpful feature in Primatte Studio for refining the background selection is the AI / ML Denoise tool. Should you find that youโ€™re working with a source clip that has a lot of grain, compression or camera sensor artifacts that are being picked up by the keyer, this can be reduced by enabling the Denoise feature and selecting the appropriate model from the pop-up list.

FX Editor Split Viewer / Compare Mode

If working in the FX Editor GUI, the next step is toย 

The Compare mode, which is located at the top of the filters control panel has an independent split-view option, which in this case will enable us to view the final matte we are generating on one side of the viewer while also seeing the matte status on the other side. This will help while we fine tune the result as the matte status will display very clearly where unwanted semi-transparent pixels exist in both the foreground and background.

Step 2 โ€“ Clean-up the Background

After using Auto-Analyze, the filter will automatically switch the Primatte sampling mode to Clean BG Noise. In the Matte Status view, click and drag over any grey pixels in the background to make them fully transparent. Sometimes itโ€™s easier to use the rectangle / marquee select mode for this clean-up work and you can select this option by choosing it from the Sampling Shape menu or directly from the toolbar. Continue to click and drag over any grey pixels in the background until it is solid black or as close to black as possible without eroding the foreground key. Remember, we can always use the Matte Cleanup controls to further remove transparency from the background and / or the integrated mocha background masking tool to generate animated garbage masks to remove unwanted background elements such as props, boom mics etc.

Step 3 โ€“ Clean-up the Foreground

After you clean-up the background the next step is to clean the foreground. To do this, select Clean FG Noise, either from the filter control panel or from the toolbar and again, click and drag over any grey pixels in the foreground until they are solid white in the Final Matte or Matte Status preview modes.

Sometimes images will contain foreground colors that are very close to colors along the matte boundary.ย  For example shiny objects in the foreground (such as earrings) or foreground clothing elements might match a edge colors so closely that it is difficult to clean these foreground regions without damaging the smoothness of the matte edge.ย  There are two main solutions to this problem:

Use integrated mocha masking in the Holdout Matte group (or optionally host masks in AE) to generate an animated โ€œInside Maskโ€ which will allow the foreground element to remain fully opaque โ€“ either with or without spill correction.

Enable the Hybrid keying mode to allow the creation of two separate mattes which are merged to create a final matte. ย  One matte will maintain smooth, high quality edges while the other matte will ensure that interior foreground regions are fully preserved.ย  When using the Hybid approach, first dial in a high quality edge matte by sampling the foreground and background as usual in steps 1-3, but without worrying about preserving the problematic foreground regions.ย  The goal in this first phase is to get the edges right.ย  Once satisfied with the edges, you then proceed to phase 2 by turning on the Hybrid Enable option in the Advanced parameter group.ย  Now use the Foreground Cleanup tools to fully restore the problematic foreground regions which effectively creates a second matte which is focused on the foreground completeness rather than the edge quality.ย  Lastly you can tweak the blending the two hybrid mattes by adjusting the Hybrid Blur and Hybrid Erode parameters as necessary.

Step 4 โ€“ Spill Suppression

By this stage, you should have a very good key so we no longer need to view the Matte Status and this view can be switched to Final Composite. It helps to keep both the Final Matte and Final Composite views visible in the Compare Mode settings as the next stage is to eliminate as much as possible any background spill that was not handled automatically by the Primatte auto-compute function so for now weโ€™ll leave the Compare Mode enabled.

Start by switching the Sampling mode to Spill Sponge. You may find that itโ€™s easier to attenuate the background spill using the Point Shape instead of the Rectangle Shape. With the Point Shape selected, click and drag in the foreground image where you clearly see that the background key color is spilling over onto the foreground. Usually a few clicks is all that is necessary to remove the spill. Keep in mind that you can use undo to step back through the clicks so if you find have gone too far with spill suppression you can use the usual undo shortcuts (CMD/CTRL + Z) to step back or forward through the changes.ย  [Note to Avid Users โ€“ due to host-side limitations, the keyboard shortcuts for undo/redo do not work after sampling in Avid until you click on another window outside of the preview window, at which time they then work normally.]

Sometimes, after working with the Spill Sponge, you may find that you need a finer level of control to tune the level of spill in the image. To do this use the Spill + (plus) and Spill โ€“ (minus) options, which can be found in the Sampling Mode pop-up of the filters Control Panel and also in the toolbar. With Spill โ€“ (minus) Primatte will increase the amount of spill that is being removed from the image with each successive click. With Spill + (plus) Primatte will decrease the amount of spill that is being removed from the image with each successive click. Please keep in mind that these controls will adjust the spill levels by very fine amounts so you may have to make several clicks on the image to produce a visible change.

Once the spill regions have been isolated using the above sampling techniques, the Spill parameter group offers additional controls for fine tuning the type of spill color correction applied.ย  Depending on the individual shot, it can help to change the Spill Replace mode in this group to either Solid Color or Softened Background. If you choose the Solid Color option, you can define the color that is used via the color chip.ย  If you choose the Background option, you must the background layer in the Background input pop-up, which is located at the bottom of the filter.ย  [Pro Tip โ€“ you can visualize which areas of the image are receiving spill correction by changing the Spill Replace Mode to Solid Color and temporarily setting an extreme replacement color such as bright yellow or magenta.]ย  The overall strength of the spill correction can be adjusted with the Spill Replace Amount control.

Step 5 โ€“ Refining the Matte

After spill suppression is complete, you can fine tune the semi-transparent edge of the foreground to make it either more transparent or more opaque. Use the Matte + (plus) and Matte โ€“ (minus) functions to restore transparency or opacity to the foreground. Just like the aforementioned Spill + / โ€“ controls, this fine-tuning function adjusts the matte by small increments.

Sometimes you may find it necessary to further enhance the matte to remove areas in the background that are beyond the range of the keying algorithm due to severely uneven background lighting, marks on the background screen, extreme spill, noise, or other problems in the shot.

An example of this may be dark marks on the floor of a green / blue screen and in this example the best option is to utilize the controls in the Matte Refinement section. Soften Matte, Shrink (Black Level), and Grow (White Level) can be used in conjunction with each other to help suppress unwanted alpha in background regions, to fill unwanted holes in foreground regions, or to gently soften the matte edges.

Another example of this may be where props or other unwanted items, such as boom mics etc, need to be removed from the scene. This is best handled via the use of garbage masks. Primatte Studio includes independent foreground and background garbage mask tools, including the integrated mocha feature which can be used to generate animated spline shapes that can be tracked automatically using the mocha planar tracker. When using this filter in the After Effects host, you may also use animated or static host native spline mask shapes directly from within the filter.

Step 6 โ€“ Compositing the Result

With the work to generate a solid key complete, the final step in the process is to composite the keyed foreground over a replacement background. Many times, the foreground element will have differences in color and lighting as compared to the background element against which it is being composited. To achieve a more photorealistic composite, the keyed foreground can be color corrected to blend in better with the background.

The Color Correction group in BCC Primate Studio includes a wide array of sophisticated color correction tools, which should provide a wide range of control over the color of the foreground element. Along with the familiar Saturation, Brightness, Contrast and Gamma controls, there are also controls to adjust the Temperature and Tint of the shot. Moving the Temperature slider to the left (negative values) will yield a cooler result, while moving the slider to the right will warm up the shot. Moving the Tint slider to the left (negative values) will add a green tint, while moving the slider to the right will add a magenta tint.

There are independent controls in the Primatte Studio control panel for both global adjustment of the color of the foreground and adjustment of the color along the edges of the foreground. Each of these groups operate independently and offer the same degree of control over the color for global correction and edge correction.

Sometimes, to complete the composite, it can help to blend some of the background image over the edges of the foreground and this can be done from within the filter via the integrated Light Wrap option. Enable Light Wrap, set the background layer in the Background pop-up selector and then tweak the controls in the Light Wrap group to taste. Use the Mix With Original control to blend back the Light Wrap with the foreground โ€“ a setting of 50 is often a good place to start. The Apply Mode pop-up can be used to further enhance the composite โ€“ the default blending mode is Lighten but sometimes it may help to select one of the other modes, such as Add, Screen, Overlay or Soft Light.



Please select your language

The website is currently localized into the following languages