• 大小: 0.72M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: Halcon  C#  

资源简介

c# & Halcon 实现通过相机图像采集及处理

资源截图

代码片段和文件信息

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;

namespace showpicture
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        Hobject ho_image ho_GrayImage ho_regions;



        HTuple hv_WindowHandle = null hv_Height hv_Width;
        HTuple hv_AcqHandle = null;

        private void button1_Click(object sender EventArgs e)
        {
            string imagePath;
            openFileDialog1.Filter = “JEPG文件|*.jpg*|BMP文件|*.bmp*“;
            openFileDialog1.RestoreDirectory = true;
            HOperatorSet.GenEmptyObj(out ho_

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    ..A..H.     42496  2020-01-04 22:14  showpicture\.vs\showpicture\v15\.suo

     文件    1507848  2019-11-13 19:38  showpicture\showpicture\bin\Debug\halcondotnet.dll

     文件    4582423  2019-11-13 19:20  showpicture\showpicture\bin\Debug\halcondotnet.xml

     文件      11776  2019-12-22 10:00  showpicture\showpicture\bin\Debug\showpicture.exe

     文件      30208  2019-12-22 10:00  showpicture\showpicture\bin\Debug\showpicture.pdb

     文件       3624  2019-12-22 09:53  showpicture\showpicture\Form1.cs

     文件       7169  2019-12-22 09:52  showpicture\showpicture\Form1.Designer.cs

     文件       6420  2019-12-22 09:52  showpicture\showpicture\Form1.resx

     文件       9686  2019-12-19 23:26  showpicture\showpicture\obj\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       6971  2019-12-19 22:25  showpicture\showpicture\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件          0  2019-12-22 10:00  showpicture\showpicture\obj\Debug\showpicture.csproj.CopyComplete

     文件         42  2019-12-19 22:02  showpicture\showpicture\obj\Debug\showpicture.csproj.CoreCompileInputs.cache

     文件       1084  2019-12-22 00:46  showpicture\showpicture\obj\Debug\showpicture.csproj.FileListAbsolute.txt

     文件        847  2019-12-22 09:52  showpicture\showpicture\obj\Debug\showpicture.csproj.GenerateResource.cache

     文件      10209  2019-12-19 22:25  showpicture\showpicture\obj\Debug\showpicture.csprojAssemblyReference.cache

     文件      11776  2019-12-22 10:00  showpicture\showpicture\obj\Debug\showpicture.exe

     文件        180  2019-12-22 09:52  showpicture\showpicture\obj\Debug\showpicture.Form1.resources

     文件      30208  2019-12-22 10:00  showpicture\showpicture\obj\Debug\showpicture.pdb

     文件        180  2019-12-19 22:25  showpicture\showpicture\obj\Debug\showpicture.Properties.Resources.resources

     文件        492  2019-12-19 22:01  showpicture\showpicture\Program.cs

     文件       1320  2019-12-19 22:01  showpicture\showpicture\Properties\AssemblyInfo.cs

     文件       2835  2019-12-19 22:01  showpicture\showpicture\Properties\Resources.Designer.cs

     文件       5612  2019-12-19 22:01  showpicture\showpicture\Properties\Resources.resx

     文件       1098  2019-12-19 22:01  showpicture\showpicture\Properties\Settings.Designer.cs

     文件        249  2019-12-19 22:01  showpicture\showpicture\Properties\Settings.settings

     文件       3541  2019-12-19 22:25  showpicture\showpicture\showpicture.csproj

     文件       1132  2019-12-19 22:01  showpicture\showpicture.sln

     目录          0  2019-12-19 22:01  showpicture\.vs\showpicture\v15\Server\sqlite3

     目录          0  2019-12-19 22:01  showpicture\.vs\showpicture\v15\Server

     目录          0  2019-12-19 22:01  showpicture\showpicture\obj\Debug\TempPE

............此处省略17个文件信息

评论

共有 条评论