
Halcon学习
Halconl例程
究极调参工程师
生命是一场无声的道别。
展开
-
Halcon例程分析20:Halcon多线程处理图像
二维码* This is a simple example program that demonstrates the* Aoption to call several HLtoCON operars or procedures in parallel.* In general, owing to the overheadof thread creation,* not in all cases a speedup can be expected,* especially, if the u原创 2020-06-12 20:13:33 · 3901 阅读 · 0 评论 -
Halcon例程分析19:点胶质量-断胶、少胶、胶宽、胶路检测
打开halcon,按下ctrl+e打开halcon自带例程。应用范围->二维测量比较->apply_bead_inspection_model.hdev* This example shows how to use bead inspection to verify* adhesive beads. Bead inspection can be used to detect the* following errors:* - segments where adhesive is m原创 2020-06-11 22:54:40 · 12075 阅读 · 3 评论 -
Halcon例程分析18:模板匹配搜索测量区域
打开halcon,按下ctrl+e打开halcon自带例程。方法->模板匹配(基于形状)->measure_stamping_part.hdev* Initialize visualizationdev_update_off ()dev_close_window ()dev_set_draw ('margin')gen_empty_obj (EmptyObject)*读...原创 2020-01-14 17:12:57 · 1970 阅读 · 0 评论 -
Halcon例程分析17:查找各向异性模板(基于形状)
打开halcon,按下ctrl+e打开halcon自带例程。方法->模板匹配(基于形状)->find_aniso_shape_model.hdev* This example program shows how to use HALCON's shape-based matching* to find SMD capacitors that exhibit independen...原创 2020-01-07 18:10:15 · 1016 阅读 · 0 评论 -
Halcon例程分析16:药粒分类(基于SVM)
打开halcon,按下ctrl+e打开halcon自带例程。工业领域->制药业->classify_pills_auto_select_features.hdev* This example shows how to use the calculate_feature_set* procedure library together with the automatic feat...原创 2020-01-02 18:08:09 · 2154 阅读 · 0 评论 -
Halcon例程分析15:剔除"翼"形毛刺
打开halcon,按下ctrl+e打开halcon自带例程。工业领域->橡胶,人造材料,金属薄片->fin.hdev* fin.hdev: Detection of a fin* dev_update_window ('off')read_image (Fins, 'fin' + [1:3])get_image_size (Fins, Width, Height)dev...原创 2019-12-31 18:10:14 · 3271 阅读 · 3 评论 -
Halcon例程分析14:模板匹配(基于相关性)
打开halcon,按下ctrl+e打开halcon自带例程。方法->模板匹配(基于相关性)->find_ncc_model_exposure.hdevncc模板匹配算法的一个重要特性是光照不敏感* This example program shows how to use HALCON's correlation-based* matching. In particular...原创 2019-12-30 17:56:04 · 1247 阅读 · 1 评论 -
Halcon例程分析13:OCR文字识别
打开halcon,按下ctrl+e打开halcon自带例程。应用范围->光学字符识别->ocrcolor.hdev* * OCR (numbers) with color segmentation* read_image (Image, 'ocr/color_form_01')get_image_pointer3 (Image, PointerRed, PointerGr...原创 2019-12-28 09:26:41 · 3552 阅读 · 0 评论 -
Halcon例程分析12:OCR文字识别模型训练
打开halcon,按下ctrl+e打开halcon自带例程。应用范围->光学字符识别->ocrcolort.hdev* * OCR (numbers) with color segmentation* Creation of training files* read_image (Image, 'ocr/color_form_01')get_image_pointer...原创 2019-12-27 18:17:02 · 1700 阅读 · 1 评论 -
Halcon例程分析11:物体位姿检测
打开halcon,按下ctrl+e打开halcon自带例程。方法->模板匹配(基于描述符)->locate_cookie_box.hdev* This example shows how to find a cookie box aligned in different* directions with the descriptor based matching feature...原创 2019-12-25 15:43:34 · 4369 阅读 · 1 评论 -
Halcon例程分析10:仿射变换物体的测量
打开halcon,按下ctrl+e打开halcon自带例程。方法->模板匹配(基于形状)->pm_measure_board.hdev********************************************************************************** This example program shows the use of pa...原创 2019-12-24 18:11:12 · 1177 阅读 · 5 评论 -
Halcon例程分析9:多模板形状匹配的物品分类
打开halcon,按下ctrl+e打开halcon自带例程。方法->模板匹配(基于形状)->matching_coins.hdev下面的例程经过改动,官方例程是用本地函数,我这里为方便说明把本地函数全部写在主函数中* distinguishing of coins with the help of shape-based matching* dev_close_windo...原创 2019-12-24 17:53:41 · 2360 阅读 · 0 评论 -
Halcon例程分析8:投影变换矫正倾斜图像
打开halcon,按下ctrl+e打开halcon自带例程。方法->二维码识别->2d_data_codesrectify_symbol.hdev*This program demonstrates how to read a slanted* 2d data code by preprocessing with rectification*dev_update_off()...原创 2019-12-23 15:10:27 · 8585 阅读 · 2 评论 -
Halcon例程分析7:划痕检测
打开halcon,按下ctrl+e打开halcon自带例程。工业领域->光学与精密工程->surface_scratch.hdev* This programm shows the extraction of surface scratches via* local thresholding and morphological post-processing* dev_up...原创 2019-12-22 19:45:12 · 2669 阅读 · 3 评论 -
Halcon例程分析6:圆弧测量工具
* Example for the application of the measure package* including a lot of visualization operators* *读取图像read_image (Zeiss1, 'zeiss1')get_image_size (Zeiss1, Width, Height)dev_close_window ()de...原创 2019-12-22 14:06:33 · 6562 阅读 · 0 评论 -
Halcon例程分析5:芯片测量
打开halcon,按下ctrl+e打开halcon自带例程。工业领域->半导体业->measure_pin.hdev* Pin Measurement: Example for the application of the measure package* including a lot of visualization operators* dev_close_windo...原创 2019-12-22 11:57:39 · 2265 阅读 · 0 评论 -
Halcon例程分析4:基于形状的模板匹配
打开halcon,按下ctrl+e打开halcon自带例程。方法->模板匹配(基于形状)->find_scaled_shape_model.hdev此方法通过形状的轮廓来查找,主要用于需要寻找的物体轮廓清晰,黑白特征明显,轮廓架构相对简单的情形。* This example program shows how to find scaled and rotated shape ...原创 2019-12-21 12:21:52 · 5883 阅读 · 1 评论 -
Halcon例程分析3:焊盘定位
打开halcon,按下ctrl+e打开halcon自带例程。工业领域->半导体业->find_pads.hdev通过blob分析,应用矩形拟合方式定位焊盘点位置。* This example program shows how to find pads in an image and how to* determine their position, rotation, a...原创 2019-12-20 16:02:32 · 1261 阅读 · 0 评论 -
Halcon例程分析2:颜色检测识别
打开halcon,按下ctrl+e打开halcon自带例程。应用范围->颜色检测->color_fuses.hdev颜色检测是通过把图像转化为hsv图像,然后对Hue图像值范围进行检测的,Hue值范围可通过显示Hue图像,按住ctrl键,鼠标移动到图像上查看某一颜色的Hue值范围。* color_fuses.hdev: classify fuses by colordev_...原创 2019-12-20 15:16:00 · 8241 阅读 · 0 评论 -
Halcon例程分析1:识别回形针方向
打开halcon,按下ctrl+e打开halcon自带例程。应用范围->二维位置定位->clip.hdev* clip.hdev: Orientation of clips* dev_update_window ('off')*读取图像read_image (Clip, 'clip') get_image_size (Clip, Width, Height)dev_c...原创 2019-12-20 14:42:26 · 3731 阅读 · 0 评论