作者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