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/機器視覺)

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

  • 相簿
  • 部落格
  • 留言
  • 名片
  • 6月 22 週日 201412:47
  • Using GPU_FFT with data

 參考資料: Using GPU_FFT with data              Using GPU_FFT with data – part2
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <math.h>
#include <time.h>
#include "mailbox.h"
#include "gpu_fft.h"
int main()
{
   int ret, m, l, d, j, k, i, ii, iii, w, freq;
   m = mbox_open();
   l = 8;               //length
   d = GPU_FFT_FWD;     //direction
   j = 255;             //jobs
   k = 1;               //loops
   float data[j];
   for (i=0; i<j; i++)  //loop to make false data set
   {
      data[i] = i*.00001;
      //printf("data[%d] = %f\n", i, data[i]);
   }
   struct GPU_FFT *fft;
   gpu_fft_prepare(m, l, d, j, &fft);
   for(i=0; i<k; i++)
   {
      for(iii=0; iii<j; iii++)  //input buffer loop
      {
         struct GPU_FFT_COMPLEX *in = fft->in + j*fft->step;
/*setting all mem to 0 in order to have guard space between buffers*/
         for (ii=0; ii<j+1; ii++)
         {
             in[ii].re=in[ii].im=0;
         }
/*sending data set to input buffer, excluding first and last address so they are still zero*/
         freq = iii+1;
         in[freq].re = data[iii];
         in[j-1].re = 0;
         //printf("in[%d].re = %f\n", iii, in[iii].re);
      }
      gpu_fft_execute(fft);
/*assigning buffer address to pointer out*/
      struct GPU_FFT_COMPLEX *out = fft->out+iii*fft->step;
/*attempting to print values of output buffer, should be values created by gpu_fft_execute*/
      for(w=0; w<j; w++) //output print loop
      {
      printf("real out[%d].re = %f\n", w, out[w].re);
      }
   }
   gpu_fft_release(fft);
   printf("END END END END END END END END END END END END END END END END END END\n");
   return 0;
}
(繼續閱讀...)
文章標籤

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

  • 個人分類:工業應用
▲top
  • 6月 21 週六 201421:26
  • c# Notes

image
===============================================================================================================
計算程式執行時間
 
System.Diagnostics.Stopwatch sw = new System.Diagnostics.Stopwatch();//引用stopwatch物件
(繼續閱讀...)
文章標籤

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

  • 個人分類:C#
▲top
  • 6月 15 週日 201411:20
  • Sound Recording

安裝ALSAsudo apt-get install libasound2-dev安裝好之後會看到/usr/include/alsa編譯指令sudo gcc -o record recordSound.cpp `pkg-config --libs alsa`
(繼續閱讀...)
文章標籤

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

  • 個人分類:工業應用
▲top
  • 6月 14 週六 201408:56
  • 安裝 Microsoft Touch Pack for Windows 7

image
Download touch-pack-web
Double click touch-pack-web.exe


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

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

  • 個人分類:工業應用
▲top
  • 6月 12 週四 201401:57
  • 安裝Touchlib

image
As of the current version, touchlib now can broadcast events in the TUIO
protocol (which uses OSC).This makes touchlib compatible with several other applications that support this protocol,
such as vvvv, Processing, PureData, etc.. This also makes it possible to use touchlib for blob detection / tracking
(繼續閱讀...)
文章標籤

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

  • 個人分類:工業應用
▲top
  • 6月 11 週三 201421:42
  • 安裝OSCPACK(Open Sound Control)

image
A simple C++ Open Sound Control (OSC) packet manipulation library
#1. 下載oscpack
#2. 確定有安裝CMake和Visual Studio 2010
(繼續閱讀...)
文章標籤

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

  • 個人分類:工業應用
▲top
  • 6月 10 週二 201420:03
  • 安裝 Emgu CV

image

Emgu CV is a cross platform .Net wrapper for OpenCV C# + KinectSDK + EmguCV is good combinations for developers.
(繼續閱讀...)
文章標籤

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

  • 個人分類:Emgu CV
▲top
  • 6月 09 週一 201405:39
  • as operators 資料轉型


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
(繼續閱讀...)
文章標籤

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

  • 個人分類:C#
