作者FESTUM (邪影)
看板MATLAB
標題[求救]我想透過MATLAB來從DT Frame Grabber抓圖
時間Tue Apr 3 18:13:56 2012
我們實驗室有在使用DT的Frame Grabber 3155抓CCD的圖
http://www.mathworks.com/matlabcentral/fileexchange/1508
後來發現國外有學校使用MATLAB取代DT官方不好用的抓圖軟體DT-Acquire
但是我們嘗試把MATLAB跟DT Frame Grabber做連結時卻一直失敗
我們下載了對方公開的程式碼
但是卻不知道該跑哪個當MAIN m-file
直接使用openfg('DT3155')
也會跳出openfg不是正確的win32程式
回應中有人提到
If it does not work on your machine,
You just need to recompile the files with matlab
(you need visual studio C++ libraries for that) do a little
"cleaning" of the compiling code
(look in the "buildAll.m, update the paths to your machine,
and update the h files if they are not working or found
(some names don't correspond and some dlls a obsolete).
It's really worth it
(goes fast! And in Matlab, when you do real time processing, that's a luxury!)
請問板上有專家可以幫忙看一下要怎麼做連結嗎? 感謝
--
不 嗎 ▲│ ◤ ˋ │ │ ◤ ˋ │ ▎ φhacoolman
不 現在簽博班的話, 嗎 /│ ● │____ │ ● │\ ▲ alan99
不 碩班就能畢業囉! 嗎 ▊/ │ ◣ ◤ │ │ ◣ ◤ │ \ ▏ 簽嗎不簽嗎
不 嗎 │ ╰────╯ ╰────╯ │ ▍ 簽嗎不簽嗎
不簽嗎不簽嗎不簽嗎不◥嗎▊ \ │ ▎ 嗎不簽嗎
不簽嗎不簽嗎不簽嗎不簽 \ ︶︶ / ▏ 嘿~嘿~嘿~
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.22.176
1F:推 okgogogo:他有使用手冊,原始檔是以MEX調用C語言,需要編譯, 04/05 00:29
2F:→ okgogogo:我看他也有編譯過的DLL,直接用他的DLL檔試試。 04/05 00:30
3F:→ okgogogo:他有DLL和使勇手冊的function說明,應該沒那個困難, 04/05 00:31
4F:→ FESTUM:感謝樓上的回應,不過我沒學過C 不太懂怎麼直接用他的DLL 04/05 11:24
5F:→ FESTUM:我是去改它buildall.m程式碼內的路徑去連接抓圖軟體 04/05 11:25
6F:→ FESTUM:但是會跳出"lcc preprocess error" 疑似找不到"wingdi.h" 04/05 11:27
7F:→ FESTUM:我去網路上這抓個檔案丟給它,結果跳出不同的錯誤了 04/05 11:28
8F:→ FESTUM:請問這個"wingdi.h"是C+共同使用的參數檔還是視儀器而寫的? 04/05 11:29