首页/ 节点库/ Points Editor
第三方插件 ComfyUI-KJNodes

Points Editor

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

Points Editor 2026-01-28 收录 687 次浏览

节点中英文对比

ComfyUI 结构对照

按当前节点配置,分别展示中文与英文节点结构。面板按 ComfyUI 实际界面还原: 左侧圆点是输入,右侧圆点与该行最右的名称为输出,下方胶囊是控件参数; 控件两端的三角表示可切换的选项。

中文节点 15 项
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 —
英文节点 15 项
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 —
模型 条件 / 数值 Latent 其它类型 左圆点 = 输入,右圆点 = 输出 可切换选项 — 未设置默认值

面板用于对照参数位置与命名,不做交互;实际节点外观以 ComfyUI 内的主题为准。

参数说明

输入 1 · 输出 5 · 控件 9

依据当前节点关联的 NodesItems 数据,按输入、输出、控件三类分别列出名称与说明。

输入参数 1 项
bg_image bg_image
用于可视化编辑与裁剪区域显示的图像。
输出参数 5 项
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 裁剪图像。
控件参数 9 项
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] 区间。用于深度学习模型训练时建议启用。

节点详解

原理 · 用法 · 常见问题
暂无节点说明

常见问题

按节点参数整理
Points Editor是做什么的?
用于在画布上放置和操作离散的坐标点。这个节点允许用户通过图形界面创建、移动和编辑点坐标,以及绘制边界框。(该节点为实验性节点)Points
Points Editor有哪些输入参数?
共 1 个输入,包括 bg_image(bg_image)。
Points Editor的输出是什么?
共 5 个输出:positive_coords(positive_coords)、negative_coords(negative_coords)、bbox(bbox)、bbox_mask(bbox_mask)、cropped_image(cropped_image)。
Points Editor有哪些可调参数?
共 9 个控件参数,包括 points_store(points_store)、coordinates(coordinates)、neg_coordinates(neg_coordinates)、bbox_store(bbox_store)、bboxes(bboxes)、bbox_format(bbox_format)。
Points Editor属于哪个节点包?
属于「ComfyUI-KJNodes」,节点分类为「第三方插件」。

同类节点

ComfyUI-KJNodes