Points Editor

节点功能:用于在画布上放置和操作离散的坐标点。这个节点允许用户通过图形界面创建、移动和编辑点坐标,以及绘制边界框。(该节点为实验性节点)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
    Points Editor - 参数说明
    输入参数
    bg_image
    用于可视化编辑与裁剪区域显示的图像。
    输出参数
    positive_coords
    归一化或原始正样本坐标列表(JSON 字符串)。
    negative_coords
    归一化或原始负样本坐标列表(JSON 字符串)。
    bbox
    标准化后的框信息,格式为 xyxy 或 xywh。
    bbox_mask
    包含所有 bbox 区域的掩码图像(值为 1 的区域为框内部)。
    cropped_image
    可选,仅在传入 bg_image 且存在 bbox 时输出第一个 bbox 裁剪图像。
    控件参数
    points_store
    存储点位的唯一标识键,用于图形编辑器内部调用,不参与输出。
    coordinates
    正样本点位坐标(JSON 字符串格式),如 [{"x":100,"y":200}, ...]。
    neg_coordinates
    负样本点位坐标(JSON 字符串格式),如 [{"x":150,"y":220}, ...]。
    bbox_store
    存储框的唯一标识键,用于图形编辑器内部调用,不参与输出。
    bboxes
    框的列表,格式为 JSON,如 [{"startX":10, "startY":20, "endX":100, "endY":200}, ...]。
    bbox_format
    输出框格式类型,可选 xyxy(左上右下) 或 xywh(左上角和宽高)。
    width
    图像或画布的宽度(像素)。
    height
    图像或画布的高度(像素)。
    normalize
    是否将点位归一化到 [0,1] 区间。用于深度学习模型训练时建议启用。
    暂无节点说明
    节点列表 首页