Halcon自带示例目录

yangmengke2018 2021-09-27 原文


Halcon自带示例目录

【方法】——【一维测量】

1、3d_coordinates  3D坐标

  Measure slanted object in world coordinate  

  在世界坐标系中测量倾斜的物体

2、align_measurements  对齐测量

  Inspect individual razor blades using shape-based matching to align ROIs for the measure tool  

  使用基于形状的匹配来对齐测量工具的ROI,检查各个刀片

3、calibration_aimdpm_1_2006 

  Apply a reflectance calibration before inspecting the print quality of 2D data codes   

  在检查二维数据代码的打印质量之前应用反射校准

4、camera_calibration_external   相机外部标定

  Measure positions on a caliper rule using camera calibration  

  使用相机标定后在卡尺上测量位置  

  注:运行此示例前先运行camera_calibration_internal

5、camera_calibration_multi_image    多张图像进行相机标定

  Calibration the camera and measure positions on acaliper rule  

  进行相机标定并在卡钳上测量位置

6、camera_calibration_single_image   单张图像进行相机标定

  Calibrate the camera with a single image only and mesure positions on caliper rule  

  仅使用一张图像进行相机标定,并在卡钳上测量点位

7、check_smd_tilt  检测SMD倾斜

  Check if SMDs are tilted   

  检测贴片是否倾斜

8、close_contour_gaps  闭合轮廓间隙

  Close gaps in extracted straight contours   

  闭合提取的直线轮廓中的间隙

 9、correct_measure_direction  修正测量方向

  Automatically correct the orientation of measure object  

  自动校正测量矩形的方向

10、count_fish_sticks  数鱼棒

  Perform acompleteness check for fish sticks  

  对鱼棒进行完整性检查,一是计数、二是检测鱼棒的宽度

11、create_drawing_object_rectangle2  创建可移动的角度测量矩形

  Measure straight edges interactively within a rectangle using a drawing object  

  使用图形对象在矩形内交互测量直边

12、fuse  保险丝

  Measure the thickness of a fuse wire  

  测量保险丝的厚度

13、fuzzy_measure_pin  模糊测量pin针

  Measure pins of an IC using fuzzy measuring  

  用模糊测量法测量集成电路的引脚

14、fuzzy_measure_switch  模糊测量开关

  Determine the width of and the distance between the pins of  a switch with a fuzzy measure object  

  用模糊测量对象确定开关管脚的宽度和间距

16、gen_measure_arc  测量圆弧

  Measure edges perpendicular to a given arc  

  测量垂直于给定弧的边缘

17、gen_measure_rectangle2  测量矩形

  Measure edges perpendicular to a given arc  

  测量垂直于给定直线的边缘

18、inspect_bottle_label_360_degrss  360度检测酒瓶标签

  Combine four images of bottle into a mosaic image that shows the unrolled label of the bottle   

  将瓶子360的四个相机的图像组合成一张图像,显示瓶子的展开标签

19、measure_arc  圆环测量

  Measure the width of a metal part along a circulara arc    

  沿圆弧测量金属零件的宽度

20、measure_caliper  卡尺测量

  Measure the distance between the pitch lines of a caliper  

  测量卡钳节线之间的距离

21、measure_fill_level  测量填充量

  Inspect the fill level of ampoules  

  检查玻璃瓶的装填量

 22、measure_ic_leads  测量IC引线

  Measure leads of an IC  

  测量IC的引线

23、measure_Icd_cells  测量LCD单元

  Measure the dimensions of frames that separate the cells of an LCD display  

  测量LCD显示屏的分割单元,测量支架的尺寸

24、measure_pin  测量Pin

  Measure pins of IC   测量IC的pin角

25、measure_ring  测量齿宽

  Determine the width of cogs with a circular measure object  

  用圆形测量对象确定齿槽的宽度

26、measure_stamping_part  测量圆、矩形、直线、圆环等特征

  Measure circles、rectangles、and lines of a stamping part using an aligned metroloy model(calibrated)  

  使用对齐的Metroloy模型测量冲压件的圆、矩形和线条(已校准)

27、measure_switch  测量开关

  Determine the width of and the distance between the pins of a swicth  

  确定开关销的宽度和间距

28、measure_tft_cells  测量TFT单元

  Measure the dimensions of the RGB cells of a TFT LCD display  

  测量TFT LCD显示器的RGB单元的尺寸

29、pm_measure_board  芯片定位+测量

  Locate IC on a board and measure pin distances   

  在板上定位IC并测量pin距离

