Sapphire Plug-ins for AVX2: Beauty

S_Beauty

Applies 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:
  1. Enable Skin Detection OFF , no second input: effect applies to the entire image.
  2. Enable Skin Detection ON , no second input: an internal mask is generated using the specified Skin Color, Luma and Chroma Range parameters.
  3. Enable Skin Detection OFF , second input provided: The second input is used as an external mask. Effect applies to bright areas of the mask (to apply to dark areas, see the Invert Mask parameter).
  4. Enable Skin Detection ON , second input provided: An internal mask is generated and multiplied by the external mask.

In the Sapphire Blur+Sharpen category.


Inputs:

Source: The current track. The clip to be processed.

Background: Optional. The clip to use as background. The output of the effect is composited over this clip.

Mask: Optional. Garbage mask to combine with internal skin detection.

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: 0 or greater.
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: [0 0], Range: any.
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.

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: 0 or greater.
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.

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.

Blur Mask: Default: 0, Range: 0 or greater.
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: 0 or greater.
Features smaller than this size (pores, etc.) will be preserved even when blurring.

Blur Amount: Default: 0.02, Range: 0 or greater.
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: 0 or greater.
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: 0 or greater.
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 general info for: Apply To Title/Key , Crop/Transform , Resolution , Clamp Output To Legal , Bypass Effect , and Reset .


See Also:

EdgeAwareBlur
HueSatBright
SoftFocus
Glow
RackDefocus
DefocusPrism
EdgeBlur
BandPass
BlurMotion
Sapphire Plug-ins Introduction

List all effects with pictures

List all effects by name

List all effects with a brief summary

General User Info
What's New In This Version
Compatibility Notes
Loading a Plug-in
Color Management with OpenColorIO
Loading and Saving Presets
Designing Lens Flares and Glares
Using the Sapphire Effect Builder
Using Mocha in Sapphire
Resetting Parameters to Defaults
Online Documentation
About GPU Acceleration
About Motion Blur
About Matte Inputs
About Alpha Processing
About Angle Parameters
About Pixel Aspect Ratios
Customizing Plug-ins
Known Problems
3rd Party Licenses

Glow Effects
Glow
GlowAura
GlowDarks
GlowDist
GlowEdges
GlowNoise
GlowOrthicon
GlowRainbow
GlowRings
UltraGlow
ZGlow
Light Beams
Rays
EdgeRays
Streaks

LensFlares
LensFlare
LensFlareAutoTrack
LightLeak
Glints & Glares
Glint
GlintRainbow
Glare

Other Lighting
BokehLights
DropShadow
Flashbulbs
Light3D
SpotLight

AutoPaint & HalfTone
AutoPaint
Sketch
Etching
Brush:Oil
Brush:Chalk
Crosshatch
Cartoon
CartoonPaint
Posterize
HalfTone
HalfToneColor
HalfToneRings

Kaleidoscopes
Kaleido:Triangles
Kaleido:Squares
Kaleido:Diamonds
Kaleido:Oct
KaleidoPolar
KaleidoRadial
FlysEyeCircles
FlysEyeHex
FlysEyeRect
TileScramble
Film Effects & Grain
FilmEffect
FilmDamage
Vignette
BleachBypass
Grain
GrainStatic
UltraGrain
Diffuse
VintageColor2Strip
VintageColor3Strip

Edge Effects
EdgeDetect
EdgeDetectDouble
EdgesInDirection
EdgeColorize

Embossing
Emboss
EmbossShiny
EmbossDistort
EmbossGlass
Other Stylize
BandPass
ColorFuse
DogVision
DigitalDamage
JpegDamage
TVDamage
Grunge
Mosaic
PixelSort
PseudoColor
PsykoBlobs
PsykoStripes
PrismLens
RomanTile
ScanLines
ScanLinesMono
Solarize
StripSlide
Zebrafy
ZebrafyColor
ZFogExponential
ZFogLinear

