Login  Register

Re: Twain crashes

Posted by seb-7 on Apr 29, 2006; 3:02am
URL: http://imagej.273.s1.nabble.com/different-results-using-ImageStatistics-and-Menu-Analyze-Measure-command-tp3702965p3702967.html

Ronan BOURGEOIS wrote:
> Would someone use morena & twain plugin to acquire with a scanner ?
> It crashes on both macosX and XP with latest imageJ?
>
> Could someone know about this bug ?
>
> Ronan.

Hi Ronan,
Trying to reuse an "old" ccd camera(with twain capabilities), I was
unable to use morena on a PIV/win2k/sdk-1.5.05. Could not even grab an
image using any demo code included with morena.
I read this tutorial by "javajeff" Friesen
http://today.java.net/pub/a/today/2004/11/18/twain.html
http://today.java.net/pub/a/today/2005/01/25/twain.html
http://today.java.net/pub/a/today/2005/04/11/twain.html
which I found really interesting, but I had the same kind of JVM crash
with the same set-up. The funny thing is I could acquire images with
IrfanView/twain, and on top of that, I tried the sample code included in
javajeff's tutorial on another PC, with an old scanner (cheap usb
scanner from canon) and it worked perfectly.
This will certainly not solve your problem quickly but you might want to
have a look at Jeff's tutorial (mostly the sample code). If this works
it would be possible to modify the ImageJ plugin to use Jeff's library
instead of Morena.


seb