03 2024 档案
摘要: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
阅读全文
摘要:图像分割之高斯混合模型 使用GMM的步骤如下: 首先,GMM由create_class_gmm创建。 然后,通过add_sample_class_gmm添加训练向量,然后可以使用write_samples_class_gmm将它们写入磁盘。 通过train_class_gmm确定分类器中心参数(如上
阅读全文
摘要: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.canvas window 画布窗口 2.call stack 调用堆栈 3.feature histogram 特征直方图 4.Quick Navigation 快速导航 5.Arithmetic operations 算术运算 6.euclid distance 欧几里得距离 7.Scala
阅读全文
摘要: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
阅读全文
摘要:1.定义 * 允许0 次或多次重复 + 允许1次或多次重复 ? 允许0次或1次重复 {n,m} 允许n到m次重复 {n} 允许n次重复 ^ 匹配字符串开头$ 匹配字符串结尾. 匹配除换行符外所有字符 2.事例 *正则表达式基本操作 tuple_regexp_match ('abba', 'ab*',
阅读全文
摘要:自版本18.11后,支持UTF-8 1.字符转Unicode码 tuple_ord ('s', Ord)dev_clear_window()dev_disp_text('\'s\'的Unicode码为'+Ord, 'window', 'center', 'center', 'black','box_
阅读全文
摘要:*字符截取操作 String1 := 'abcdefghij'String2 := '0123456'Message := '字符截取操作'Message[1] := 'String1 := \'abcdefghij\''Message[2] := 'String2 := \'0123456\''d
阅读全文
摘要:1.整形数组操作 dev_clear_window()TupleInt1 := [3,1,2,9,1]dev_disp_text('整形数组操作', 'window', 60, 0, 'white', 'box_color', '#00ffff4c')dev_disp_text('数组TupleIn
阅读全文
摘要:dev_clear_window()dev_disp_text('欧几里得距离计算', 'window', 200, 200, 'black','box_color', '#00ffffc0')V1 := [18.8,132.4,33,19.3]dev_disp_text('V1='+V1, 'wi
阅读全文
摘要:1.周期为2pi正弦函数绘制 dev_close_window () dev_open_window (0, 0, 512, 512, 'black', WindowID) dev_set_part (0, 0, 511, 511) old_x := 0 old_y := 0 Rate:= 1 de
阅读全文
摘要:dev_clear_window()dev_disp_text('数128位左移两位为'+lsh(128,2), 'window', 'center', 'center', 'black','box_color', '#00ffffc0') dev_clear_window()dev_disp_te
阅读全文
摘要:Tuple1 := [1,2,3,4,5] Number := |Tuple1|dev_clear_window()dev_disp_text('Tuple1 := [1,2,3,4,5]'+'大小为'+Number, 'window', 'center', 'center', 'black','b
阅读全文
摘要:R1 := 1 == 1.0dev_clear_window()dev_disp_text('R1 := 1 == 1.0'+' \n判断结果'+R1, 'window', 'center', 'center', 'black','box_color', '#00ffffc0') R2 := []
阅读全文
摘要:整数i:=123操作: 1.十进制转八进制 dev_clear_window()dev_disp_text('十进制'+i+'转为八进制为'+i$'#o', 'window', 'center', 'center', 'black','box_color', '#00ffffc0') 2.十进制转1
阅读全文
摘要:R1 := 5 * 5 R2 := 5 * 5 R3 := [1,2,3] * 2 R4 := [1,2,3] * 2.1 + 10 R5 := [1,2,3] * [1,2,3] R6 := 'Text1' + 'Text2' R7 := 17.23 + 'Text' R8 := 'Text1 '
阅读全文
摘要:格式:dev_open_tool( : : ToolName, Row, Column, Width, Height, GenParamName, GenParamValue : ToolId) 1.Main Windows类型 dev_open_tool('variable_window','de
阅读全文
摘要:1.生成等间距点背景图像 Width := 800Height := 600Step := 20GrayBackground := 230GrayGrid := 120Smoothing := 3* Generate the squared paper.gen_image_const (Image,
阅读全文
摘要:1.默认参数设置 Text := '默认显示第一行'Text[1] := '默认显示第二行'Text[2] := '默认显示第三行'dev_disp_text (Text, 'window', 12, 12, 'black', [], []) 2.设置行、列值 dev_disp_text ('Row
阅读全文
摘要:dev_open_dialog ('about_dialog') dev_open_dialog ('duplicate_procedure_dialog') dev_open_dialog ('export_dialog') dev_open_dialog ('open_graphics_wind
阅读全文
摘要:>>>dev_open_file_dialog( : : Filter, Mode, Path : Selection) Mode可取值:'default', 'dir', 'read', 'read_multi', 'write' >>dev_open_file_dialog ('read_ima
阅读全文
摘要:dev_set_check( : : Mode : ) dev_set_check specifies how HDevelop has to react in case of an error, i.e., if the return state of an operator is not H_M
阅读全文
摘要:1.原图——dev_set_lut('default') 2.dev_set_lut('rainbow') 3.dev_set_lut('temperature') 4.dev_set_lut('inverse') 其它可设置参数: * 'default', 'linear', 'inverse',
阅读全文
摘要:1.矩阵创建 create_matrix — Create a matrix. 创建一个矩阵 create_matrix( : : Rows, Columns, Value : MatrixID) A.创建一个3*3单位矩阵 create_matrix(3,3,'iidentity',MatrixI
阅读全文
摘要:1.三对角矩阵 tridiagonal matrix 2.上三角矩阵 upper triangular matrix 3.下三角矩阵 lower triangular matrix 4.正定矩阵 positive definite matrix 5.负定矩阵 negative definite ma
阅读全文
摘要:1.subpixel edge 亚像素 2.one-dimensional 一维 3.edge profile 边缘轮廓 4.standard deviation 标准差 5.derivative 导数 6.salient edges 显著边缘 7.amplitude values 振幅值 8.co
阅读全文
摘要:1.核心算子 measure_pos — Extract straight edges perpendicular to a rectangle or annular arc. 提取垂直于矩形或环形圆弧的直边 measure_pairs — Extract straight edge pairs p
阅读全文