Nodes/ComfyUI_Swwan/LayerUtility: RestoreCropBox V2
ComfyUI Node

LayerUtility: RestoreCropBox V2

RestoreCropBox V2 - 将裁剪的图像还原到原始背景 新增参数: - feathering: 边缘羽化半径,让边缘柔和过渡,解决色差问题 - device: 选择 CPU 或 GPU 进行处理

By aining2022·Created 9 months ago·Updated about a month ago· 27
LayerUtility: RestoreCropBox V2
  • background_image
  • croped_image
  • crop_box
  • croped_mask
  • image
  • mask
invert_maskfalse
feathering0
deviceCPU
CategoryRunningHub/LayerUtility

Inputs (7)

NameTypeDefaultDescription
background_imageIMAGE
croped_imageIMAGE
invert_maskBOOLEANfalse
crop_boxBOX
featheringINT00–256
deviceCOMBOCPU2 options: CPU, GPU
croped_maskoptMASK

Outputs (2)

NameTypeDescription
imageIMAGE
maskMASK