Green Screen Keying V2 Instructions

Feature Overview

Green Screen Keying V2 supports users to adjust similarity, smoothness, edge elimination strength, grayscale ratio, and shadow removal—five parameters in total. The parameter meanings are as follows:
Similarity: Controls the strength of green screen keying (default value 40, adjustable range 0-100).
Smoothness: Controls the smoothness of the transition area between the foreground and background in green screen scenarios (default value 8, adjustable range 1-100).
Edge elimination strength: Used to optimize potential jagged edges or green edges in the edge region after keying (default value 1, adjustable range [0,1,2,3]).
Grayscale ratio: Used to optimize potential green edges or green overflow in certain regions after keying (default value 10, adjustable range 0-100).
Shadow removal: Used to optimize the cutout effect caused by shadow areas in the curtain (default value 1, adjustable range [0,1,2,3,4,5]).

Parameter Adjustment Effect Comparison

Note:
Note: Adjust near the default value. If the value is too large or too small, it can cause poor viewing effect.
Similarity: The larger the similarity, the stronger the green screen keying. If the green screen area is not cleanly removed, increase appropriately. If obvious miskeying occurs in the foreground, decrease appropriately.
Input Image
Similarity: 20
Similarity 40 (Default Value)
Similarity 50








Smoothness: Lower smoothness makes the transition area between the foreground and background more obvious. Higher smoothness makes the transition area smoother.
Note:
The figure below shows the edge region of hair as the transition area between the foreground and background. When smoothness is low, segmentation traces are distinct, with green hair showing clearly. When smoothness is increased, the transition area becomes smoother, segmentation traces weaken, and green showing is reduced.
Smoothness: 8 (Default Value)
Smoothness: 10
Smoothness: 15




Edge elimination strength: The larger the edge elimination strength, the more the edge region is removed. When black borders, green edges, jagged edges, or other issues appear around portraits or items, try increasing it.
Edge Elimination Strength: 1 (Default Value)
Edge Elimination Strength: 2
Edge Elimination Strength: 3




Grayscale ratio: When green overflow occurs in certain regions or green edges appear at the edges, try increasing it.
Grayscale Ratio: 10 (Default Value)
Grayscale Ratio: 50
Grayscale Ratio: 90




Shadow Removal: Try increasing when shadow areas exist on the green screen and the cutout effect is poor.
Input Image
Shadow Removal: 0
Shadow Removal: 1 (Default Value)
Shadow Removal: 3