S_BeautyApplies smoothing, color correction, soft focus, and glow to skin regions. Skin regions are determined in one of four ways depending on the value of Enable Skin Detection and whether a second input is provided:
In the Sapphire Blur+Sharpen category.
Inputs:
|
|
Parameters:
-
Load Preset:
Push-button
.
Brings up the Preset Browser to browse all available presets for this effect.
-
Save Preset:
Push-button
.
Brings up the Preset Save dialog to save a preset for this effect.
-
Mocha:
Default:
0,
Range:
0 or greater.
Brings up the Mocha window for tracking footage and generating masks.
-
Blur Mocha:
Default:
0,
Range:
any.
Blurs the Mocha Mask by this amount before using. This can be used to soften the edges or quantization artifacts of the mask, and smooth out the time displacements.
-
Mocha Opacity:
Default:
1,
Range:
0 to 1.
Controls the strength of the Mocha mask. Lower values reduce the intensity of the effect.
-
Invert Mocha:
Check-box, Default:
off.
If enabled, the black and white of the Mocha Mask are inverted before applying the effect.
-
Resize Mocha:
Default:
1,
Range:
0 to 2.
Scales the Mocha Mask. 1.0 is the original size.
-
Resize Rel X:
Default:
1,
Range:
0 to 2.
The relative horizontal size of the Mocha Mask.
-
Resize Rel Y:
Default:
1,
Range:
0 to 2.
The relative vertical size of the Mocha Mask.
-
Shift Mocha:
X & Y, Default:
screen center.
Offsets the position of the Mocha Mask.
-
Bypass Mocha:
Check-box, Default:
off.
Ignore the Mocha Mask and apply the effect to the entire source clip.
-
Show Mocha Only:
Check-box, Default:
off.
Bypass the effect and show the Mocha Mask itself.
-
Combine Masks:
Popup menu, Default: Union
.
Determines how to combine the Mocha Mask and Input Mask when both are supplied to the effect.
-
Union:
Uses the area covered by both masks together.
- Intersect: Uses the area that overlaps between the two masks.
- Mocha Only: Ignore the Input Mask and only use the Mocha Mask.
- Intersect: Uses the area that overlaps between the two masks.
-
Union:
Uses the area covered by both masks together.
-
Enable Skin Detection:
Check-box, Default:
on.
Generate internal mask of skin regions based on Skin Color, Luma and Chroma Range, etc. When disabled, effect applies uniformly to masked input (see description above for full details).
-
Skin Color:
Default rgb:
[0.749 0.498 0.345].
Representative skin color to use during detection. This parameter can be adjusted using the Skin Color Widget.
-
Luma Range:
Default:
0.4,
Range:
0 or greater.
Difference in luma from Skin Color to consider skin.
-
Chroma Range:
Default:
0.2,
Range:
0 or greater.
Difference in chroma from Skin Color to consider skin. This parameter can be adjusted using the Chroma Range Widget.
-
Rel Orange:
Default:
1,
Range:
0 to 1.
Relative amount of orange in Chroma Range. The orange axis is along the human skin tone line common to all the human races, and is also known as the I-line in vectorscope terminology. Reducing this parameter can help eliminate blond or red hair (and similar highlights in other hair colors), some red/orange/yellow sports uniforms, warm backgrounds, etc. from the skin mask.
-
Rel Purple:
Default:
0.3,
Range:
0 to 1.
Relative amount of purple in Chroma Range. The purple axis is perpendicular to the orange axis, and is thus most un-skin-like. In most cases this parameter can be made smaller to eliminate lips, eyes, clothing, and jewelry from the skin mask. Increase this parameter to add purple and green shades to the skin detect mask, for example eye shadow, bad lighting, or alien skin tones (i.e. non-human).
-
Range Softness:
Default:
0.25,
Range:
0 to 1.
Controls the softness of the skin detection mask. A value of one means only pixels that exactly match Skin Color will produce a mask value of one with each other pixel's mask value being proportional to its distance from Skin Color. A value of zero means a hard mask where all pixels within the luma/chroma range of the Skin Color will produce a mask value of one.
-
Clip White:
Default:
1,
Range:
0 to 1.
Skin detection mask values greater than this value will be set to one.
-
Clip Black:
Default:
0,
Range:
0 to 1.
Skin detection mask values less than this value will be set to zero.
-
Post Blur:
Default:
0,
Range:
any.
Blur the skin detection mask by this amount.
-
Show:
Popup menu, Default: Final
.
Selects the type of output.
-
Final:
Show the final output.
- Skin Detect Mask: Show the mask generated by the internal skin detector.
- With Mask Input: Show the combined result of the input mask and the internal skin detector mask.
- Skin: Show result of applying skin detection mask to source.
- Skin with Mask Input: Show the result of applying the combined input mask and the internal skin detector mask to the Source.
- Skin Detect Mask: Show the mask generated by the internal skin detector.
-
Final:
Show the final output.
-
Show Color Helper:
Check-box, Default:
off.
Display an interactive overlay to help set Skin Color, Chroma Range, Rel Orange, and Rel Purple. The overlay shows all possible colors that match the brightness (luma) of the Skin Color parameter. Orange is in the upper left corner, and purple is in the upper right (this orientation is similar to a traditional broadcast vectorscope). Colors matching the skin detection algorithm are highlighted. Changing Skin Color will move the highlighted region, adjusting Chroma Range changes the size of the highlighted region, and adjusting Rel Orange/Purple stretches the region along the diagonals of the square.
-
Mask Use:
Popup menu, Default: Luma
.
Determines how the Mask input channels are used to make a monochrome mask.
-
Luma:
the luminance of the RGB channels is used.
- Alpha: only the Alpha channel is used, or if there is no valid Alpha channel the Red channel is used.
- Alpha: only the Alpha channel is used, or if there is no valid Alpha channel the Red channel is used.
-
Luma:
the luminance of the RGB channels is used.
-
Blur Mask:
Default:
0,
Range:
any.
Blurs the Mask input by this amount before using. This can provide a smoother transition between the masked and unmasked areas. It has no effect unless the Mask input is provided.
-
Invert Mask:
Check-box, Default:
off.
If on, inverts the mask input so the effect is applied to areas where the Mask is black instead of white. This has no effect unless the Mask input is provided.
-
Suppress BG:
Check-box, Default:
off.
Only apply Beauty to the region specified by Face Center and related params.
-
Face Center:
X & Y, Default:
screen center.
Center position of face region when Suppress BG is enabled. This parameter can be adjusted using the Face Center Widget.
-
Face Softness:
Default:
0.1,
Range:
0 or greater.
Makes the face region softer when Suppress BG is enabled. This will provide a smoother transition from the face region to the background, but also possibly reduce the strength of Beauty in the face region.
-
Face Radius:
Default:
0.4,
Range:
0 or greater.
Size of face region when Suppress BG is enabled. This parameter can be adjusted using the Face Radius Widget.
-
Face Rel Height:
Default:
1.33,
Range:
0.05 or greater.
Relative height of face region when Suppress BG is enabled.
-
Face Rotate:
Default:
0,
Range:
any.
Rotation of face region when Suppress BG is enabled. This parameter can be adjusted using the Face Rotate Widget.
-
Show Face Widget:
Check-box, Default:
off.
Display an interactive overlay to assist in placing and sizing the face region.
-
Pore Size:
Default:
0.01,
Range:
any.
Features smaller than this size (pores, etc.) will be preserved even when blurring.
-
Blur Amount:
Default:
0.02,
Range:
any.
Scales the width of the blur.
-
Edge Threshold:
Default:
0.1,
Range:
0 or greater.
Color regions separate by an edge larger than this value will not blur into each other.
-
Soften Shadows:
Default:
0.2,
Range:
-1 to 1.
Postive values reduce the appearance of shadows, while negative values make shadows more pronounced. Reducing shadows can make the subject look younger, while darkening shadows will make them look older.
-
Shadow Thresh:
Default:
0.6,
Range:
0 to 1.
Dark regions less than this value will be enhanced/reduced by Soften Shadows.
-
Reduce Shine:
Default:
0,
Range:
0 to 1.
Darken bright, shiny areas. The darkening process can lead to a lack of color, use Shine Saturation to bring back a natural skin tone in the affected region.
-
Shine Saturation:
Default:
1,
Range:
0 or greater.
Scales the color saturation in bright regions. Useful for adding a natural skin tone to shiny areas that required darkening.
-
Shine Thresh:
Default:
0.9,
Range:
0 to 1.
Regions brighter than this value will be affected by Reduce Shine.
-
Hue Shift:
Default:
0,
Range:
any.
Shifts the hue of the source colors, in revolutions from red to green to blue to red.
-
Saturation:
Default:
1.2,
Range:
-2 to 8.
Scales the color saturation of the result. Increase for more intense colors. Set to 0 for monochrome. You can also invert the chroma of the result by making this negative.
-
Brightness:
Default:
1,
Range:
0 or greater.
Scales the brightness of the result.
-
Tint:
Default rgb:
[1 1 1].
Scales the result by this color, thus tinting the lighter regions.
-
Soft Focus:
Default:
0,
Range:
any.
Scales the width of the soft focus blur.
-
Glow Brightness:
Default:
0.1,
Range:
0 or greater.
Scales the brightness of the skin glow.
-
Glow Color:
Default rgb:
[1 1 1].
Scales the color the skin glow.
-
Glow Threshold:
Default:
0.2,
Range:
0 or greater.
Glows are generated from locations in the skin regions that are brighter than this value. A value of 0.9 causes glows at only the brightest spots. A value of 0 causes glows for every non-black area.
-
Glow Width:
Default:
0.1,
Range:
any.
Scales the skin glow distance.
-
Mix With Source:
Default:
0,
Range:
0 to 1.
Interpolates between the blurred result (0) and the original source (1). 0.1 can give a nice misty effect since it mixes only a little of the source in.
See Also:
-
EdgeAwareBlur
HueSatBright
SoftFocus
Glow
RackDefocus
DefocusPrism
EdgeBlur
BandPass
BlurMotion
Sapphire Plug-ins Introduction