图像比率

节点功能:用于计算图像的宽高比例。
节点中英文对比
图像比率
  • image
  • width_ratio_int
  • height_ratio_int
  • width_ratio_float
  • height_ratio_float
  • ImageRatio
  • image
  • width_ratio_int
  • height_ratio_int
  • width_ratio_float
  • height_ratio_float
  • 图像比率 - 参数说明
    输入参数
    image
    输入图像张量。支持单张图像。
    输出参数
    width_ratio_int
    最简化后的宽度比例(整数)。
    height_ratio_int
    最简化后的高度比例(整数)。
    width_ratio_float
    与整数相同,保留为 float 类型。
    height_ratio_float
    与整数相同,保留为 float 类型。
    暂无节点说明
    节点列表 首页