image

以zip和rar為例說明 strategy pattern

 1: public abstract class CompressAlg
 2: {
 3: public abstract void Compress();
 4: public abstract void Uncompress();
 5: ~CompressAlg()
 6: {
 7: MessageBox.Show("Object release", "~FileProcessor()");
 8: }
 9: }

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

image
如果把相關的演算法全都寫入同一個物件, 然後利用條件式判斷(if or switch)來判斷所要執行的版本 但這樣有一些缺點 1. 程式碼容易變得龐大複雜, 不容易修改 2. 記憶體效能降低, 因為物件包含全部的演算法 3. 擴充新的演算法或是改良版演算法(modified xxx algorithm)必須動到既有的程式碼

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

image
Vimba Viewer: 看圖軟體 Vimba Quickstart Guide Development: 支援C, C++, 和.NET 範例程式 Third-party applications: 支援GenICam 以及AVT Cognex Adapter Detected Cameras偵測目前已安裝的攝影機清單

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

image
using Euresys.eVision; Porperties Get/Set
 1: width = roi.Width; // C#
 2: width = roi.GetWidth( ); // C++

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

image
點選<加入參考>, 第一次執行加入參考, Visual Studio會執行一段時間(正常), 因為會掃描整個系統相容元件的關係 點選.NET物件 C:\Program Files (x86)\Euresys\eVision\NET Components Visual Studio 2010->偵錯->例外狀況 原廠範例程式,預設值LoaderLock是打勾, 但這個會造成執行階段錯誤!

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

image
  http://www.zianchoy.com/emguCVInstaller/   Emgu採用 WCF(Windows Communication Foundation) 所以至少需要 .Net 3.0 如果是使用visual studio 2010, 需安裝 MSVCRT 9.0 SP1 x86 or MSVCRT 9.0 SP1 x64

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

image
Before you start to read this article, you should have read VS2013 Build OpenCV2.4.9 with CUDA. Some prerequisites are needed: 1.  Visual C++ Redistributable Packages for Visual Studio 2013 2.  CUDA  cuda_6.5.14_windows_general_64

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

image
安裝1. 最新CMakecmake-3.3.0-rc2-win32-x86.exe2. CUDAcuda_6.5.14_windows_general_643. OpenCV 2.4.94. Intel TBB

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

透過工業電腦讀取 USB2.0/3.0 GigaE CAMlink 等介面CCD 具有資料庫可以儲存檢測資料及照片 具有各種演算法可以依序選用及輸出 具有可以監控控制Digital I/O 之介面 具備多軸軸控同步動作及排程 參數檔儲存/刪除/新增 使用者帳號管理系統 TCP/IP多台電腦通訊監控及傳送接收檔案

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

  (A-x-y)(B-x-β) = K1(x-α)
(A-x-y)(C-y-α) = K2(y-β)
(x-α) (C-y-α)  = K3(α+β)
(y-β)(B-x-β) = K4(α+β)

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

image
open source clustering LIBSVM -- A Library for Support Vector Machines Fast Artificial Neural Network Library Code::Blocks - The IDE with all the features you need, having a consistent look, feel and operation across platforms.

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

image
下載 https://github.com/digidotcom/xbee_ansic_library 安裝MinGW - Minimalist GNU for Windows 確認系統變數Path包含C:\MinGW\bin DOS command window切換至samples code資料夾位置

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

Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。