30、two_camera_calibration  两个相机标定

  Perform high precision mosaicking using aspecial calibration object  

  两个相机使用标定板执行高精度图像拼接

31、world_coordinates_line_scan  测量世界坐标下的线扫描距离

  Measure distance between the pitch lines of a caliper rule in a line scan image using camera calibration   

  用相机标定,测量线扫描图像中卡尺的螺距线之间的距离

 

【方法】——【几何测量】

1、3d_position_of_rectangle  矩形物体3D姿态

  Esitimate 3D pose of rectangular objects

  估计矩形物体的三维姿态

2、angle_ll  线线夹角

  输出的是弧度,需要tuple_deg转为角度,角度转为弧度是tuple_rad

  注意角度有正有负,这与输入的点的两个点的前后顺序有关

  Calculate the angle between two lines

  计算两条线的夹角

3、angle_lx  线与水平轴的夹角,顺时针从0开始依次是-30、-60、-90、-120、-150、-180、150、120、90、60、30、0

  Calculate the angle between a line and the vertical axis

  计算直线和垂直轴之间的角度

4、apply_bead_inspection_model   胶路检测模型   bead:小水珠、胶路

  Check correct position and thickness of adhesive beads using the bead inspection model

  使用胶条检查模型检查胶条的正确位置和厚度,检测断胶、溢胶、太厚、太薄

5、apply_distance_transform_xld  应用距离变换轮廓

  两个操作符都测量两个轮廓之间的点距离

  Compare the runtime of apply distance transform and distance contours xld

  比较应用距离变换和距离轮廓XLD的运行时间,apply_distance_transform_xld更快一点

6、apply_metrology_model   计量型模板

  Measure circular and rectangular pads using a metrology model

  使用计量模型测量圆形和矩形衬

7、apply_metrology_model_diamond  计量型模板计算钻石角度

  Measure the angle of a diamoud\’s cut using a metrology model

  使用计量模型测量钻石切割的角度

8、calibration_aimdpm_1_2006

  Apply a reflectance calibration before inspecting the print quality of 2D data codes

  在检查二维码打印质量前应用反射校准

9、check_soft_cheese   检测软奶酪   cheese:奶酪

  Check content of soft cheese packages

  检查软奶酪包装的含量

  一个盘子内有六个奶酪,六个奶酪中两个属于辣椒粉paprika,四个属于奶油cream,两个属于火腿ham,同品种的奶酪镜像放置,要求检测对应奶酪的个数、奶酪的位置有没有放错

10、detect_brochure_pages   检测手册页

  Find pages of articles in a picture database

  create_uncalib_descriptor_model  find_uncalib_descriptor_model

  在图片数据库中查找文章页

  对三张活页纸张创建模板,然后从不同角度不同光照去依此筛选

11、distance_cc_min

  Calculate the distance between two contours

  计算两个轮廓之间的距离

12、distance_cc_min_points

  Calculate the distance between two contours and return the points on the contours between which the distance was compured

  计算两个轮廓之间的距离,并返回计算距离的轮廓上的点。

13、distance_lr  line与region的距离

  Calculate the distance between a line and a region

  计算直线和区域之间的距离

  返回region距离直线最近点与最远点到直线垂线段的距离

14、distance_pc  point与contour的距离(包括最大与最小距离)

  Determine the minimun and maximum radius of drill holes by calculating the distance between a point and a contour

  通过计算点与轮廓之间的距离,确定钻孔的最小和最大半径

  点point位钻孔的中心点,轮廓contour为钻孔圆周上的轮廓

15、distance_pl  点线距离

  Calculate the distance between point and a line

  可以计算多个点到直线的距离

16、distance_pp  点点距离

  Calculate the distance between two points

  可以计算两个点的距离

17、distance_pr  点至region距离

  Calculate the distance between a point and a region

  计算一个点到Region的最大最小距离

18、distance_ps  

  Calculate the distance between a point and a line segment

  计算一个点到一条直线段的最大最小距离

  其实就是点距离直线段两个端点的距离,肯定有一个最大,有一个最小

19、distance_sl

  Calculate the distance between a line segment and a line

  计算直线段与一条直线的最大最小距离

  其实就是直线段两个端点距离直线的两个距离

20、distance_sr  线段到区域的距离

  Calculate the distance between a line segment and a region 

  线段到区域的最大最小距离

21、distance_ss  线段到线段的距离

  Calculate the distance between line segments

  计算两条线段到线段之间的距离

