Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
I am looking for a framegrabber at the moment to port through the videosignal of a CCD-camera to IDL. Does anyone have experience on writing the intermediate DLL for a certain type of framegrabber? I would appreciate any suggestions that can keep me from having to write my own C-programmes :-) Thanks, -- ************************************************************ ************ Armand Jongen Academic Medical Centre Laser Centre Phone +31-20-5667418 \\||||// Meibergdreef 9 Fax +31-20-6975594 | ~ ~ | 1105 AZ Amsterdam E-mail a.j.jongen@amc.uva.nl [| o o |] The Netherlands *****************************o00o***(__)***o00o************* ************
Gunnar Hedin wrote: > I would like to read in picture directly from a framgrabber into IDL, > for direct processing of the images. I my opionon this can't be the > most unlikely usage of IDL and I therefore wonder if there is > anyone who has already done this and who would like to enlighten > me in the do and don't and if possible send some code. > > I have no specific framegrabber card in mind and I'm eager > to here if any suggest of what kind to choose. I've had success with both the Matrox Meteor and the MuTech MV-1000running under Linux on an Intel machine. In both cases, I wrote IDL-callable C libraries to control the framegrabbers and used CALL_EXTERNAL to communicate with the libraries. This worked well enough that I never bothered to delve into the possibilities of LINK_IMAGE. It's best to allocate a BYTEARR for the image in IDL and pass the pointer to C to get the data. That way you take advantage of IDL's memory allocation machinery. The examples in the directory /usr/local/rsi/idl/external/call_external/ got me started under IDL 5.2. They may be elsewhere on your system. In short, if you can write command line programs for the framegrabber (or GPIB, or any other equipment) in C, running it from IDL is straightforward. Best regards, David -- ============================================================ ============= David G. Grier (773) 702-9176 (voice) Dept. of Physics and James Franck Institute (773) 702-5863 (FAX) The University of Chicago grier@fafnir.uchicago.edu 5640 S. Ellis Ave Chicago, IL 60637 http://rainbow.uchicago.edu/~grier/ ============================================================ =============