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_ ...
随机推荐
- CodeChef Chef and Churu [分块]
题意: 单点修改$a$ 询问$a$的区间和$f$的区间和 原来普通计算机是这道题改编的吧... 对$f$分块,预处理$c[i][j]$为块i中$a_j$出现几次,$O(NH(N))$,只要每个块差分加 ...
- nginx隐藏版本号
在实际运用nginx中我们最好将我们的版本号直接隐藏,因为有些版本号的nginx被爆出了漏洞,所以我们为了安全起见,最好将我们的版本号隐藏. 1.对于未安装的nginx我们使用源码编译安装才可以将版本 ...
- s5pv210 的启动
1.开发板已启动从0x0获取数据(内部64k的硬盘,里面含有三星固化的BL0段代码),将其读到a8软核中,进行运算,主要用于初始化时钟,96k的内部IRAM.并负责 指定启动设备(通常为外部硬盘),从 ...
- 反反爬虫 IP代理
0x01 前言 一般而言,抓取稍微正规一点的网站,都会有反爬虫的制约.反爬虫主要有以下几种方式: 通过UA判断.这是最低级的判断,一般反爬虫不会用这个做唯一判断,因为反反爬虫非常容易,直接随机UA即可 ...
- 利用UICollectionView实现列表和宫格视图的切换
很多时候我们需要列表和宫格视图的来回切换,就像苹果的天气应用一样,我之前见过一个用tableview和collectionview来实现这种效果的,我本人不太喜欢这个,那么有没有更好的方法呢?答案是: ...
- [Python Study Notes]字符串操作
字符串操作 a.字符串格式化输出 name = "liu" print "i am %s " % name #输出: i am liu PS: 字符 ...
- Hadoop源码分类概要整理
最近突然觉得, 很多掌握的都还是很浅的原理,需要更深入细粒度去了解整个分布式系统的运转机制.于是..开始作死而又作死而又作死的源码之旅. Hadoop包的功能总共有下列几类: tool:提供一些命令行 ...
- linux shell 执行远程命令
我在本地的shell脚本中,想要直接执行远程服务器的一个shell脚本: ssh -l root 192.168.1.1 "/data/t.sh" 记得提前给远程服务器的 /dat ...
- 940C Phone Numbers
传送门 题目大意 给你两个数字n和k,给你一个字符串s,n是s的长度,求字母集合是s的字母集合子集的字典序大于s的长度为k的字典序最小的字符串t 分析 将字符转化为数字,然后分两种情况处理: 1.n& ...
- dubbo filter实现接口认证springboot idea
最近公司有业务需求,要对Dubbo接口调用者进行身份验证,验证通过才能调用,网上一些资料不够全面,遂整理了一下. 在provider方定义一个filter,需要实现com.alibaba.dubbo. ...