当我们想要提取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算子--区域特征的更多相关文章

  1. Halcon算子解释

    Halcon算子解释大全 Halcon/Visionpro视频教程和资料,请访问 重码网,网址: http://www.211code.com Chapter 1 :Classification 1. ...

  2. 四种简单的图像显著性区域特征提取方法-----AC/HC/LC/FT。

    四种简单的图像显著性区域特征提取方法-----> AC/HC/LC/FT. 分类: 图像处理 2014-08-03 12:40 4088人阅读 评论(4) 收藏 举报 salient regio ...

  3. 简单的图像显著性区域特征提取方法-----opencv实现LC,AC,FT

    https://blog.csdn.net/cai13160674275/article/details/72991049?locationNum=7&fps=1 四种简单的图像显著性区域特征 ...

  4. Halcon算子之shape_trans,用于变换区域的形状

    函数原型:shape_trans(Region : RegionTrans : Type : ) *shape_trans*仍然是区域,smallest_rectangle1可以获得四个角的坐标 函数 ...

  5. halcon算子

    halcon的算子列表   Chapter 1 :Classification 1.1 Gaussian-Mixture-Models 1.add_sample_class_gmm 功能:把一个训练样 ...

  6. halcon 算子功能查找大全中文版(可直接下载)

    原文作者:aircraft 原文链接:https://www.cnblogs.com/DOMLX/p/11543364.html haicon算子中文查找大全百度云链接 链接:https://pan. ...

  7. Halcon算子含义

    1.1 Gaussian-Mixture-Models 1.add_sample_class_gmm 功能:把一个训练样本添加到一个高斯混合模型的训练数据上. 2.classify_class_gmm ...

  8. (转)基于形状匹配的Halcon算子create_shape_model

    HDevelop开发环境中提供的匹配的方法主要有三种,即Component-Based.Gray-Value-Based.Shape-Based,分别是基于组件(或成分.元素)的匹配,基于灰度值的匹配 ...

  9. Halcon算子学习

    * dev前缀的算子表示开发编译器相关的函数 dev_update_window ('off')//halcon编辑器图形输出界面参数是否都更新,off表示手动,on表示全部更新 dev_close_ ...

随机推荐

  1. ArcGIS API for JavaScript开发环境搭建与发布以及基本功能实现

    1.背景介绍 ArcGIS API for JavaScript 咱这就不介绍了,具体可看ESRI中国的介绍:http://support.esrichina.com.cn/2011/0223/960 ...

  2. 《第一行代码 android》 读书笔记:找出当前界面对应的Activity

    在android开发中找出当前界面对应的Activity,步骤如下: 新建一个BaseActivity继承自Activity,然后在BaseActivity中重写onCreate()方法,通过getC ...

  3. JS工厂模式开发实践

    JS工厂模式开发实践 基于JS工厂模式的H5应用,实现了轮播图功能与滑屏功能,并且实现了文字大小的自适应功能,基于SASS样式开发. 核心的JS代码如下: index.js define(functi ...

  4. 根据展示文字自适应 cell 高度,实现点击cell的伸缩扩展

    1.要根据展示的文字计算cell的高度, 再此给NSString写的延展的方法, 以此获取展示文字的高度 2.在自定义的cell中 声明属性和定义方法 注:在cell上初始化子控件,最好用代码写, 不 ...

  5. Ansible playbook循环实践总结<一>

    1.标准Loops 标准loops可以直接减少task的次数,如下: [root@zero01 playbook]# vi loops.yaml --- - hosts: all gather_fac ...

  6. curl模拟post和get请求

    function _post($url,$post_data){     $ch = curl_init();     curl_setopt($ch, CURLOPT_URL, $url);     ...

  7. Python自动化--语言基础3--字典、函数、全局/局部变量

    字典 dict1 = {'name':'han','age':18,'class':'first'} print(dict1.keys()) #打印所有的key值 print(dict1.values ...

  8. Dynamics CRM 2015-Ribbon In Basic Home Tab

    前文中有说到关于Form上Ribbon的配置以及控制,而Ribbon Button还可以在其它地方的配置,今天就来说说在Basic Home Tab里面的配置,效果图如下: 具体配置Customiza ...

  9. 【mysql】 操作 收集持续更新

    一个字段可能对应多条数据,用mysql实现将多行数据合并成一行数据 GROUP_CONCAT(Name SEPARATOR ',') 需注意: 1.GROUP_CONCAT()中的值为你要合并的数据的 ...

  10. [工具]Microsoft To-Do,简约还是简陋?

    1. 简介 微软收购奇妙清单后,由奇妙清单的原班人马打造了一个全新的待办事项应用,就叫"To-Do"(简单粗暴,好像新浪微博直接就叫"微博"的感觉).这个应该刚 ...