Halcon中阈值二值化的算子众多,通常用得最多的有threshold.binary_threshold.dyn_threshold等. threshold是最简单的阈值分割算子,理解最为简单:binary_threshold是自动阈值算子,它可以自动选出暗(dark)的区域,或者自动选出亮(light)的区域,理解起来也没有难度. 动态阈值算子dyn_threshold理解起来稍微复杂一点,使用dyn_threshold算子的步骤基本是这样的: ① 将原图进行滤波平滑处理. ② 用原图和平滑后…
1.Halcon的自我描述 Program Logic Ø Each program consists of a sequence of HALCON operators Ø The program can be structured into procedures Ø The sequence can be extended by using control operators like if, for, repeat, or while Ø The results of the oper…
分享吉林大学机械科学与工程学院,zhao jun 博士的Halcon学习过程及知识分享 全文转载zhao jun 博士的新浪博客,版权为zhaojun博士所有 原文地址:http://blog.sina.com.cn/s/articlelist_1143733774_0_1.html 三十一.matching之二(例篇1-3) 三十.matching之一(基础篇) 二十九.Laser Triangulation with … 二十八.Laser Triangulation with … 二…
基本数据类型补充: set 是一个无序且不重复的元素集合 class set(object): """ set() -> new empty set object set(iterable) -> new set object Build an unordered collection of unique elements. """ def add(self, *args, **kwargs): # real signature un…
/int整数/ 如: 18.73.84 每一个整数都具备如下功能: class int(object): """ int(x=0) -> int or long int(x, base=10) -> int or long Convert a number or string to an integer, or return 0 if no arguments are given. If x is floating point, the conversion tr…