22、find_ncc_model_defocused_precision    自动对焦

  Examine ncc matchs in images with different foucuses of the lens

  检查镜头不同焦点图像中的NCC匹配

23、get_rectangle_pose_barcode  得到条码矩形位置

  Estimate 3D pose of bar codes

  估计条码的三维位置

24、inspect_3d_surface_intersections  检查3D物体表面交叉部分

  Check the angle and the dimensions of mouting tabs by inspecting planar intersections of the 3D object 

  通过检查三维物体的平面交叉点,检查安装凸耳的角度和尺寸。

25、inspect_bottle_label_360_degree  检查玻璃瓶标签

  Combine four images of a bottle into a mosaic image that shows the unrolled label of the bottle

  将瓶子的四个图像组合成马赛克图像,显示瓶子的展开标签。

26、inspect_frame_width  检查框线宽度

  Check the width of a phone camera frame by calculating the point-wise distance  between two xld contours

  通过计算两个轮廓线的点宽度,检查手机摄像头的边框宽度

27、intersection_contours  轮廓线交集

  Calculate the intersection points of lines,circles,and xld contours

  计算线、圆和XLD轮廓的交点

28、measure_circles  测量圆

  Get radii and positions of circular shapes

  获取圆形的半径和位置

29、measure_grid  测量格点

  Get junctions of a grid that separates keys

  获取分隔键的网格的连接点

30、measure_lcd_cells  测量LCD单元尺寸

  Measure the dimensions of frames that separate the cells of an LCD display

  测量分隔LCD显示单元的帧的尺寸

31、measure_metal_part_extended  测量金属零件

  Measure several features of a metal part

  测量金属零件的几何特征

32、measure_metal_part_first_example  测量金属零件的的圆

  Measure several features of a metal part

  测量金属零件的几何特征

33、measure_metal_part_id  测量金属零件Id

  Inspect metal part for missing or deviating circular shapes

  检查金属零件是否丢失或偏离圆形特征

34、measure_ring  测量齿宽

  Determine the width of cogs with a circular measure object

  用圆形测量对象确定齿槽的宽度

35、measure_screw  测量螺丝的直径

  Measure several feature of a screw

  测量螺钉的几个特征

36、measure_stamping_part  测量标定板

  Measure circles,rectangles,and lines of a stamping part using an aligned metroloy medel(calibrated)

  标定测量标定板的圆、矩形和线条

37、pose_of_known_3d_object  3D物体的位置姿态

  Determine pose of object by extracting three or more reference points

  通过提取三个或更多参考点来确定物体的姿态

38、projection_pl  点到线的投影

  Project a point onto a line 

  点到线的投影

39、scene_flow_globe  场景流球体

  Calculate the 3D scene flow between two stereo image pairs to recover the motion of an object in 3D

  计算两个立体图像对之间的三维场景流,以恢复三维物体的运动。

 

发表于
2019-06-13 15:14 
杨萌珂 
阅读(3462
评论(0
编辑 
收藏 
举报

 

版权声明:本文为yangmengke2018原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://www.cnblogs.com/yangmengke2018/p/11016666.html

Halcon自带示例目录的更多相关文章

随机推荐

  1. 主成分分析(principal components analysis)介绍【转】

    主成分分析(principal components analysis,PCA)又称:主分量分析,主成分回归分 […]...

  2. selenium元素定位之XPath

    一、基本定位方法 绝对路径:以 “/”  开头,从页面根节点开始解析,/代表选取直接子 […]...

  3. 学习笔记72—论文送英语编辑公司的流程

    举例:ShineWrite公司(http://www.shinewrite.com/user/login.ht […]...

  4. javaWeb概述

    web概念概述 web概念概述 JavaWeb 使用Java语言开发基于互联网的项目 软件架构 C/S: Cl […]...

  5. 第一次个人编程作业

    这个作业属于哪个课程 https://edu.cnblogs.com/campus/gdgy/Networke […]...

  6. 数据库备份和还原

    数据库备份和还原 一、数据备份   1、使用mysqldump命令备份   mysqldump命令将数据库中的 […]...

  7. 几种编程语言及其介绍 – 颜子琦

    几种编程语言及其介绍 机器语言:纯粹的机器代码 。汇编语言:8086汇编、Win32汇编、.NET的汇编 高级 […]...

  8. RocketMQ简介及配置

    一、简介 二、安装配置   一、简介   RocketMQ为阿里的开源消息中间件,第一代的 Notify 主要 […]...

展开目录

目录导航