跟我学机器视觉-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 initialize the program.***********************打开图像,获取图像宽度,高度***********************read_image (Image, 'bin_switch/bin_switch_2')get_image_size (Image, Width, Height)p_reopen_window_fit (0, 0, Width, Height, 640, WindowHandle)p_set_font (WindowHandle)dev_display (Image)************************显示图像如下:注意中间引脚反光**********************




