* This program shows how to detect the edges of a diamond * with subpixel accuracy and calculate the angle between them. * * In contrast to the example measure_diamond.hdev, * this example uses a metrology model to measure the edges. * * First, the t…
The Basics of Measure Objects 2.1 the process of 1D Edge extraction Then, the mean gray value along each line of projection is calculated. The sequence of these mean values is called the profile 简单的说 是以 profile Line 为基准 对profile Lin…
跟我学机器视觉-HALCON学习例程中文详解-FUZZY检测用于开关引脚测量 * This example program demonstrates the basic usage of a fuzzy measure object. * Here, the task is to determine the width of and the distance between the * pins of a switch. * * First, read in the image and init…
跟我学机器视觉-HALCON学习例程中文详解-测量圆环脚宽间距 This example program demonstrates the basic usage of a circular measure object. Here, the task is to determine the width of the cogs. *首先读取图像,获取图像的宽度和高度 First, read in the image and initialize the program. read_image (…
跟我学机器视觉-HALCON学习例程中文详解-开关引脚测量 This example program demonstrates the basic usage of a measure object. Here, the task is to determine the width of and the distance between the pins of a switch. *本例程演示了如何使用测量工具测量开关的引脚宽度和间距 First, read in the image and i…
跟我学机器视觉-HALCON学习例程中文详解-IC引脚测量 Lead Measurement: Example for the application of the measure object including a lot of visualization operators. First, the length of the leads is measured, then, their width and distance from each other. First, read in t…
halcon软件最高效的一个方面在于模板匹配,号称可以快速进行柔性模板匹配,能够非常方便的用于缺陷检测.目标定位.下面以一个简单的例子说明基于形状特征的模板匹配. 为了在右图中,定位图中的三个带旋转箭头的圆圈.注意存在,位置.旋转和尺度变化. 上halcon程序 * This example program shows how to find scaled and rotated shape models. dev_update_pc ('off') dev_update_window…