Improve despill and add quality checks
This commit is contained in:
@@ -38,10 +38,15 @@ class AlphaPostSettings:
|
||||
@dataclass(frozen=True)
|
||||
class DespillSettings:
|
||||
enabled: bool = True
|
||||
edge_low: float = 0.02
|
||||
edge_high: float = 0.98
|
||||
strength: float = 0.75
|
||||
green_excess_margin: float = 0.03
|
||||
edge_low: float = 0.005
|
||||
edge_high: float = 0.995
|
||||
strength: float = 0.92
|
||||
green_excess_margin: float = 0.015
|
||||
edge_expand_radius: int = 2
|
||||
bg_confidence_weight: float = 0.65
|
||||
alpha_weight_floor: float = 0.35
|
||||
unmix_strength: float = 0.55
|
||||
unmix_alpha_min: float = 0.08
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
|
||||
Reference in New Issue
Block a user