第三方插件 ComfyUI-KJNodes

Points Editor

Points Editor 206

用于在画布上放置和操作离散的坐标点。这个节点允许用户通过图形界面创建、移动和编辑点坐标,以及绘制边界框。(该节点为实验性节点)Points

节点中英文对比

按当前节点配置,分别展示中文与英文节点结构。

中文节点
Points Editor
  • bg_image
  • positive_coords
  • negative_coords
  • bbox
  • bbox_mask
  • cropped_image
  • points_store
    coordinates
    neg_coordinates
    bbox_store
    bboxes
    bbox_format
    width
    height
    normalize
    英文节点
    Points Editor
  • bg_image
  • positive_coords
  • negative_coords
  • bbox
  • bbox_mask
  • cropped_image
  • points_store
    coordinates
    neg_coordinates
    bbox_store
    bboxes
    bbox_format
    width
    height
    normalize

    参数说明

    依据当前节点关联的 `NodesItems` 数据展示输入、输出与控件说明。

    输入参数
    bg_image bg_image
    用于可视化编辑与裁剪区域显示的图像。
    输出参数
    positive_coords positive_coords
    归一化或原始正样本坐标列表(JSON 字符串)。
    negative_coords negative_coords
    归一化或原始负样本坐标列表(JSON 字符串)。
    bbox bbox
    标准化后的框信息,格式为 xyxy 或 xywh。
    bbox_mask bbox_mask
    包含所有 bbox 区域的掩码图像(值为 1 的区域为框内部)。
    cropped_image cropped_image
    可选,仅在传入 bg_image 且存在 bbox 时输出第一个 bbox 裁剪图像。
    控件参数
    points_store points_store
    存储点位的唯一标识键,用于图形编辑器内部调用,不参与输出。
    coordinates coordinates
    正样本点位坐标(JSON 字符串格式),如 [{"x":100,"y":200}, ...]。
    neg_coordinates neg_coordinates
    负样本点位坐标(JSON 字符串格式),如 [{"x":150,"y":220}, ...]。
    bbox_store bbox_store
    存储框的唯一标识键,用于图形编辑器内部调用,不参与输出。
    bboxes bboxes
    框的列表,格式为 JSON,如 [{"startX":10, "startY":20, "endX":100, "endY":200}, ...]。
    bbox_format bbox_format
    输出框格式类型,可选 xyxy(左上右下) 或 xywh(左上角和宽高)。
    width width
    图像或画布的宽度(像素)。
    height height
    图像或画布的高度(像素)。
    normalize normalize
    是否将点位归一化到 [0,1] 区间。用于深度学习模型训练时建议启用。

    详细说明

    结合节点用途、参数和调用方式,给出更完整的说明内容。

    暂无节点说明

    同类节点导航

    继续浏览同一分类下的相邻节点,方便串联学习。