91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

3D圖片彩色顯示,擬合平面,點到面距離,面到面距離,提取區域高度值,提取線段區域高度值

資源截圖

代碼片段和文件信息

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?System.Runtime.InteropServices;
using?HalconDotNet;

namespace?test
{
????public?partial?class?Form1?:?Form
????{
????????public?Form1()
????????{
????????????InitializeComponent();
????????}

????????HTuple?WindowHandle;
????????private?void?Form1_Load(object?sender?EventArgs?e)
????????{
????????????HOperatorSet.OpenWindow(pictureBox1.Left?pictureBox1.Top?pictureBox1.Width?pictureBox1.Height?(HTuple)pictureBox1.Handle?“visible“?““?out?WindowHandle);

????????????try
????????????{
????????????????homMat2D?=?new?HTuple();
????????????????HOperatorSet.ReadTuple(“./calib.tup“?out?homMat2D);
????????????}
????????????catch
????????????{?}
????????}

????????int[]?input?=?new?int[6400];
????????int?width?=?800;
????????int?height?=?2000;
????????Hobject?Image1?=?new?Hobject();
????????byte[]?output?=?new?byte[800*2000];

????????int[]?output_int?=?new?int[800?*?2000];
????????private?void?button1_Click(object?sender?EventArgs?e)
????????{????????????
????????????for?(int?i?=?0;?i?????????????{
????????????????output[i]?=?(byte)(i?*?(255.0?/?output.Length));
????????????}
????????????GCHandle?h?=?GCHandle.Alloc(output?GCHandleType.Pinned);
????????????IntPtr?p?=?h.AddrOfPinnedobject();
????????????Image1.Dispose();
????????????HOperatorSet.GenImage1(out?Image1?“byte“?width?height?p);
????????????if?(h.IsAllocated)
????????????????h.Free();

????????????Hobject?image2?=?new?Hobject()image3?=?new?Hobject()ImageCleared2?=?new?Hobject()ImageCleared3?=?new?Hobject();
????????????Hobject?ImageRed?=?new?Hobject()?ImageGreen?=?new?Hobject()?ImageBlue?=?new?Hobject()MultiChannelImage?=?new?Hobject();
????????????HOperatorSet.GenImageConst(out?image2“byte“widthheight);
????????????HOperatorSet.GenImageConst(out?image3“byte“widthheight);
????????????//h色調,s飽和度,v明亮度
????????????HOperatorSet.GenImageProto(image2out?ImageCleared2150);
????????????HOperatorSet.GenImageProto(image3out?ImageCleared3150);
????????????HOperatorSet.TransToRgb(Image1ImageCleared2ImageCleared3out?ImageRedout?ImageGreenout?ImageBlue“hsi“);
????????????HOperatorSet.Compose3(ImageRed?ImageGreen?ImageBlueout?MultiChannelImage);
????????????HOperatorSet.SetPart(WindowHandle?0?0?2000?800);
????????????HOperatorSet.DispObj(MultiChannelImage?WindowHandle);????????????
????????????image2.Dispose();
????????????image3.Dispose();
????????????ImageCleared2.Dispose();
????????????ImageCleared3.Dispose();
????????????ImageRed.Dispose();
????????????ImageGreen.Dispose();
????????????ImageBlue.Dispose();
????????????MultiChannelImage.Dispose();
????????}
????????private?void?button2_Click(object?sender?EventArgs?e)
????????{
????????????MessageBox.Show(“請畫一條線“);
????????????HT

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-09-13?13:48??顏色表\
?????目錄???????????0??2018-10-17?11:44??顏色表\test\
?????目錄???????????0??2018-10-17?11:24??顏色表\test\bin\
?????目錄???????????0??2018-10-17?13:12??顏色表\test\bin\Debug\
?????文件?????????158??2018-10-17?13:17??顏色表\test\bin\Debug\calib.tup
?????文件????32320568??2016-11-01?17:11??顏色表\test\bin\Debug\halcon.dll
?????文件?????1279544??2014-11-15?02:27??顏色表\test\bin\Debug\halcondotnet.dll
?????文件?????????734??2016-11-01?16:33??顏色表\test\bin\Debug\license.dat
?????文件???????15360??2018-10-17?13:39??顏色表\test\bin\Debug\test.exe
?????文件???????40448??2018-10-17?13:39??顏色表\test\bin\Debug\test.pdb
?????文件???????11600??2018-10-17?13:39??顏色表\test\bin\Debug\test.vshost.exe
?????目錄???????????0??2018-10-17?11:24??顏色表\test\bin\Release\
?????文件????????8297??2018-10-17?13:39??顏色表\test\Form1.cs
?????文件????????6610??2018-10-17?13:34??顏色表\test\Form1.Designer.cs
?????文件????????5817??2018-10-17?13:34??顏色表\test\Form1.resx
?????目錄???????????0??2018-09-13?13:48??顏色表\test\obj\
?????目錄???????????0??2018-09-13?13:48??顏色表\test\obj\x86\
?????目錄???????????0??2018-10-17?13:39??顏色表\test\obj\x86\Debug\
?????文件????????5420??2018-09-13?17:16??顏色表\test\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache
?????文件????????6416??2018-10-17?13:39??顏色表\test\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache
?????目錄???????????0??2018-09-13?13:48??顏色表\test\obj\x86\Debug\TempPE\
?????文件????????1308??2018-10-17?13:39??顏色表\test\obj\x86\Debug\test.csproj.FileListAbsolute.txt
?????文件?????????975??2018-10-17?13:37??顏色表\test\obj\x86\Debug\test.csproj.GenerateResource.Cache
?????文件???????22504??2018-09-14?16:44??顏色表\test\obj\x86\Debug\test.csprojResolveAssemblyReference.cache
?????文件???????15360??2018-10-17?13:39??顏色表\test\obj\x86\Debug\test.exe
?????文件?????????180??2018-10-17?13:37??顏色表\test\obj\x86\Debug\test.Form1.resources
?????文件???????40448??2018-10-17?13:39??顏色表\test\obj\x86\Debug\test.pdb
?????文件?????????180??2018-10-17?13:12??顏色表\test\obj\x86\Debug\test.Properties.Resources.resources
?????文件????????3688??2018-10-17?13:29??顏色表\test\Planecls.cs
?????文件?????????485??2018-09-13?13:48??顏色表\test\Program.cs
?????目錄???????????0??2018-09-13?13:48??顏色表\test\Properties\
............此處省略8個文件信息

評論

共有 條評論