▲top
  • 6月 07 週六 201416:50
  • Pylon Live View C# Sample Code Review

image
Pylon.NETSupportLibrary 是一個好用類別, 加速開發應用程式, 達事半功倍之效使用者載入PylonC.NETSupportLibrary.dll至專案中, 便可立即使用該類別中的許多好用的方法(methods)PylonLiveView 利用Pylon.NETSupportLibrary class 展示Basler相機的一些基本功能, 如取單張影像, 連續取像, 停止取像等加入參考 PylonC.NETSupportLibrary.dll,可以在工具箱看到兩個新增控制元件 SliderUserControl 和 EnumerationComboBoxUserControl
(繼續閱讀...)
文章標籤

me1237guy 發表在 痞客邦 留言(7) 人氣(4,004)

  • 個人分類:攝影機
▲top
  • 6月 04 週三 201417:37
  • Installing MobaXterm

image
MobaXterm download
(繼續閱讀...)
文章標籤

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

  • 個人分類:工業應用
▲top
«1...71727389»

個人資訊

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

熱門文章

  • (23,899)Adding Something to DataGridView
  • (14,210)網路上提供測試 RTSP 的伺服器
  • (8,484)分水嶺影像分割Marker-based Image Segmentation Algorithm Using OpenCV2.4.7 with Visual Studio 2010
  • (7,370)建立和使用 C# 的 DLL
  • (6,043)Basler 3.2 Pylon C API 筆記2
  • (4,453)安裝PLC學習軟體 FX-TRN-BEG-T
  • (4,004)Pylon Live View C# Sample Code Review
  • (3,662)安裝Open eVision 1.2.5.8549
  • (2,909)C# 在憑證存放區中找不到資訊清單簽署憑證
  • (449)Install e2v Line Scan CCD with Camera Link

文章分類

  • 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)
  • 工作日誌 (3)
  • Linux (5)
  • C/C++ (15)
  • AOI (41)
  • Emgu CV (42)
  • C# (148)
  • Visual Studio (48)
  • OpenCV (118)
  • 未分類文章 (1)

最新文章

  • C# Grabber Service
  • 格式化隨身碟
  • git開分支測試完成後整併回原本的分支
  • Gemini API Key 低成本 Nano Banana Pro作圖
  • DMK 37AUX226
  • wafer基礎術語
  • 將資料夾中多個mp4影片合併成一個mp4檔案
  • 如何用沙子制造芯片:从冶炼硅锭到晶圆打磨|芯片工艺合集
  • yolov9安裝
  • ActionEngine, ActionTask and ActionWorker

最新留言

  • [21/09/21] 訪客 於文章「EmguCV - C# / Conver...」留言:
    Good ...
  • [21/09/18] me1237guy 於文章「A Simple C# window f...」發表了一則私密留言
  • [21/04/20] zpspu 於文章「請勿嘗試在 DllMain 或影像初始設...」留言:
    感謝分享...
  • [20/07/27] zimark 於文章「Face / Object Detect...」留言:
    您好 我在setup_fdt的步驟下會出現以下錯誤回報 想...
  • [20/07/03] 鴨 於文章「在Azure上通过asp.net使用Em...」留言:
    請問如何在asp.net上做emgucv的環境設置?...
  • [20/06/10] 昌 於文章「C# 模擬滑鼠事件...」留言:
    版主您好! 最近在練習C#的滑鼠模擬控制 我參考您的程式...
  • [20/04/16] 樹懶 於文章「Orientalmotor 東方馬達 M...」留言:
    請問您上述這樣操作,為什麼需要先對寄存器位址0401h寫入資...
  • [20/03/16] 馬崇文 於文章「Orientalmotor 東方馬達 M...」留言:
    有聯絡之訊嗎line 可以給我嗎? 謝謝 ...
  • [20/03/12] HI 於文章「Line Scan CCD Setup ...」留言:
    你好我也正在使用這個軟體 請問這個軟體能擷取影像嗎? ...
  • [19/12/30] 馬崇文 於文章「Orientalmotor 東方馬達 M...」留言:
    Modbus Test這軟體在哪裡下載...

動態訂閱

文章精選

文章搜尋

誰來我家

參觀人氣

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