area_center 区域和区域中心。

area_center 区域和区域中心。

Signature

area_center(Regions : : : Area, Row, Column)

描述

运算符area_center计算输入区域的面积和中心。面积定义为一个区域的像素数。中心点分别计算为所有像素的直线坐标或列坐标的平均值。

在本章的文档(区域/特征)中,你可以找到一幅图像,说明区域在其面积上的变化。

如果传入多个区域,结果存储在元组中,元组中值的索引对应于输入区域的索引。对于空区域,如果没有设置其他行为,则所有参数的值为0.0(参见set_system)。

参数说明

Regions (input_object)  输入要检查(计算)的区域

Area (output_control)  输出面积

Row (output_control) 中心点的行坐标

Column (output_control) 中心点的列坐标

相关推荐

  1. area_center 区域区域中心

    2024-07-09 21:02:06       32 阅读
  2. leetcode303--区域检索

    2024-07-09 21:02:06       38 阅读
  3. leetcode 303 前缀 区域检索

    2024-07-09 21:02:06       30 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-07-09 21:02:06       67 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-07-09 21:02:06       71 阅读
  3. 在Django里面运行非项目文件

    2024-07-09 21:02:06       58 阅读
  4. Python语言-面向对象

    2024-07-09 21:02:06       69 阅读

热门阅读

  1. Linux

    2024-07-09 21:02:06       23 阅读
  2. 从vs中删除自带的Microsoft Git Provider

    2024-07-09 21:02:06       18 阅读
  3. 设计模式的一点理解

    2024-07-09 21:02:06       18 阅读
  4. QT 设置控件的展开和消失

    2024-07-09 21:02:06       22 阅读
  5. qt 读取配置文件

    2024-07-09 21:02:06       21 阅读
  6. 王道考研数据机构:中缀表达式转为后缀表达式

    2024-07-09 21:02:06       30 阅读