Add Photo preset
This commit is contained in:
+6
-1
@@ -86,7 +86,7 @@ class VideoTAADLAA:
|
||||
return {
|
||||
"required": {
|
||||
"images": ("IMAGE",),
|
||||
"preset": (["Auto", "Balanced", "Detail", "Smooth"],),
|
||||
"preset": (["Auto", "Balanced", "Detail", "Smooth", "Photo"],),
|
||||
},
|
||||
"optional": {
|
||||
"detail_intensity": ("FLOAT", {
|
||||
@@ -602,11 +602,16 @@ class VideoTAADLAA:
|
||||
|
||||
def _frame_edge_aa_strength(self, preset, is_single_image):
|
||||
if is_single_image:
|
||||
if preset == "Photo":
|
||||
return self.photo_edge_aa_strength
|
||||
return 0.0
|
||||
|
||||
if preset == "Detail":
|
||||
return self.detail_edge_aa_strength
|
||||
|
||||
if preset == "Photo":
|
||||
return self.photo_edge_aa_strength
|
||||
|
||||
return 1.0
|
||||
|
||||
def _vram_mb(self, device):
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# MSXYZ
|
||||
|
||||
NODE_DEFAULTS = {
|
||||
|
||||
|
||||
# Model blend
|
||||
"model_weight": 1.00,
|
||||
"dlaa_blend_scale": 1.00,
|
||||
@@ -73,4 +73,5 @@ NODE_DEFAULTS = {
|
||||
"detail_shimmer_slope": 100.0,
|
||||
"detail_shimmer_max_blend": 0.35,
|
||||
"detail_edge_aa_strength": 0.38,
|
||||
"photo_edge_aa_strength": 0.12,
|
||||
}
|
||||
|
||||
+28
@@ -47,6 +47,21 @@ PRESETS = {
|
||||
"motion_sensitivity": 0.10,
|
||||
"jitter_scale": 0.25,
|
||||
},
|
||||
"Photo": {
|
||||
"detail_boost": 0.98,
|
||||
"edge_boost": 0.78,
|
||||
"temporal_strength": 0.12,
|
||||
"micro_limit": 0.024,
|
||||
"luma_boost_mult": 0.94,
|
||||
"saturation_boost_mult": 0.94,
|
||||
"motion_threshold": 0.08,
|
||||
"taa_strength": 0.12,
|
||||
"dlaa_strength": 1.00,
|
||||
"tone_strength": 0.14,
|
||||
"edge_sharp_strength": 0.24,
|
||||
"motion_sensitivity": 0.50,
|
||||
"jitter_scale": 0.0,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -119,6 +134,7 @@ PRESET_MODEL_WEIGHT = {
|
||||
"Balanced": 1.00,
|
||||
"Detail": 1.38,
|
||||
"Smooth": 0.90,
|
||||
"Photo": 1.00,
|
||||
"Auto": 1.10,
|
||||
}
|
||||
|
||||
@@ -172,4 +188,16 @@ TEXTURE_PRESETS = {
|
||||
"edge_threshold": 0.070,
|
||||
"edge_slope": 18.0,
|
||||
},
|
||||
"Photo": {
|
||||
"enabled": True,
|
||||
"strength": 0.55,
|
||||
"limit": 0.016,
|
||||
"blur_kernel": 5,
|
||||
"dark_base": 0.25,
|
||||
"motion_suppression": 0.95,
|
||||
"highlight_suppression": 0.75,
|
||||
"line_suppression": 0.75,
|
||||
"edge_threshold": 0.070,
|
||||
"edge_slope": 18.0,
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user