PIXNET Logo登入

天天向上

跳到主文

程式外包服務  E-mail: me1237guy@yahoo.com.tw 歡迎來信洽談, 請附上相關文件或問題說明, 謝謝

專長:  ※自動光學檢測 ※人臉辨識 ※車牌辨識 ※錄影監控系統 ※自動控制I/O相關 
      ※演算法開發 ※基因演算法 ※類神經網路 
      ※MATLAB  ※VISUAL C++/C# ※Xamarin ※OpenCV ※Emgu ※Unity ※QT4/5
-----------------------------------------------------------------------------------------------
   SA (模擬退火法)     GA (基因演算法)    ACO (蟻群演算法)    PSO (粒子最佳化演算法)   
   排列組合問題最佳化   TSP  Scheduling  K-means, Fuzzy C-means, KNN, DBSCAN分群  
   Fuzzy Control (模糊控制)  Neural Networks (類神經網路) Object Tracking (Kalman Filter, Optical Flow)  
   Object Recognition (Pattern Match, Haar-Like Features, EigenFace)  Human Pose Recognition
   人臉偵測     移動物偵測   車牌辨識    智慧型監控攝影  XBOX Kinect影像處理及應用 體感互動應用  
   自動光學檢測(AOI) 玻璃檢測  NVIDIA CUDA平行運算處理
   TI-DSP 6xxx系列 雙影像輸入   / Raspberry PI 樹莓派 / Arduino控制  自走車避障礙物(GPS/機器視覺)

部落格全站分類:數位生活

  • 相簿
  • 部落格
  • 留言
  • 名片
  • 11月 25 週二 201417:35
  • C# 2進位字串

Convert.ToString(數值, 基底)example 1.Convert.ToString(5, 2)  結果: 101example 2. 補齊4位數Convert.ToString(5, 2).PadLeft(4,'0') 結果: 0101 
 1: int action = 1; // 0:display, 1:write, 2:erase
 2: int block = 1; // 0~15, block number
 3: string para = Convert.ToString(action, 2).PadLeft(4, '0') + Convert.ToString(block, 2).PadLeft(4, '0');
 4: int data = Convert.ToInt32(para, 2);
 5: byte b = byte.Parse(data.ToString());
(繼續閱讀...)
文章標籤

me1237guy 發表在 痞客邦 留言(0) 人氣(1,106)

  • 個人分類:C#
▲top
  • 11月 19 週三 201403:43
  • ComboxBox加入影像

image
加入小圖案目錄夾至專案命名資料夾bmp加入->現有項目複選a~d四張bmp照片宣告全域變數private ImageList G_ImageList;滑鼠double click專案中Properties資料夾, 選擇<資源>, <加入資源>下拉點選<加入資源>下拉點選<加入現有檔案>加入後如下:========================================================================
(繼續閱讀...)
文章標籤

me1237guy 發表在 痞客邦 留言(0) 人氣(174)

  • 個人分類:C#
▲top
  • 11月 15 週六 201410:29
  • 特殊形狀的視窗

image
變更Form1的FormBoarderStyle 屬性從“Sizable” 改成 “None” 打開Form1_Designer.cs加入下列this.TransparencyKey = System.Drawing.SystemColors.Control;
 1: protected override void OnPaint(PaintEventArgs e)
 2: {
 3: e.Graphics.DrawImage((Image)bmp, new Point(0, 0));
 4: }
 5: private void Form1_Load(object sender, EventArgs e)
 6: {
 7: string sDir = System.IO.Directory.GetCurrentDirectory();
 8: bmp = new Bitmap(sDir + "\\images.png");
 9: bmp.MakeTransparent(Color.Blue);
 10: }
(繼續閱讀...)
文章標籤

me1237guy 發表在 痞客邦 留言(0) 人氣(49)

  • 個人分類:C#
▲top
  • 11月 15 週六 201408:39
  • 安裝佈署InstallShield Setup

image
會進入一個頁面提示下載InstallShield網址=====================================================================Visual Studio 2010 –> New Project –> 其他專案類型 –> 安裝和佈署->InstallShiels Limited Edition Project勾選第一個輸入剛才原廠寄給你的啟動碼(check E-mail for serial number)
(繼續閱讀...)
文章標籤

me1237guy 發表在 痞客邦 留言(0) 人氣(99)

  • 個人分類:C#
▲top
  • 11月 12 週三 201416:06
  • 從上次關閉位置啟動表單

image
using Microsoft.Win32;起始位置: WindowsDefaultLocationregedit
 1: private void Form1_Load(object sender, EventArgs e)
 2: {
 3: RegistryKey rkey1, rkey2; //宣告註冊表物件
 4: rkey1 = Registry.CurrentUser; //取得目前用戶註冊表項
 5: try
 6: {
 7: rkey2 = rkey1.CreateSubKey("Software\\MySoft");
 8: this.Location = new Point( Convert.ToInt16(rkey2.GetValue("x")), Convert.ToInt16(rkey2.GetValue("y")) );
 9: }
 10: catch(Exception exc)
 11: {
 12: MessageBox.Show(exc.ToString());
 13: }
 14: }
 15:  
 16: private void Form1_FormClosed(object sender, FormClosedEventArgs e)
 17: {
 18: RegistryKey rkey1, rkey2;
 19: rkey1 = Registry.CurrentUser;
 20: try
 21: {
 22: rkey2 = rkey1.CreateSubKey("Software\\MySoft");
 23: rkey2.SetValue("x", this.Location.X.ToString());
 24: rkey2.SetValue("y", this.Location.Y.ToString());
 25: }
 26: catch
 27: {
 28: }
 29: }
