图像背景移除
节点功能:用于图像背景移除。Image Remove
节点中英文对比
图像背景移除
rem_mode
image_output
save_prefix
torchscript_jit
add_background
refine_foreground
Image Remove Bg
rem_mode
image_output
save_prefix
torchscript_jit
add_background
refine_foreground
图像背景移除 - 参数说明
输入参数
images
输入图像,支持多张。
输出参数
image
移除背景后的图像(支持透明通道)。
mask
背景遮罩图(白色为前景)。
控件参数
rem_mode
背景移除模型,支持 RMBG-2.0、RMBG-1.4、Inspyrenet、BEN2。
image_output
输出方式,控制是否预览、保存或隐藏图像。
save_prefix
保存图像的文件名前缀。
torchscript_jit
(Inspyrenet 专用)是否使用 JIT 加速模型。
add_background
为结果添加背景(none/white/black)。
refine_foreground
(BEN2 专用)是否启用前景精细化处理可在边缘处理更干净时启用,建议开启以提高质量。
暂无节点说明