随笔分类 - 视觉 / HALCON
摘要:inspect_shape_model creates a representation of a shape model. The operator is particularly useful in order to determine the parameters NumLevels and
阅读全文
摘要:*此示例演示了使用变体模型的打印检查。 *变异模型使用单个模型图像进行训练。在应用打印检测之前,图像将缩放到与模型相同的灰度值范围。 dev_update_off () dev_close_window () * * Read model image and init visualization *
阅读全文
摘要:determine_shape_model_params — Determine the parameters of a shape model. 模版匹配参数确定 determine_shape_model_params determines certain parameters of a sha
阅读全文
摘要:The operator create_shape_model prepares a template, which is passed in the image Template, as a shape model used for matching. The ROI of the model i
阅读全文
摘要:** 计算高斯金字塔图像 * dev_open_window(0, 0, 800, 600, 'black', WindowHandle) read_image (Image, 'fix.png') * * 初始化显示 dev_close_window () get_image_size (Imag
阅读全文
摘要:通过设置杂波,来准确定位要检测对象; 如下图中未设置杂波情况下,匹配结果如(3);如图(4)设置杂波后,匹配结果如图(5) * * Create a shape model. *创建一个模型 read_image (ImageModel, '/bga_gap/bga_gap_01.png') gen
阅读全文
摘要:1.'min_contrast' 最小对比度 Sets the minimum contrast of the object in the search images for the shape model ModelID. Thereby, the value of 'min_contrast'
阅读全文
摘要:* In this example five different color fuses are segmented with * a look-up table classifier (LUT) based on a Gaussian Mixture * Model (GMM). *基于高斯混合模
阅读全文
摘要:* This example program shows you how to use the GMM classifier for novelty * detection to perform a web inspection task. To perform the novelty detect
阅读全文
摘要:* 此示例程序演示如何应用通用 GMM * 使用“面积”和“圆度”特征区分柑橘类水果的分类。此外,还对提取的水果的 2D 特征空间进行了可视化。 * read_image (Image, 'color/citrus_fruits_01') get_image_pointer1 (Image, Poi
阅读全文
摘要:replace_obj — Replaces one or more elements of an iconic object tuple. 替换图形数组中一个或多个对象 * replace_obj算子使用* dev_update_off ()dev_close_window ()dev_open_
阅读全文
摘要:remove_obj — Remove objects from an iconic object tuple. 从图形数组中移除对象 * * This example demonstrates various use cases for the remove_obj operator.*此示例演示
阅读全文
摘要:obj_diff — Calculate the difference of two object tuples. 计算两个对象的差异 *region类型 获取内容差异 *image类型/XLDs类型 仅比较内存地址差异 *mixed类型(如image和xld的混合类型) * * obj_diff使
阅读全文
摘要:insert_obj — Insert objects into an iconic object tuple. 插入对象到图标对象数组中 *以下实例展示了,在垂直两张图像中,插入一张蓝莓图像 dev_update_off ()dev_close_window ()dev_open_window (
阅读全文
摘要:* 此示例程序显示了运算符compare_obj的用法。* 特别是,它显示了 compare_obj 和 test_equal_obj 之间的区别,compare_obj 比较对象的实际内容,而 test_equal_obj 比较图像和 XLD 在内存中的位置。* compare_obj——比较实际
阅读全文
摘要:1.tuple增加操作——tuple_insert OriginalTuple := [0,1,2,3,4,5]* 指定索引处插入一个元素tuple_insert (OriginalTuple, 3, 'x', InsertSingleValueA)* HDevelop执行同样操作InsertSin
阅读全文
摘要:* 此示例说明如何使用 tuple_histo_range 计算元组在用户定义的值范围和条柱数中的值分布。* *随机生成10个[0,1]之间的随机数tuple_rand (10, Tuple) * MinValue := 0.0MaxValue := 1.0*表示范围分成4等份NumBins :=
阅读全文
摘要:* 此示例演示如何使用运算符tuple_type,* tuple_is_int、tuple_is_real、tuple_is_string、* tuple_is_mixed和元素运算符* tuple_type_elem、tuple_is_int_elem、tuple_is_real_elem、* 和
阅读全文
摘要:A := [1,2,1,3,1,4,2,5,4,6]B := [1,3,3,3,4,4,2,2,6,6]C := ['x','y','xyz','yyy','z']* * Part 1* 显示元素元组比较。* 可以比较两个相同长度的元组,也可以将一个元组与单个值进行比较。以下行显示* a) HDev
阅读全文
摘要:*字典旨在将任意元组和/或标志性对象数据存储在单个容器中。存储的数据与键值(数字或字符串)相关联,以在容器中处理这些数据值 dev_close_window ()dev_open_window (0, 0, 512, 512, 'black', WindowHandle)* dev_resize_w
阅读全文