Halcon 轮廓合并算子
union_cocircular_contours_xld (Operator)
Name
union_cocircular_contours_xld
— 计算属于同一圆的轮廓之和
Signature
union_cocircular_contours_xld(Contours : UnionContours : MaxArcAngleDiff, MaxArcOverlap, MaxTangentAngle, MaxDist, MaxRadiusDiff, MaxCenterDist, MergeSmallContours, Iterations : )
Parameters
Contours (input_object) xld_cont-array → object
Contours to be merged.
UnionContours (output_object) xld_cont-array → object
Merged contours.
MaxArcAngleDiff (input_control) angle.rad → (real / integer)
Maximum angular distance of two circular arcs.
默认值: 0.5
Suggested values: 0.25, 0.5, 0.75, 1.0
MaxArcOverlap (input_control) angle.rad → (real / integer)
Maximum overlap of two circular arcs.
默认值: 0.1
Suggested values: 0.0, 0.1, 0.2
MaxTangentAngle (input_control) angle.rad → (real / integer)
Maximum angle between the connecting line and the tangents of circular arcs.
默认值: 0.2
Suggested values: 0.1, 0.2, 0.3, 0.4, 0.5
MaxDist (input_control) number → (real / integer)
Maximum length of the gap between two circular arcs in pixels.
默认值: 30
Suggested values: 10, 30, 50, 70
MaxRadiusDiff (input_control) number → (real / integer)
Maximum radius difference of the circles fitted to two arcs.
默认值: 10
Suggested values: 10, 20, 30
MaxCenterDist (input_control) number → (real / integer)
Maximum center distance of the circles fitted to two arcs.
默认值: 10
Suggested values: 10, 20, 30
MergeSmallContours (input_control) string → (string)
Determine whether small contours without fitted circles should also be merged.
默认值: ‘true’
List of values: ‘false’, ‘true’
Iterations (input_control) integer → (integer)
Number of iterations.
默认值: 1
Suggested values: 1, 2
union_collinear_contours_ext_xld (Operator)
Name
union_collinear_contours_ext_xld
— 计算共线性轮廓的合并 (operator with extended functionality).
Signature
union_collinear_contours_ext_xld(Contours : UnionContours : MaxDistAbs, MaxDistRel, MaxShift, MaxAngle, MaxOverlap, MaxRegrError, MaxCosts, WeightDist, WeightShift, WeightAngle, WeightLink, WeightRegr, Mode : )
Parameters
Contours (input_object) xld_cont-array → object
输入XLD轮廓.
UnionContours (output_object) xld_cont-array → object
输出XLD轮廓.
MaxDistAbs (input_control) real → (real)
Maximum distance of the contours’ end points in the direction of the reference regression line.
默认值: 10.0
典型值范围: 0.0 ≤ MaxDistAbs
MaxDistRel (input_control) real → (real)
Maximum distance of the contours’ end points in the direction of the reference regression line in relation to the length of the contour which is to be elongated.
默认值: 1.0
典型值范围: 0.0 ≤ MaxDistRel
MaxShift (input_control) real → (real)
Maximum distance of the contour from the reference regression line (i.e., perpendicular to the line).
默认值: 2.0
典型值范围: 0.0 ≤ MaxShift
MaxAngle (input_control) real → (real)
Maximum angle difference between the two contours.
默认值: 0.1
典型值范围: 0.0 ≤ MaxAngle ≤ 0.78539816339
MaxOverlap (input_control) real → (real)
Maximum range of the overlap.
默认值: 0.0
典型值范围: 0.0 ≤ MaxOverlap
MaxRegrError (input_control) real → (real)
Maximum regression error of the resulting contours (NOT USED).
默认值: -1.0
MaxCosts (input_control) real → (real)
Threshold for reducing the total costs of unification.
默认值: 1.0
典型值范围: 0.0 ≤ MaxCosts
WeightDist (input_control) real → (real)
Influence of the distance in the line direction on the total costs.
默认值: 1.0
典型值范围: 0.0 ≤ WeightDist
WeightShift (input_control) real → (real)
Influence of the distance from the regression line on the total costs.
默认值: 1.0
典型值范围: 0.0 ≤ WeightShift
WeightAngle (input_control) real → (real)
Influence of the angle difference on the total costs.
默认值: 1.0
典型值范围: 0.0 ≤ WeightAngle
WeightLink (input_control) real → (real)
Influence of the line disturbance by the linking segment (overlap and angle difference) on the total costs.
默认值: 1.0
典型值范围: 0.0 ≤ WeightLink
WeightRegr (input_control) real → (real)
Influence of the regression error on the total costs (NOT USED).
默认值: 0.0
典型值范围: 0.0 ≤ WeightRegr
Mode (input_control) string → (string)
Mode describing the treatment of the contours’ attributes
默认值: ‘attr_keep’
List of values: ‘attr_forget’, ‘attr_keep’
union_collinear_contours_xld (Operator)
Name
union_collinear_contours_xld
— 统一近似共线性轮廓.
Signature
union_collinear_contours_xld(Contours : UnionContours : MaxDistAbs, MaxDistRel, MaxShift, MaxAngle, Mode : )
Parameters
Contours (input_object) xld_cont-array → object
输入XLD轮廓.
UnionContours (output_object) xld_cont-array → object
输出XLD轮廓.
MaxDistAbs (input_control) real → (real)
Maximum length of the gap between two contours, measured along the regression line of the reference contour.
默认值: 10.0
典型值范围: 0.0 ≤ MaxDistAbs
MaxDistRel (input_control) real → (real)
Maximum length of the gap between two contours, relative to the length of the reference contour, both measured along the regression line of the reference contour.
默认值: 1.0
典型值范围: 0.0 ≤ MaxDistRel
MaxShift (input_control) real → (real)
Maximum distance of the second contour from the regression line of the reference contour.
默认值: 2.0
典型值范围: 0.0 ≤ MaxShift
MaxAngle (input_control) real → (real)
Maximum angle between the regression lines of two contours.
默认值: 0.1
典型值范围: 0.0 ≤ MaxAngle ≤ 0.78539816339
Mode (input_control) string → (string)
Mode that defines the treatment of contour attributes, i.e., if the contour attributes are kept or discarded.
默认值: ‘attr_keep’
List of values: ‘attr_forget’, ‘attr_keep’
union_cotangential_contours_xld (Operator)
Name
union_cotangential_contours_xld
— 计算共切轮廓的合并.
Signature
union_cotangential_contours_xld(Contours : UnionContours : FitClippingLength, FitLength, MaxTangAngle, MaxDist, MaxDistPerp, MaxOverlap, Mode : )
Parameters
Contours (input_object) xld_cont-array → object
输入XLD轮廓.
UnionContours (output_object) xld_cont-array → object
输出XLD轮廓.
FitClippingLength (input_control) real → (real)
Length of the part of a contour to skip for the determination of tangents.
默认值: 0.0
典型值范围: 0.0 ≤ FitClippingLength
FitLength (input_control) real → (real / string)
Length of the part of a contour to use for the determination of tangents.
默认值: 30.0
Suggested values: 10.0, 20.0, 30.0, ‘auto’
典型值范围: 0.0 ≤ FitLength
MaxTangAngle (input_control) angle.rad → (real)
Maximum angle difference between two contours’ tangents.
默认值: 0.78539816
典型值范围: 0.0 ≤ MaxTangAngle ≤ 3.1415926
MaxDist (input_control) real → (real)
Maximum distance of the contours’ end points.
默认值: 25.0
Suggested values: 5.0, 10.0, 25.0, 50.0
典型值范围: 0.0 ≤ MaxDist
MaxDistPerp (input_control) real → (real)
Maximum distance of the contours’ end points perpendicular to their tangents.
默认值: 10.0
Suggested values: 2.0, 5.0, 10.0, 20.0
典型值范围: 0.0 ≤ MaxDistPerp
MaxOverlap (input_control) real → (real)
Maximum overlap of two contours.
默认值: 2.0
Suggested values: 2.0, 5.0, 10.0, 20.0
Mode (input_control) string → (string)
Mode describing the treatment of the contours’ attributes.
默认值: ‘attr_forget’
List of values: ‘attr_forget’, ‘attr_keep’
Halcon 轮廓合并算子相关推荐
- 实战 | OpenCV如何将不同轮廓合并成一个轮廓(附Python / C++源码)
点击下方卡片,关注"OpenCV与AI深度学习"公众号! 视觉/图像重磅干货,第一时间送达! 导读 本文主要介绍如何用OpenCV将不同的轮廓合并成一个轮廓的实现方法和代码演示. ...
- Halcon拟合系列(6):轮廓平滑算子smooth_contours_xld
----inspect_frame_width.hdev(经典) 计算两个轮廓之间的距离 1.length_xld 获取轮廓的长度 2.tuple_sort_ind ...
- Halcon一些功能算子
Chapter 1 :Classification 1.1 Gaussian-Mixture-Models 1.add_sample_class_gmm 功能:把一个训练样本添加到一个高斯混合模型的训 ...
- halcon学习(算子汇总)
from:https://www.cnblogs.com/hanzhaoxin/archive/2013/01/09/2852213.html dev_clear_obj(Objects : : : ...
- Halcon 3D 常见算子描述
一.简介 halcon 中有很多常见的算子,我们经常在用,但是作为一名算法工程师我们不仅要会用,知道原理也是很重要的,所以对于很多事情我们不仅要所以然更有知其所以然. 二.算子解释 1.smooth_ ...
- halcon File文件算子,持续更新
目录 File文件 Images图像 read_image read_sequence write_image deserialize_image serialize_image list_image ...
- 史上超全halcon常见3D算子汇总(一)
读取3D模型 read_object_model_3d 此算子用于读取3D对象. read_object_model_3d( : : FileName, Scale, GenParamName, Ge ...
- halcon图像合并
[ HALCON ] 将多张图片按指定位置合并平铺成一张图,读取并显示多张图片 此方法旨在满足部分区域拍照后,想输出成一张图,对重叠区域要求不是很高.区别于图像拼接方法,请注意. 在这里,我在一个文件 ...
- halcon xld相关算子
1. get_contour_xld 功能:返回XLD轮廓(contour)的坐标. 2. get_lines_xld 功能:返回一个XLD多边形(polygon)数据. 3. get_paralle ...
最新文章
- python3.x中如何实现print不换行
- VS2005工程的Device右边内容为空问题
- java怎样生成文档_java中如何创建文档中心的目录
- Quartz应用----发送邮件工作调度Java(转)
- 关于时间复杂度(持续更新.....)
- PRIMARY, INDEX, UNIQUE 这3种是一类
- 【JVM】第二章 JVM类加载、JVM对象
- 31 岁的我为何会在创业成功后选择编程?
- CentOS6的python2.6升级到python2.7以上版本(可能更详细)
- php-5.6.26源代码 - hash存储结构 - hash算法
- 拓端tecdat|R语言如何解决线性混合模型中畸形拟合(Singular fit)的问题
- ogc是一个非营利性组织_如果高科技公司变成非营利组织怎么办?
- 无线网络和本地连接同时启用后,无线网络无法使用。
- 2018计算机专硕学硕,2018年专硕和学硕的初试和复试的区别?
- ospfdr选举规则_OSPF如何选举DR/BDR规则
- 基于java的银行信用卡业务系统
- 关于socket数据长度
- Mysql索引分类及其使用实例
- metaboxs.php,php – WooCommerce:将自定义Metabox添加到管理员订单页面
- linux cp 全覆盖,Linux中使用cp命令进行强制覆盖的方法