Halcon 数据类型

来源:互联网 发布:网络棋牌广告语 编辑:程序博客网 时间:2024/05/17 06:10

开始学习Halcon,把学习内容记录下来,其中可能有不少理解上的谬误,只是记录下来,给自己查询。 

Quick Guide

Halcon Operator 有两种基本参数类型,iconic data (images, regions,XLD contour) 和control data(integers, strings,handles,etc.).

image数据是一个图像。

Regions是图像中某些像素的集合,可以通过select_shape等算子将一个Regions按照一定算法分成多个Region.Region数据是像素精度的。

XLD是 extended line description,是图像中的轮廓线的集合,是亚像素精度的。

每个算子的参数都有一个标准的顺序:input iconic,output iconic, input control,output control. 有的算子可能没有用所有的参数,但顺序是一定的。

tuples 类似于数组

The index of control tuples range from 0 to the number of values minus 1. In contrast, the index of
iconic tuples starts with 1.