Halcon的select_shape算子是一个强大的工具,它允许用户根据形状特征选择区域。下面是对select_shape算子的详细解释: 一、什么是Halcon的select_shape算子 Halcon的select_shape算子用于从给定的区域中筛选出满足特定特征条件的区域。这些特征包括面积、周长、圆度、紧凑度等,通过设置特征值的最小和最大限制,用户可以精确选...
select_shape - 借助形状特征选择区域。 原型: 1 select_shape(Regions : SelectedRegions : Features, Operation, Min, Max : ) (将连接的区域进行筛选,筛选的特征有很多,如面积长度等,可以去掉不满足条件的轮廓) 描述: 操作符select_shape根据形状选择区域。对于来自区域的每个输入区域,计算所指示的特征(features...
通道编号从1到n。 通道的数量可以通过算子count_channels来确定。 shape_trans:变换区域的形状。参数Type的可选项解释如下: convex:凸包性 ellipse:与输入区域有相同的矩和区域的椭圆 outer_circle:最小外接圆 inner_circle:最大内接圆 rectangle1:平行于坐标轴的最小外接矩形 rectangle2:最小外接矩形 inner_rectangl...
select_shape_proto算子是HALCON中一款用于提取形状特征的算子。它可以识别图像中的目标形状,并将识别结果以原型(prototype)形式输出。通过这个算子,开发者可以快速地从大量图像数据中筛选出具有特定形状的目标。 【3.参数详解】 (1)Input:输入图像或图像列表。 (2)Shape parameters:形状参数,用于定义所需形状的属性,如...
select_shape算子是一个功能十分强大的算子,算子原型如下: select_shape算子的功能是计算Regions中所有输入region的特征(Features),...
select_shape(算子名称) 名称 select_shape— Choose regions with the aid of shape features. 参数签名 描述 The operatorselect_shapechooses regions according to shape. For each input region from区域the indicated features (特征) are calculated. If each (Operation='and') or at least one (Operation=...
Halcon threshold和select_shape算子学习笔记 打开Halcon自带的threshold例程 main程序如下 read_image (Audi2,'audi2') fill_interlace (Audi2, ImageFilled,'odd') threshold (ImageFilled, Region,0,90) connection (Region, ConnectedRegions) select_shape (ConnectedRegions, SelectedRegions,'width','and',30,...
Halcon threshold和select_shape算子学习笔记 2020-02-17 16:14 −... 阿坦 0 3297 Halcon阈值分割 2019-12-25 10:11 −threshold(Image : Region : MinGray, MaxGray : ) 全局阈值分割,用户指定硬阈值 binary_threshold(Image : Region : Method, LightDark : UsedThreshold) 全局阈值分割,指定计算阈....
例如,可以使用color模板匹配算子来选择特定颜色的区域,或者使用shape_matching形状匹配算子来选择特定形状的区域。 4.调用select_obj算子:使用select_obj算子来筛选符合条件的ROI。该算子的输入参数包括输入图像、ROI以及筛选条件。 5.分析和处理筛选结果:根据select_obj算子的输出,可以对筛选出的ROI进行进一步的分析和处理...
select_shape_std(算子名称) 名称 select_shape_std— Select regions of a given shape. 参数签名 select_shape_std(区域:SelectedRegions:Shape,Percent: ) 描述 The operatorselect_shape_stdcompares the shape of the given regions with default shapes. If the region has a similar shape it is adopted ...