- 博客(12)
- 收藏
- 关注
原创 camera_calibration_multi_image.hdev
ImgPath := ‘3d_machine_vision/calib/’dev_close_window ()dev_open_window (0, 0, 640, 480, ‘black’, WindowHandle)dev_update_off ()dev_set_draw (‘margin’)dev_set_line_width (3)set_display_font (WindowHandle, 22, ‘mono’, ‘true’, ‘false’)*Calibrate the
2021-09-23 16:32:40 133
原创 halcon模板匹配重设原点
dev_close_window ()dev_open_window (0, 0, 512, 512, ‘black’, WindowHandle)read_image (Image, ‘C:/Users/MEIMAN/Desktop/13_40_20_298_1孔.tiff’)gen_rectangle1 (ROI_0, 291.775, 290.482, 1693.04, 2002.58)reduce_domain (Image, ROI_0, ImageReduced)*draw_regio
2021-07-29 10:06:43 469
原创 Halcon畸变矫正流程
1:标定获取相机内外参相机内参CameraParameters := [‘area_scan_division’,0.00684316,98.2803,8.31324e-006,8.3e-006,237.113,272.017,640,512]相机外参CameraPose := [0.0343378,-0.00833442,0.376749,359.672,358.654,180.521,0]:2:根据指定的径向畸变确定新的摄像机参数change_radial_distortion_cam_pa
2021-07-28 11:35:26 1830 1
原创 while例程
dev_update_window (‘off’)dev_close_window ()dev_open_window (0, 0, 512, 512, ‘black’, WindowID)read_image (Image, ‘particle’)dev_display (Image)stop ()threshold (Image, Large, 110, 255)dilation_circle (Large, LargeDilation, 7.5)//以圆为单位进行区域膨胀dev_dis
2020-09-20 23:35:13 159
原创 BCC校验
string r = "%01#WDD02500100"; string s= StrToHex_Str(r);//将字符串转换16 //进制字符串 byte[] data= Hex_StrToByte(s);//16进制字符串转换为字节数组 string m = Get_CheckXor(data);//获得和校验之后16进制的字符串 /// ...
2020-06-07 00:10:56 984
原创 halcon-Develop
1.close_measureclose_measure( : : MeasureHandle : )关闭一个测量句柄1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.
2020-06-01 13:06:11 1246
原创 halcon—Control
1.assign复值运算符例如:u := sin(x) + cos(y),相当于assign (1, u)2.break终止循环执行,跳出当前循环3.comment添加注释即,例如 *这是一行新代码4.continue跳出现在循环,执行下一次循环5.if语句if(执行条件)else if (执行条件)elseendif6.for语句for Index := 1 to 5 by 1endfor7.while语句while (u)endwhile8.ifelse语句if
2020-05-31 22:23:26 387
原创 determine_rotation_almost_rotationally_symmetric_objects
* This example shows how the orientation of a* almost rotationally symmetric object is determined* robustly using a combination of shape-based matching* and polar transform.* * The rotational symmetry leads to the problem,* that the orientation of th
2020-05-23 13:14:51 272
原创 correct_measure_direction
This program demonstrates the automatic refinement of theorientation of a measure object used for 1D measuring.If the ROI for the measurement entered by the user isnot exactly perpendicular to the measured structure,the program estimates the correct ..
2020-05-21 11:55:40 255
原创 check_blister
* This example demonstrates an application from the pharmaceutical* industry. The task is to check the content of automatically filled* blisters. The first image (reference) is used to locate the chambers* within a blister shape as a reference model, wh
2020-05-20 16:21:12 349
原创 共生矩阵
cooc_feature_image(Regions, Image : : LdGray, Direction : Energy, Correlation, Homogeneity, Contrast)Regions:要计算的区域image:要计算的灰度图像LDGray:待区分灰度值的个数**Direction :矩阵的方向Energy:灰度能量值每个矩阵元素的平方和,是灰度共生矩阵元素值的平方和,所以也称之为能量,反映了图像灰度分布均匀程度和纹理粗细度。ASM值大表明一种较均一和规则变化的纹
2020-05-15 14:00:57 1531 1
原创 fit_rectangle2_contour_xld
这里写自定义目录标题欢迎使用Markdown编辑器新的改变功能快捷键合理的创建标题,有助于目录的生成如何改变文本的样式插入链接与图片如何插入一段漂亮的代码片生成一个适合你的列表创建一个表格设定内容居中、居左、居右SmartyPants创建一个自定义列表如何创建一个注脚注释也是必不可少的KaTeX数学公式新的甘特图功能,丰富你的文章UML 图表FLowchart流程图导出与导入导出导入欢迎使用Markdown编辑器你好! 这是你第一次使用 Markdown编辑器 所展示的欢迎页。如果你想学习如何使用Mar
2020-05-14 14:43:10 2384
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人