制作ICLora图像

节点功能:用于将两张图像按指定方向拼接为一张新的复合图像,并自动生成用于重绘的掩膜(mask)和上下文掩膜(context mask)。它特别适用于基于图像重绘(如 ICLora 相关任务)中,提供目标区域与上下文信息的场景。Make Image For
节点中英文对比
制作ICLora图像
  • image_1
  • image_2
  • mask_1
  • mask_2
  • image
  • 遮罩
  • context_mask
  • width
  • height
  • x
  • y
  • direction
    pixels
    Make Image For ICLora
  • image_1
  • image_2
  • mask_1
  • mask_2
  • image
  • mask
  • context_mask
  • width
  • height
  • x
  • y
  • direction
    pixels
    制作ICLora图像 - 参数说明
    输入参数
    image_1
    必填图像,作为拼接起始部分。
    image_2
    选填图像,用于拼接补全。如果为空,将用黑图代替。
    mask_1
    image_1 对应掩码,非必填。
    mask_2
    image_2 对应掩码,非必填。
    输出参数
    image
    拼接后合成图像。
    mask
    重绘目标区域的掩码(指示 image_2 对应区域)。
    context_mask
    上下文区域的掩码(指示 image_1 对应区域)。
    width
    image_2 的宽度(用于后续对齐或位置参考)。
    height
    image_2 的高度。
    x
    image_2 的起始横坐标(在拼接图中的位置)。
    y
    image_2 的起始纵坐标。
    控件参数
    direction
    图像拼接方向。可选项:top-bottom(上下拼接)、left-right(左右拼接)。
    pixels
    拼接图像一边的目标像素宽度/高度,为 0 表示不调整尺寸。
    暂无节点说明
    节点列表 首页