由于这涉及一些可以在多次测量中重复使用的计算,所以仅使用算子gen_measure_rectangle2执行一次这些计算,从而显著提高了fuzzy_measure_pos的速度。由于在灰度值的亚像素计算中存在精度和速度之间的折衷,并且因此在所提取的边缘位置的准确度中,可以在gen_measure_rectangle2中选择不同的插值方案。 (插值仅影响矩形轴和圆弧...
fuzzy_measure_pos(): fuzzy_measure_pairing(): fuzzy_measure_pairs(): 沿着指定边缘区域方向提取图像的平均灰度值 measure_projection():沿着生成的边缘矩形或圆弧提取灰度值轮廓。 为了能够重复重复使用已经创建的测量区域,使用如下算子。 translate_measure():平移一个1D测量对象。 write_measure():保存创建的1D测...
set_fuzzy_measure - 指定一个模糊函数。 用法 set_fuzzy_measure( : : MeasureHandle, SetType, Function : ) 描述 set_fuzzy_measure指定在函数中传递的模糊函数。 指定的模糊函数使得fuzzy_measure_pos和fuzzy_measure_pairs / fuzzy_measure_pairing能够评估和选择检测到的候选边缘。 为此,不同边缘特征的加权特...
fuzzy_measure_pos - 提取垂直于矩形或环形弧的直边。 02. 签名 fuzzy_measure_pos(Image : : MeasureHandle, Sigma, AmpThresh, FuzzyThresh, Transition : RowEdge, ColumnEdge, Amplitude, FuzzyScore, Distance) 03. 描述 fuzzy_measure_pos提取垂直于矩形长轴或环形弧的直边。 与measure_pos...
注意:可以重复调用算子定义多个模糊集,但是不能对同一模糊集指定多个模糊隶属函数,指定第二个模糊函数意味着放弃第一个定义的模糊函数并将其替换为第二个模糊函数。之前为模糊集指定的模糊函数可以通过reset_fuzzy_measure删除。 使用算子fuzzy_measure_pos、fuzzy_measure_pairs或fuzzy_measure_pairing提取模糊测量的边缘...
set_fuzzy_measure_norm_pair()类似于set_fuzzy_measure(),不同的是set_fuzzy_measure_norm_pair()使用归一化的方法指定模糊函数,在一定程度上更为灵活。 halcon中提供了众多的模糊测量类型,实际使用时可使用多个进行综合测量,其中constrast,position适用于边缘;position_pair,size和gray适用于边缘对,每个子类型的含义...
set_fuzzy_measure_norm_pair fuzzy_measure_pos, fuzzy_measure_pairs, or fuzzy_measure_pairing. 4.3 创建模糊测量对象 一个模糊度量对象的不同集合类型指定多个模糊隶属函数。 4.3.1 指定一个模糊隶属函数 使用set_fuzzy_measure将标准测量对象转化为模糊隶属函数。 create_funct_1d 【Halcon】1D测量之二 一个...
fuzzy_measure_posonly returns meaningful results if the assumptions that the edges are straight and perpendicular to the major axis of the rectangle are fulfilled. Thus, it should not be used to extract edges from curved objects, for example. Furthermore, the user should ensure that the rectangl...
fuzzy_measure_posonly returns meaningful results if the assumptions that the edges are straight and perpendicular to the major axis of the rectangle are fulfilled. Thus, it should not be used to extract edges from curved objects, for example. Furthermore, the user should ensure that the rectangl...
5 fuzzy_measure_pos() 提取与矩形或环状弧垂直的直线边缘。 6 gen_measure_arc() 垂直与环状弧的直线边缘的提取。 7 gen_measure_rectangle2() 垂直与矩形的直线边缘的提取。 8 measure_pairs() 提取与矩形或环状弧垂直的直线边缘。 9 measure_pos() 提取与矩形或环状弧垂直的直线边缘。 10 measure_projecti...