Halcon算子--区域特征
当我们想要提取Region时,图像处理后,往往存在几个类似的Region,此时,需要根据Region的一些特殊特征,来选择指定的Region。
求Region指定特征值:region_features(Regions : : Features : Value)
根据特征值选择区域:select_shape(Regions : SelectedRegions : Features, Operation, Min, Max : )
Region特征一览:
| 特征 | 英 | 译 | 备注 |
| area | Area of the object | 对象的面积 | |
| row | Row index of the center | 中心点的行坐标 | |
| column | Column index of the center | 中心点的列坐标 | |
| width | Width of the region | 区域的宽度 | |
| height | Height of the region | 区域的高度 | |
| row1 | Row index of upper left corner | 左上角行坐标 | |
| column1 | Column index of upper left corner | 左上角列坐标 | |
| row2 | Row index of lower right corner | 右下角行坐标 | |
| column2 | Column index of lower right corner | 右下角列坐标 | |
| circularity | Circularity | 圆度 | 0~1 |
| compactness | Compactness | 紧密度 | 0~1 |
| contlength | Total length of contour | 轮廓线总长 | |
| convexity | Convexity | 凸性 | |
| rectangularity | Rectangularity | 矩形度 | 0~1 |
| ra | Main radius of the equivalent ellipse | 等效椭圆长轴半径长度 | |
| rb | Secondary radius of the equivalent ellipse | 等效椭圆短轴半径长度 | |
| phi | Orientation of the equivalent ellipse | 等效椭圆方向 | |
| anisometry | Anisometry | 椭圆参数,Ra/Rb长轴与短轴的比值 | |
| bulkiness | Bulkiness | 椭圆参数,蓬松度π*Ra*Rb/A | |
| struct_factor | Structur Factor | 椭圆参数,Anisometry*Bulkiness-1 | |
| outer_radius | Radius of smallest surrounding circle | 最小外接圆半径 | |
| inner_radius | Radius of largest inner circle | 最大内接圆半径 | |
| inner_width | Width of the largest axis-parallel rectangle that fits into the region | 最大内接矩形宽度 | |
| inner_height | Height of the largest axis-parallel rectangle that fits into the region | 最大内接矩形高度 | |
| dist_mean | Mean distance from the region border to the center | 区域边界到中心的平均距离 | |
| dist_deviation | Deviation of the distance from the region border from the center | 区域边界到中心距离的偏差 | |
| roundness | Roundness | 圆度,与circularity计算方法不同 | |
| num_sides | Number of polygon sides | 多边形边数 | |
| connect_num | Number of connection components | 连通数 | |
| holes_num | Number of holes | 区域内洞数 | |
| area_holes | Area of the holes of the object | 所有洞的面积 | |
| max_diameter | Maximum diameter of the region | 最大直径 | |
| orientation | Orientation of the region | 区域方向 | |
| euler_number | Euler number | 欧拉数,即连通数和洞数的差 | |
| rect2_phi | Orientation of the smallest surrounding rectangle | 最小外接矩形的方向 | |
| rect2_len1 | Half the length of the smallest surrounding rectangle | 最小外接矩形长度的一半?? | smallest_rectangle2 |
| rect2_len2 | Half the width of the smallest surrounding rectangle | 最小外接矩形宽度的一半 | |
| moments_m11 | Geometric moments of the region | 几何矩 | |
| moments_m20 | Geometric moments of the region | 几何矩 | |
| moments_m02 | Geometric moments of the region | 几何矩 | |
| moments_ia | Geometric moments of the region | 几何矩 | |
| moments_ib | Geometric moments of the region | 几何矩 | |
| moments_m11_invar | Geometric moments of the region | 几何矩 | |
| moments_m20_invar | Geometric moments of the region | 几何矩 | |
| moments_m02_invar | Geometric moments of the region | 几何矩 | |
| moments_phi1 | Geometric moments of the region | 几何矩 | |
| moments_phi2 | Geometric moments of the region | 几何矩 | |
| moments_m21 | Geometric moments of the region | 几何矩 | |
| moments_m12 | Geometric moments of the region | 几何矩 | |
| moments_m03 | Geometric moments of the region | 几何矩 | |
| moments_m30 | Geometric moments of the region | 几何矩 | |
| moments_m21_invar | Geometric moments of the region | 几何矩 | |
| moments_m12_invar | Geometric moments of the region | 几何矩 | |
| moments_m03_invar | Geometric moments of the region | 几何矩 | |
| moments_m30_invar | Geometric moments of the region | 几何矩 | |
| moments_i1 | Geometric moments of the region | 几何矩 | |
| moments_i2 | Geometric moments of the region | 几何矩 | |
| moments_i3 | Geometric moments of the region | 几何矩 | |
| moments_i4 | Geometric moments of the region | 几何矩 | |
| moments_psi1 | Geometric moments of the region | 几何矩 | |
| moments_psi2 | Geometric moments of the region | 几何矩 | |
| moments_psi3 | Geometric moments of the region | 几何矩 | |
| moments_psi4 | Geometric moments of the region | 几何矩 |
Halcon算子--区域特征的更多相关文章
- Halcon算子解释
Halcon算子解释大全 Halcon/Visionpro视频教程和资料,请访问 重码网,网址: http://www.211code.com Chapter 1 :Classification 1. ...
- 四种简单的图像显著性区域特征提取方法-----AC/HC/LC/FT。
四种简单的图像显著性区域特征提取方法-----> AC/HC/LC/FT. 分类: 图像处理 2014-08-03 12:40 4088人阅读 评论(4) 收藏 举报 salient regio ...
- 简单的图像显著性区域特征提取方法-----opencv实现LC,AC,FT
https://blog.csdn.net/cai13160674275/article/details/72991049?locationNum=7&fps=1 四种简单的图像显著性区域特征 ...
- Halcon算子之shape_trans,用于变换区域的形状
函数原型:shape_trans(Region : RegionTrans : Type : ) *shape_trans*仍然是区域,smallest_rectangle1可以获得四个角的坐标 函数 ...
- halcon算子
halcon的算子列表 Chapter 1 :Classification 1.1 Gaussian-Mixture-Models 1.add_sample_class_gmm 功能:把一个训练样 ...
- halcon 算子功能查找大全中文版(可直接下载)
原文作者:aircraft 原文链接:https://www.cnblogs.com/DOMLX/p/11543364.html haicon算子中文查找大全百度云链接 链接:https://pan. ...
- Halcon算子含义
1.1 Gaussian-Mixture-Models 1.add_sample_class_gmm 功能:把一个训练样本添加到一个高斯混合模型的训练数据上. 2.classify_class_gmm ...
- (转)基于形状匹配的Halcon算子create_shape_model
HDevelop开发环境中提供的匹配的方法主要有三种,即Component-Based.Gray-Value-Based.Shape-Based,分别是基于组件(或成分.元素)的匹配,基于灰度值的匹配 ...
- Halcon算子学习
* dev前缀的算子表示开发编译器相关的函数 dev_update_window ('off')//halcon编辑器图形输出界面参数是否都更新,off表示手动,on表示全部更新 dev_close_ ...
随机推荐
- UVA概率练习[2]
UVa11021 Tribbles 你有K个麻球.一个只会存活一天.在死亡之前,一个麻球有P_i的概率生出i个麻球(i=0,1,…,n-1).m天后所有麻球都死亡的概率是多少?(包含在第m天前全部死亡 ...
- PLECS—晶闸管-第九周
1. 单相桥式晶闸管整流电路仿真 (1)仿真电路图 (2)触发角为pi/4的手工波形图(参数设置,触发角=pi/4, 电感L = 0H) (2)模拟仿真波形图 1)参数设置:触发角=pi/4, 电感L ...
- 讲解mybaits的标签语法
前言:mybatis作为一个持久层的java框架,高度封装了jdbc原始代码,它拥有比Hiberante更便捷.更直接的sql语法和sql灵活配置的特性,比如简单的一个自动映射对象就大大减少了我们的代 ...
- wordpress配置固定链接nginx访问404问题解决方法
WordPress支持使用固定链接,但是在ngnix环境下,访问页面后出现404, 其实官方是有文档说明的,需要单独写配置, 我这边配置的示例代码如下: server { listen 8 ...
- C++ 函数模板“偏特化”
模板是C++中很重要的一个特性,利用模板可以编写出类型无关的通用代码,极大的减少了代码量,提升工作效率.C++中包含类模板.函数模板,对于需要特殊处理的类型,可以通过特化的方式来实现特定类型 ...
- 【mysql】 操作 收集持续更新
一个字段可能对应多条数据,用mysql实现将多行数据合并成一行数据 GROUP_CONCAT(Name SEPARATOR ',') 需注意: 1.GROUP_CONCAT()中的值为你要合并的数据的 ...
- STL源码剖析之序列式容器
最近由于找工作需要,准备深入学习一下STL源码,我看的是侯捷所著的<STL源码剖析>.之所以看这本书主要是由于我过去曾经接触过一些台湾人,我一直觉得台湾人非常不错(这里不涉及任何政治,仅限 ...
- solr6.6教程-从mysql数据库中导入数据(三)
整理多半天的solr6.6,终于算是把solr6.6中配置数据库弄出来了,网上的文章千篇一律,各说个的,没有一篇统一覆盖solr6.6版本配置的 帖子,本章节我会把配置的一些注意事项一一列举,由于时间 ...
- vue——安装并新建项目
一.对于vue的安装: 1.安装vue之前先安装node,https://nodejs.org/zh-cn/download/,我装的是windows64位的: 2.下载好了之后就可以按照正常顺序安装 ...
- C++ stl 怎么打印内存内容?
#include <iostream> #include <string> #include <sstream> #include <iomanip> ...