*4.测量的设置 set_metrology_object_param (MetrologyCircleHandle, CircleIndex, 'num_instances', 1) set_metrology_object_param (MetrologyCircleHandle, CircleIndex, 'min_score', 0.1) *5.输入测量的对象 apply_metrology_model (ImageResult1, MetrologyCircleHandle) *6.1 获取测量结果 get_metrology_object...
5.2 *预期测量的区域个数 set_metrology_object_param (MetrologyHandle, 'all', 'num_instances', 12) 5.3*拟合数 set_metrology_object_param (MetrologyHandle, 'all', 'num_instances', 6) 5.4*高斯平滑系数,值越大,唯一的边缘越清晰 set_metrology_object_param (MetrologyHandle, 'all', 'measure_sigma...
10get_metrology_object_model_contour在图像坐标中查询计量对象的模型轮廓 11get_metrology_object_num_instances获取测量模型的测量对象的实例数量 12get_metrology_object_param获取测量模型的一个或多个参数 13get_metrology_object_result获取测量模型的测量结果 14get_metrology_object_result_contour获取测量对象的结果...
* 参数3:GenParamName:输入参数名称;默认:‘num_instances’,参考: * 'measure_length1':区域,垂直于边界的测量区域的一半长度 * 'measure_length2':区域,相切于边界的测量区域的一半长度 * 'measure_distance':区域,两个测量区域中心之间的距离 * 'num_measures':区域,测量区域数 * 'measure_sigma':测量,用...
num_instances: The parameter specifies the maximum number of successfully fitted instances of each metrology object after which the fitting will stop. distance_threshold: apply_metrology_model uses a randomized search algorithm (RANSAC) to fit the geometric shapes. ...
set_metrology_object_param (MetrologyHandle, MetrologyCircleIndices, ‘num_instances’, 2) *设置找圆方向,一般是positive或者negetive.'uniform’代表统一 set_metrology_object_param (MetrologyHandle, MetrologyCircleIndices, ‘measure_transition’, ‘uniform’) ...
'num_instances': The parameter specifies the maximum number of successfully fitted instances of each metrology object after which the fitting will stop (seeapply_metrology_model). Successfully fitted instances of the metrology objects must have a score of at least the value of'min_score'. ...
Default: 'num_instances' List of values: 'distance_threshold', 'instances_outside_measure_regions', 'max_num_iterations', 'measure_distance', 'measure_interpolation', 'measure_length1', 'measure_length2', 'measure_select', 'measure_sigma', 'measure_threshold', 'measure_transition', 'min_...
set_metrology_object_param (MetrologyHandle, 'all', 'num_measures',20)set_metrology_object_param (MetrologyHandle, 'all', 'num_instances', 1) set_metrology_object_param (MetrologyHandle, 'all', 'measure_sigma', 1)set_metrology_object_param (MetrologyHandle, 'all', 'measure_length1', 20...
NumMatches := num_instances(匹配结果) for i := 1 to NumMatches get_instance_contour(匹配结果,匹配轮廓, i) get_match_result(匹配结果,匹配位置X,匹配位置Y,匹配角度,匹配缩放因子, i) //对匹配位置、角度、缩放因子进行进一步处理 endfor ``` 这只是一个简单的模板匹配案例,实际使用时可能需要根据具...