Adjust
ChannelSwitcher
ClampChroma
DuoTone
Gamma
Hotspots
HueSatBright
Invert
Monochrome
OCIOTransform
QuadTone
Threshold
Tint
TriTone
ShowBadColors

Composite
EdgeFlash
Layer
MathOps
MatteOps
MatteOpsComp
ZComp
Blur+Sharpen
Beauty
Blur
BlurChannels
BlurChroma
BlurDirectional
BlurMoCurves
BlurMotion
DefocusPrism
Convolve
ConvolveComp
Deband
EdgeBlur
EdgeAwareBlur
FreeLens
GrainRemove
Median
RackDefocus
RackDfComp
Sharpen
SoftFocus
ZConvolve
ZDefocus
ZBlur

Distort Effects
Distort
DistortBlur
DistortChroma
DistortRGB
Warps & Shake
InfiniteZoom
ParallaxStrips
WarpBubble
WarpBubble2
WarpChroma
WarpCornerPin
WarpDrops
WarpFishEye
WarpMagnify
WarpPerspective
WarpPolar
WarpPuddle
WarpPuff
WarpRepeat
WarpTransform
WarpVortex
WarpWaves
WarpWaves2
Shake
StretchFrameEdges

Lightning Zaps
UltraZap
Zap
ZapTo
ZapFrom

Gradients, Grid & Shape
Gradient
GradientMulti
GradientRadial
Grid
Shape

Procedural Textures
Caustics
Sparkles
SparklesColor
TextureCells
TextureChromaSpiral
TextureFlux
TextureFolded
TextureLoops
TextureMicro
TextureMoire
TextureNeurons
TextureNoiseEmboss
TextureNoisePaint
TexturePlasma
TextureSpots
TextureTiles
TextureWeave

Fractal Clouds
Clouds
CloudsColorSmooth
CloudsMultColor
CloudsPerspective
CloudsPsyko
CloudsVortex
Other Render
Aurora
LaserBeam
Luna
MuzzleFlash
NightSky
Time Effects
CutToDissolve
Feedback
FeedbackBubble
FeedbackDistort
FieldRemove
FreezeFrame
GetFrame
JitterFrames
MotionDetect
NearestColor
RandomEdits
RepairFrames
Retime
ReverseClip
ReverseEdits
TimeAverage
TimeDisplace
TimeSlice
TimeWarpRGB
Trails
TrailsDiffuse

Flicker Tools
Flicker
FlickerMatch
FlickerMatchColor
FlickerMatchMatte
FlickerMchMatteColor
FlickerRemove
FlickerRemoveColor
FlickerRemoveMatte
FlickerRmMatteColor

Effect Builder
Effect
Transition
Dissolve Transitions
Dissolve
DissolveAutoPaint
DissolveBlur
DissolveBubble
DissolveDefocus
DissolveDiffuse
DissolveDigitalDamage
DissolveDistort
DissolveEdgeRays
DissolveFilm
DissolveFlashbulbs
DissolveGlare
DissolveGlint
DissolveGlintRainbow
DissolveGlow
DissolveLensFlare
DissolveLuma
DissolvePixelSort
DissolvePuddle
DissolveRays
DissolveShake
DissolveSpeckle
DissolveStatic
DissolveTiles
DissolveUltraGlow
DissolveVortex
DissolveWaves
DissolveZap

Wipe Transitions
WipeBlobs
WipeBubble
WipeCells
WipeChecker
WipeCircle
WipeClock
WipeClouds
WipeDiffuse
WipeDots
WipeDoubleWedge
WipeFlux
WipeFourWedges
WipeLine
WipePixelate
WipeRectangle
WipeRings
WipeStar
WipeStripes
WipeTiles
WipeWedge
WipePlasma
WipePointalize
WipeWeave
WipeMoire
SwishPan
Swish3D

Other Transitions
CardFlip
FilmRoll
FlutterCut
HyperPull
HyperPush
ParallaxStripsTransition
StripSlideTransition
SwishPan
Swish3D
TVChannelChange WhipLash