TWAIN Dialog

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

TWAIN Dialog

Wilson R S (AT)
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.
Reply | Threaded
Open this post in threaded view
|

Re: TWAIN Dialog

Wayne Rasband
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
Reply | Threaded
Open this post in threaded view
|

Re: TWAIN Dialog

Wilson R S (AT)
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
Reply | Threaded
Open this post in threaded view
|

Re: TWAIN Dialog

Gabriel Landini
On Wednesday 03 September 2008 11:25:12 Wilson R S (AT) wrote:
> Thanks for the help, one slight problem.
>
> When trying to compile Peter Stierlen capturing plugin I keep getting
> around 36 errors. Any ideas?
>

Do you have JMF installed?

G.
Reply | Threaded
Open this post in threaded view
|

Re: TWAIN Dialog

Wilson R S (AT)
Yes all installed VfW made available and works with JMStudio program.

-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of
Gabriel Landini
Sent: 03 September 2008 11:48
To: [hidden email]
Subject: Re: TWAIN Dialog

On Wednesday 03 September 2008 11:25:12 Wilson R S (AT) wrote:
> Thanks for the help, one slight problem.
>
> When trying to compile Peter Stierlen capturing plugin I keep getting
> around 36 errors. Any ideas?
>

Do you have JMF installed?

G.
Reply | Threaded
Open this post in threaded view
|

Re: TWAIN Dialog

Peter Stierlen
Reply | Threaded
Open this post in threaded view
|

Re: TWAIN Dialog

Wilson R S (AT)
Thanks for all your help, I have got it working now.

-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of peter.stierlen
Sent: 04 September 2008 00:32
To: [hidden email]
Subject: Re: TWAIN Dialog

Hi Wilson,

I think that ImageJ can not find your JMF.jar-File. Put this file in the
correct folder or change the Classpath variable to make the ImageJ/Java
JDK finding the file. Please list the error messages for a more detailed
view on the problem.

Up to now I have not found a good way to solve the memory leak problem
... so the plugin (and ImageJ) will be closed with a "System.exit(0)"
command.
I tested different methods for closing the player "p.stop(), p.close(),
p=null" and also different garbage collections "System.gc()" ... but
without any success.
I think that I read something about a memory problem caused by the media
buffer ... is someone out there knowing more about that problem? I will
test this point by running the plugin without the media buffer commands.


Wilson R S (AT) schrieb:

> Yes all installed VfW made available and works with JMStudio program.
>
> -----Original Message-----
> From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of
> Gabriel Landini
> Sent: 03 September 2008 11:48
> To: [hidden email]
> Subject: Re: TWAIN Dialog
>
> On Wednesday 03 September 2008 11:25:12 Wilson R S (AT) wrote:
>  
>> Thanks for the help, one slight problem.
>>
>> When trying to compile Peter Stierlen capturing plugin I keep getting
>> around 36 errors. Any ideas?
>>
>>    
>
> Do you have JMF installed?
>
> G.
>
>
>
>
> E-Mail-Nachricht wurde von Spyware Doctor überprüft (5.5.1.322)
> Datenbankversion: 5.10610e
> http://www.pctools.com/de/spyware-doctor/
>
>  




E-Mail-Nachricht wurde von Spyware Doctor überprüft (5.5.1.322)
Datenbankversion: 5.10620e
http://www.pctools.com/de/spyware-doctor/
Reply | Threaded
Open this post in threaded view
|

Re: TWAIN Dialog

Peter Stierlen
Reply | Threaded
Open this post in threaded view
|

Camera Calibration Tool

Peter Stierlen
Reply | Threaded
Open this post in threaded view
|

LSM Toolbox

Marco Antunes
Dear all

For some reason the "button" Fuse/Merge Images disappeared from my new version of LSM Toolbox (version 4.0d). Can someone tell me how can I get it back?
I'm using ImageJ 1.41k and LSM Toolbox 4.0d.

Thanks in advance

Marc

_________________________________________________________________
Instale a Barra de Ferramentas com Desktop Search e ganhe EMOTICONS para o Messenger! É GRÁTIS!
http://www.msn.com.br/emoticonpack
Reply | Threaded
Open this post in threaded view
|

Re: LSM Toolbox

jmutterer
I guess that those two functions are basicly useless now that lsm
files are opened as hyperstacks. However, the plugins behind those
functions can be downloaded from the following addresses :

http://ibmp.u-strasbg.fr/fileadmin/user_upload/plugins/LSM_Fusion.class
http://ibmp.u-strasbg.fr/fileadmin/user_upload/plugins/LSM_Merge.class

Jerome

On Thu, Sep 18, 2008 at 4:01 PM, Marco Antunes <[hidden email]> wrote:

> Dear all
>
> For some reason the "button" Fuse/Merge Images disappeared from my new version of LSM Toolbox (version 4.0d). Can someone tell me how can I get it back?
> I'm using ImageJ 1.41k and LSM Toolbox 4.0d.
>
> Thanks in advance
>
> Marc
>
> _________________________________________________________________
> Instale a Barra de Ferramentas com Desktop Search e ganhe EMOTICONS para o Messenger! É GRÁTIS!
> http://www.msn.com.br/emoticonpack