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

  • 大小: 864KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2021-05-25
  • 語言: 其他
  • 標簽:

資源簡介

畢業課程設計,絕對原創。 主要用到的是邊緣檢測(三種算子),最佳閥值二值化,霍夫轉換這三種方面的算法。用的是最基本的編程方法。 程序最后還有一段廢代碼,是我遵循邊緣檢測-檢測邊緣點-短線連接-長線連接-直線擬合-霍夫轉換。這個思路做的,可惜沒有得到老師的指導,直做到了長線連接這里,有興趣的同學可以看看。 代碼雖然亂,不過還是有挺多注釋的,如果真的不能理解可以直接留言。 論文也傳上來了,我的可不是優秀論文,萬勿模仿。。否則后果自負。

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Timers;
using?System.Windows.Forms;
using?System.Diagnostics;
using?System.Diagnostics.CodeAnalysis;
using?System.Collections;

namespace?文件打開測試
{
????public?partial?class?Form1?:?Form
????{

????????bool?flag1?=?false;
????????Bitmap?curpic?=?null;

????????int?iw;
????????int?ih;

????????public?Form1()
????????{

????????????InitializeComponent();
????????}

????????private?void?button1_Click(object?sender?EventArgs?e)
????????{


????????????if?(!flag1)
????????????{
????????????????OpenFileDialog?open?=?new?OpenFileDialog();
????????????????open.Filter?=?“圖像文件(*.bmp;*.jpg;*.gif;)|“?+?“*.bmp;*.jpg;*.gif“;
????????????????Debug.WriteLine(“1“);

????????????????if?(open.ShowDialog()?==?DialogResult.OK)
????????????????{
????????????????????int?len?=?open.FileName.Length;
????????????????????String?str?=?open.FileName.Substring(len?-?3?3);
????????????????????Bitmap?bm;
????????????????????//Debug.WriteLine(str);

????????????????????bm?=?new?Bitmap(open.FileName);
????????????????????int?curw?=?bm.Width;
????????????????????int?curh?=?bm.Height;

????????????????????if?(curw?>?800?||?curh?>?600)
????????????????????{
????????????????????????DialogResult?result?=?MessageBox.Show(“圖片已經超過800*600,是否要縮放?“?“圖片過大提示“?MessageBoxButtons.YesNo?MessageBoxIcon.Information?MessageBoxDefaultButton.Button1);
????????????????????????switch?(result)
????????????????????????{
????????????????????????????case?DialogResult.Yes:
????????????????????????????????this.AutoSize?=?false;
????????????????????????????????this.pic1.SizeMode?=?PictureBoxSizeMode.Zoom;

????????????????????????????????pic1.Image?=?bm;
????????????????????????????????pic1.Refresh();
????????????????????????????????label1.Text?=?“原圖“;

????????????????????????????????curpic?=?(Bitmap)pic1.Image;
????????????????????????????????flag1?=?true;
????????????????????????????????iw?=?curpic.Width;
????????????????????????????????ih?=?curpic.Height;
????????????????????????????????//this.AutoSize?=?true;
????????????????????????????????//this.pic1.SizeMode?=?PictureBoxSizeMode.AutoSize;
????????????????????????????????break;
????????????????????????????case?DialogResult.No:
????????????????????????????????pic1.Image?=?bm;
????????????????????????????????pic1.Refresh();
????????????????????????????????label1.Text?=?“原圖“;

????????????????????????????????curpic?=?(Bitmap)pic1.Image;
????????????????????????????????flag1?=?true;
????????????????????????????????iw?=?curpic.Width;
????????????????????????????????ih?=?curpic.Height;
????????????????????????????????break;
????????????????????????}
????????????????????}
????????????????????else
????????????????????{
????????????????????????pic1.Image?=?bm;
????????????????????????pic1.Refresh();
????????????????????????lab

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件????????986??2011-06-07?04:16??遙感圖像中機場跑道檢測的研究與實現\畢業設計\文件打開測試\遙感圖像中機場跑道檢測算法的研究與實現.sln

????..A..H.?????22528??2011-06-07?04:18??遙感圖像中機場跑道檢測的研究與實現\畢業設計\文件打開測試\遙感圖像中機場跑道檢測算法的研究與實現.suo

?????文件??????50471??2011-06-07?03:34??遙感圖像中機場跑道檢測的研究與實現\畢業設計\文件打開測試\文件打開測試\Form1.cs

?????文件??????16977??2011-06-07?04:16??遙感圖像中機場跑道檢測的研究與實現\畢業設計\文件打開測試\文件打開測試\Form1.Designer.cs

?????文件???????6012??2011-06-07?04:16??遙感圖像中機場跑道檢測的研究與實現\畢業設計\文件打開測試\文件打開測試\Form1.resx

?????文件????????720??2011-02-15?16:32??遙感圖像中機場跑道檢測的研究與實現\畢業設計\文件打開測試\文件打開測試\Form2.cs

?????文件???????3779??2011-02-15?16:32??遙感圖像中機場跑道檢測的研究與實現\畢業設計\文件打開測試\文件打開測試\Form2.Designer.cs

?????文件???????5814??2011-02-15?16:32??遙感圖像中機場跑道檢測的研究與實現\畢業設計\文件打開測試\文件打開測試\Form2.resx

?????文件???????3294??2011-05-06?13:52??遙感圖像中機場跑道檢測的研究與實現\畢業設計\文件打開測試\文件打開測試\hough_line.cs

?????文件????????479??2011-01-31?09:44??遙感圖像中機場跑道檢測的研究與實現\畢業設計\文件打開測試\文件打開測試\Program.cs

?????文件????????348??2011-06-07?03:33??遙感圖像中機場跑道檢測的研究與實現\畢業設計\文件打開測試\文件打開測試\灰度變換顯示圖.cs

?????文件???????2366??2011-06-07?03:33??遙感圖像中機場跑道檢測的研究與實現\畢業設計\文件打開測試\文件打開測試\灰度變換顯示圖.Designer.cs

?????文件???????5814??2011-06-07?03:33??遙感圖像中機場跑道檢測的研究與實現\畢業設計\文件打開測試\文件打開測試\灰度變換顯示圖.resx

?????文件???????4215??2011-05-06?14:41??遙感圖像中機場跑道檢測的研究與實現\畢業設計\文件打開測試\文件打開測試\遙感圖像中機場跑道檢測算法.csproj

?????文件??????30720??2011-06-07?04:17??遙感圖像中機場跑道檢測的研究與實現\畢業設計\文件打開測試\文件打開測試\bin\Debug\文件打開測試.exe

?????文件??????75264??2011-06-07?04:17??遙感圖像中機場跑道檢測的研究與實現\畢業設計\文件打開測試\文件打開測試\bin\Debug\文件打開測試.pdb

?????文件??????14328??2011-06-07?04:17??遙感圖像中機場跑道檢測的研究與實現\畢業設計\文件打開測試\文件打開測試\bin\Debug\文件打開測試.vshost.exe

?????文件????????490??2009-06-11?05:14??遙感圖像中機場跑道檢測的研究與實現\畢業設計\文件打開測試\文件打開測試\bin\Debug\文件打開測試.vshost.exe.manifest

?????文件???????1563??2011-06-07?03:32??遙感圖像中機場跑道檢測的研究與實現\畢業設計\文件打開測試\文件打開測試\obj\Debug\文件打開測試.csproj.FileListAbsolute.txt

?????文件????????979??2011-06-07?03:31??遙感圖像中機場跑道檢測的研究與實現\畢業設計\文件打開測試\文件打開測試\obj\Debug\文件打開測試.csproj.GenerateResource.Cache

?????文件??????30720??2011-06-07?04:17??遙感圖像中機場跑道檢測的研究與實現\畢業設計\文件打開測試\文件打開測試\obj\Debug\文件打開測試.exe

?????文件????????180??2011-06-07?04:17??遙感圖像中機場跑道檢測的研究與實現\畢業設計\文件打開測試\文件打開測試\obj\Debug\文件打開測試.Form1.resources

?????文件????????180??2011-06-07?03:33??遙感圖像中機場跑道檢測的研究與實現\畢業設計\文件打開測試\文件打開測試\obj\Debug\文件打開測試.form2.resources

?????文件????????180??2011-05-06?14:41??遙感圖像中機場跑道檢測的研究與實現\畢業設計\文件打開測試\文件打開測試\obj\Debug\文件打開測試.inputdialog.resources

?????文件??????75264??2011-06-07?04:17??遙感圖像中機場跑道檢測的研究與實現\畢業設計\文件打開測試\文件打開測試\obj\Debug\文件打開測試.pdb

?????文件????????180??2011-05-06?14:41??遙感圖像中機場跑道檢測的研究與實現\畢業設計\文件打開測試\文件打開測試\obj\Debug\文件打開測試.Properties.Resources.resources

?????文件???????1584??2011-06-07?04:17??遙感圖像中機場跑道檢測的研究與實現\畢業設計\文件打開測試\文件打開測試\obj\Debug\遙感圖像中機場跑道檢測算法.csproj.FileListAbsolute.txt

?????文件????????979??2011-06-07?04:17??遙感圖像中機場跑道檢測的研究與實現\畢業設計\文件打開測試\文件打開測試\obj\Debug\遙感圖像中機場跑道檢測算法.csproj.GenerateResource.Cache

?????文件???????1368??2011-01-31?09:44??遙感圖像中機場跑道檢測的研究與實現\畢業設計\文件打開測試\文件打開測試\Properties\AssemblyInfo.cs

?????文件???????2886??2011-01-31?09:44??遙感圖像中機場跑道檢測的研究與實現\畢業設計\文件打開測試\文件打開測試\Properties\Resources.Designer.cs

............此處省略19個文件信息

評論

共有 條評論

相關資源