很适合初学者学习,很好的多模板匹配的例子。。。。
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using HalconDotNet;using System.Threading;namespace 多模板匹配{ public partial class Form1 : Form { public Form1() { InitializeComponent(); } HDevelopExport hd = new HDevelopExport(); // 公共图像变量定义 public HObject ho_image = new HObject(); public HTuple width = null, height = null; private void button1_Click(object sender, EventArgs e) { hd.action(hWindowControl1.HalconWindow); } }}
评论