Login  Register

Re: TWAIN Dialog

Posted by Wilson R S (AT) on Sep 03, 2008; 10:25am
URL: http://imagej.273.s1.nabble.com/TWAIN-Dialog-tp3695039p3695041.html

Thanks for the help, one slight problem.

When trying to compile Peter Stierlen capturing plugin I keep getting
around 36 errors. Any ideas?

-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of
Rasband Wayne
Sent: 02 September 2008 02:39
To: [hidden email]
Subject: Re: TWAIN Dialog

On Sep 1, 2008, at 9:35 AM, Wilson R S (AT) wrote:

> Is there anyway of skipping the entire dialog when capturing images
> using TWAIN 6 or JTWAIN.
>
> I have tried the using the run("Twain 6", "default"); line of macro
> code, but this doesn't work and I still get the same dialog boxes as
> when just clicking the plugin out of the menu.

You can probably do this by creating a custom version of the Twain_6  
plugin or the JTwain plugin. This will require taking a close look at  
the libraries (Morena and JTwain) used by these plugins. You might  
also want to take a look at Michael Schmid's Video Capture Tool macro at

      http://rsb.info.nih.gov/ij/macros/tools/VideoCaptureTool.txt

which uses VirtualDub to capture video on Windows and Peter  
Stierlen's Capturing plugin at

     http://www.stierlen1.homepage.t-online.de/modellbau/3dscanner/ 
capturing%20of%20calibration%20images.htm

which uses JMF to capture video.

-wayne