Upscaler (SEGS/pipe)
节点功能:对 SEGS 数据进行区域性放大的节点,它能够对检测到的每个分割区域进行独立的放大和增强处理。Upscaler (SEGS/pipe)-
节点中英文对比
Upscaler (SEGS/pipe)
rescale_factor
resampling_method
supersample
rounding_modulus
seed
steps
cfg
sampler_name
scheduler
denoise
feather
inpaint_model
noise_mask_feather
Upscaler (SEGS/pipe)
rescale_factor
resampling_method
supersample
rounding_modulus
seed
steps
cfg
sampler_name
scheduler
denoise
feather
inpaint_model
noise_mask_feather
Upscaler (SEGS/pipe) - 参数说明
输入参数
image
原始图像输入。
segs
图像分割掩码结构,包含多个 segment 区域与属性。
basic_pipe
包含模型、CLIP、VAE 以及正负向条件的五元组。
upscale_model_opt
可选超分模型,如 RealESRGAN。
upscaler_hook_opt
自定义放大后处理逻辑的 hook 接口。
scheduler_func_opt
自定义调度器函数。
输出参数
IMAGE
最终经过放大与 segment 增强的图像。
控件参数
rescale_factor
放大倍数,默认 2,支持任意正值。
resampling_method
图像缩放插值方法。
lanczos:细节保留佳,边缘清晰,计算复杂。
nearest:取最近像素,计算简单,放大易锯齿。
bilinear:依 4 邻域线性插值,效果平滑,计算量适中。
bicubic:据 16 邻域三次插值,兼顾效率与画质。
supersample
是否开启超采样,选项为 true, false。开启可能提升精度但增加计算量。
rounding_modulus
缩放后图像尺寸向上对齐的倍数。
seed
随机种子,用于控制每段 segment 的生成一致性。
steps
采样步数,影响重绘质量和速度。
cfg
提示词引导系数。
sampler_name
采样器名称。
scheduler
调度器名称。
denoise
去噪强度。
feather
segment 掩码边缘羽化程度(像素),用于融合拼接区域。
inpaint_model
是否启用 inpaint 模型进行重建。
noise_mask_feather
降噪 mask 的羽化程度。
暂无节点说明