Example #1
0
        private void btnStduyTemp_Click(object sender, EventArgs e)
        {
            CPKTools    tools = new CPKTools();
            VisionImage align = new VisionImage();

            Form_Main.Instance.Extract_LearnGemetric(Form_Main.Instance.imageSet.Image, align);
            Algorithms.Copy(align, this.image_Edit.Image);
            // save image
            //System.AppDomain.CurrentDomain.BaseDirectory + "Configure\\
            align.WriteVisionFile(Variable.sPath_Configure + "CPK_Template.png");
        }