(繼續閱讀...)
文章標籤

me1237guy 發表在 痞客邦 留言(0) 人氣(38)

  • 個人分類:C#
▲top
  • 11月 12 週三 201414:28
  • C#泛型資料型態

image

 1: class StaffInfo<T>
 2: {
 3: public T Num;
 4: public T Name;
 5: public T Sex;
 6: public T Age;
 7: public T Birth;
 8: public T Salary;
 9: }
(繼續閱讀...)
文章標籤

me1237guy 發表在 痞客邦 留言(0) 人氣(243)

  • 個人分類:C#
▲top
  • 11月 12 週三 201404:44
  • 虛擬方法與重寫方法

image
 1: class Operation
 2: {
 3: public virtual double operation(int x, int y)
 4: {
 5: return x * y;
 6: }
 7: }
 8: class Addition : Operation
 9: {
 10: public override double operation(int x, int y)
 11: {
 12: return (x + y);
 13: }
 14: }
 15:  
 16: private void button1_Click(object sender, EventArgs e)
 17: {
 18: if (comboBox1.SelectedIndex == 0)
 19: {
 20: Operation multiplication = new Operation();
 21: txtResult.Text = multiplication.operation( Convert.ToInt32(txtNum1.Text.Trim()), Convert.ToInt32(txtNum2.Text.Trim() )).ToString();
 22: }
 23: else
 24: {
 25: Operation addition = new Addition();
 26: txtResult.Text = addition.operation(Convert.ToInt32(txtNum1.Text.Trim()), Convert.ToInt32(txtNum2.Text.Trim())).ToString();
 27: }

28: }

(繼續閱讀...)
文章標籤

me1237guy 發表在 痞客邦 留言(0) 人氣(33)

  • 個人分類:C#
▲top
  • 11月 11 週二 201422:00
  • Abstract Class and Its Derived Class

image
Define an abstract class named Poly
 1: public abstract class Poly
 2: {
 3: private int r = 0;
 4: public int R
 5: {
 6: get
 7: {
 8: return r;
 9: }
 10: set
 11: {
 12: r = value;
 13: }
 14: }
 15: public abstract double Area();
 16: }
(繼續閱讀...)
文章標籤

me1237guy 發表在 痞客邦 留言(0) 人氣(28)

  • 個人分類:C#
▲top
  • 11月 11 週二 201410:48
  • 如何將執行緒運算結果顯示於人機介面上?

image
相關文章:
C# Delegates with Anonymous Methods(匿名方法)and Named Methods(具名方法)
 
框架如下
(繼續閱讀...)
文章標籤

me1237guy 發表在 痞客邦 留言(0) 人氣(471)

  • 個人分類:C#
▲top
  • 11月 11 週二 201404:31
  • Object.ToString 方法

image

 1: class test
 2: {
 3: public override string ToString()
 4: {
 5: return "c# 真好用";
 6: }
 7: }
(繼續閱讀...)
文章標籤

me1237guy 發表在 痞客邦 留言(0) 人氣(27)

  • 個人分類:C#
▲top
«1...66676889»

個人資訊

me1237guy
暱稱:
me1237guy
分類:
數位生活
好友:
累積中
地區:

熱門文章

  • (8,482)分水嶺影像分割Marker-based Image Segmentation Algorithm Using OpenCV2.4.7 with Visual Studio 2010
  • (4,000)Pylon Live View C# Sample Code Review
  • (14,170)網路上提供測試 RTSP 的伺服器
  • (23,895)Adding Something to DataGridView
  • (2,907)C# 在憑證存放區中找不到資訊清單簽署憑證
  • (4,385)安裝PLC學習軟體 FX-TRN-BEG-T
  • (7,366)建立和使用 C# 的 DLL
  • (3,658)安裝Open eVision 1.2.5.8549
  • (12,906)EmguCV : 圈選感興趣區域
  • (25,024)C# 如何創建, 暫停, 繼續, 終止一個執行緒(Thread)

文章分類

  • wordpress (2)
  • 雲端計算 (1)
  • 邊緣運算 (5)
  • MPI (2)
  • Git & Github (6)
  • Unity (2)
  • Android Studio (10)
  • Deep Leraning (35)
  • LaTex (2)
  • Linux (6)
  • jetson nano (3)
  • Qt (20)
  • Docker (4)
  • Office (1)
  • OpenTK (1)
  • WPF (8)
  • SQL (4)
  • Revit (6)
  • MATLAB (13)
  • R Language (8)
  • Design Pattern & Implementation by Using C# (48)
  • RaspberryPI (5)
  • Python (77)
  • 其他語言 (40)
  • 攝影機 (45)
  • 工業應用 (50)
  • 家庭 (12)
  • Mobile (31)
  • 工作日誌 (2)
  • Linux (5)
  • C/C++ (15)
  • AOI (41)
  • Emgu CV (42)
  • C# (147)
  • Visual Studio (48)
  • OpenCV (118)
  • 未分類文章 (1)

最新文章

  • Gemini API Key 低成本 Nano Banana Pro作圖
  • DMK 37AUX226
  • wafer基礎術語
  • 將資料夾中多個mp4影片合併成一個mp4檔案
  • 如何用沙子制造芯片:从冶炼硅锭到晶圆打磨|芯片工艺合集
  • yolov9安裝
  • ActionEngine, ActionTask and ActionWorker
  • @dataclass裝飾子
  • IO控制卡安裝驅動器後無法在此裝置載入驅動程式
  • How you put and then get items from a queue.Queue

動態訂閱

文章精選

文章搜尋

誰來我家

參觀人氣

  • 本日人氣:
  • 累積人氣: