1. select_contours_xld函数概述 在Halcon中,xld是指"extended line data",用于表示直线或者轮廓线等几何形状的数据结构。 select_contours_xld函数的作用是根据特定的条件,从一组输入边缘线(xld)中选择相应的边缘线。这些条件可以根据线的长度、角度、弧度等特征进行选择。 2. select_contours_xld函数的参数 select...
select_contours_xld函数的语法为: select_contours_xld (Contours : SelectedContours, Indices, Type : (GenParamName, GenParamValue : GenParamName, GenParamValue, ...)) 该函数的主要输入参数是Contours,表示输入的轮廓。它是一个XLD对象的数组,可以是由其他函数生成的。SelectedContours是输出参数,表示被选择...
select_contours_xld函数的主要参数包括输入图像、定义轮廓线的运算符、过滤条件和返回值。输入图像是希望提取轮廓线的原始图像。运算符可以是运算结果是轮廓线的图像处理算子,如边缘检测算子。过滤条件是一个表达式,用于对轮廓线进行筛选。返回值是一个包含选择的轮廓线的XLD(外轮廓描述)数据类型。 第三步:使用select_...
select_contours_xld根据以下特征(参数Feature)从输入轮廓Contours 中选择XLD轮廓:contour_length 所有长度...
select_contours_xld selects XLD contours from the input contours Contours according to the following features (parameter Feature): 'contour_length': all contours whose length is smaller than Min1 or larger than Max1 are not returned (Min2 and Max2 have no influence here). 'maximum_extent'...
select_contours_xld— Select XLD contours according to several features. Signature select_contours_xld(Contours:SelectedContours:Feature,Min1,Max1,Min2,Max2: ) Description 'contour_length': all contours whose length is smaller thanMin1or larger thanMax1are not returned (Min2andMax2have no influe...
select_contours_xld selects XLD contours from the input contours Contours according to the following features (parameter Feature): 'contour_length': all contours whose length is smaller than Min1 or larger than Max1 are not returned (Min2 and Max2 have no influence here). 'maximum_extent'...
select_contours_xldselects XLD contours from the input contoursContoursaccording to the following features (parameterFeature): 'contour_length': all contours whose length is smaller thanMin1or larger thanMax1are not returned (Min2andMax2have no influence here). ...