随笔分类 - 视觉 / HALCON
摘要: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
阅读全文
摘要:1.原图——dev_set_lut('default') 2.dev_set_lut('rainbow') 3.dev_set_lut('temperature') 4.dev_set_lut('inverse') 其它可设置参数: * 'default', 'linear', 'inverse',
阅读全文
摘要:* Application program to demonstrate the calibration of * a binocular stereo system using the operators * find_caltab, find_marks_and_pose, and binocu
阅读全文