image acquisition from a digital camera

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

image acquisition from a digital camera

K. Kachrimanis
Dear all,

I have a question about image acquisition with imageJ. I am using a Jenoptik C12 camera and I have installed its driver (it is coming with the Progres Capture Basic software). Using the Jtwain or Twain 6 plugins, I can open the Progres software from within imagej, however there seems to be no obvious way to capture the live image. I would like to know if there is a way to capture an image or a sequence of images in predetermined time intervals directly from imagej, because the Progres software cannot capture images sequentially.
Thank you in advance.

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

Re: image acquisition from a digital camera

Vincenzo Della Mea
I'm not sure I understood your question.
In my experience, TWAIN can be used to automatically acquire an image  
only if the low level driver (specific to the camera) implements such  
modality, which is part of the Twain specification but not always  
implemented. If not, you will see a dialog every time.

Vincenzo

Il giorno 16/mag/06, alle ore 21:21, K. Kachrimanis ha scritto:

> Dear all,
>
> I have a question about image acquisition with imageJ. I am using a  
> Jenoptik C12 camera and I have installed its driver (it is coming  
> with the Progres Capture Basic software). Using the Jtwain or Twain  
> 6 plugins, I can open the Progres software from within imagej,  
> however there seems to be no obvious way to capture the live image.  
> I would like to know if there is a way to capture an image or a  
> sequence of images in predetermined time intervals directly from  
> imagej, because the Progres software cannot capture images  
> sequentially.
> Thank you in advance.
>
> Kyriakos.



------------------------------------------------------------------------
------------------------
-----------------------------  Vincenzo Della Mea, PhD  
------------------------------
------------ Medical Informatics, Telemedicine and e-health Lab  
------------
Dept. of Mathematics and Computer Science - University of Udine, Italy
-----------------------  http://www.dimi.uniud.it/dellamea/ 
-------------------------
------------------------------- http://mitel.dimi.uniud.it 
---------------------------------
Reply | Threaded
Open this post in threaded view
|

Antwort: Re: image acquisition from a digital camera

Joachim Wesner
Hi there,

playing around a bit with JTwain, I noted too that Twain interfaces for
cameras are usually set up that way that on each acquisition a fancy
preview window appears wit thousand of nifty
features, while often - after some initial setup - the user only wants to
grab an image and return immediately without user interaction.

Your C12 camera, does it probably also support the VFW resp. Microsoft WDM
Image Capture interfaces (I know, many expensive cameras do not, often only
cheap webcams support it)?

I´m working on a ImageJ plugin to access such cameras via JMF. I set up the
initial dialog that way (which can itself be automated by a macro) that you
can select if a previewer should show up or
not (leading to automatic grabbing), if it should stay active after
returning to ImageJ - so that future images can be grabbed faster - or free
up the camera again etc.

Joachim Wesner



|---------+--------------------------->
|         |           Vincenzo Della  |
|         |           Mea             |
|         |           <[hidden email]|
|         |           NIUD.IT>        |
|         |           Gesendet von:   |
|         |           ImageJ Interest |
|         |           Group           |
|         |           <[hidden email]|
|         |           .GOV>           |
|         |                           |
|         |                           |
|         |           17.05.2006 14:47|
|         |           Bitte antworten |
|         |           an ImageJ       |
|         |           Interest Group  |
|---------+--------------------------->
  >-------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                               |
  |        An:      [hidden email]                                                                                           |
  |        Kopie:   (Blindkopie: Joachim Wesner/DEWET/LMSCentral/Leica)                                                           |
  |        Thema:   Re: image acquisition from a digital camera                                                                   |
  >-------------------------------------------------------------------------------------------------------------------------------|




I'm not sure I understood your question.
In my experience, TWAIN can be used to automatically acquire an image
only if the low level driver (specific to the camera) implements such
modality, which is part of the Twain specification but not always
implemented. If not, you will see a dialog every time.

Vincenzo

Il giorno 16/mag/06, alle ore 21:21, K. Kachrimanis ha scritto:

> Dear all,
>
> I have a question about image acquisition with imageJ. I am using a
> Jenoptik C12 camera and I have installed its driver (it is coming
> with the Progres Capture Basic software). Using the Jtwain or Twain
> 6 plugins, I can open the Progres software from within imagej,
> however there seems to be no obvious way to capture the live image.
> I would like to know if there is a way to capture an image or a
> sequence of images in predetermined time intervals directly from
> imagej, because the Progres software cannot capture images
> sequentially.
> Thank you in advance.
>
> Kyriakos.



------------------------------------------------------------------------
------------------------
-----------------------------  Vincenzo Della Mea, PhD
------------------------------
------------ Medical Informatics, Telemedicine and e-health Lab
------------
Dept. of Mathematics and Computer Science - University of Udine, Italy
-----------------------  http://www.dimi.uniud.it/dellamea/
-------------------------
------------------------------- http://mitel.dimi.uniud.it
---------------------------------



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
Reply | Threaded
Open this post in threaded view
|

Re: image acquisition from a digital camera

John Cahill
In reply to this post by K. Kachrimanis
Not an ImageJ solution, but you may find that MacroExpress
http://macros.com/features.htm will automate your Progres capture
software and allow wait times between image capture.

John Cahill
Reply | Threaded
Open this post in threaded view
|

Re: Antwort: image acquisition from a digital camera

K. Kachrimanis
In reply to this post by Joachim Wesner
Hi,

Thank you all for your answers. I will try the Macro Express approach. It doesn't HAVE to be an imagej solution. After all, I'm only interested in acquiring images sequentially, so that I can make a small video of what is going on for example on a Linkam hot stage during heating or cooling down. But it would be great if imageJ had the capability of acquiring live image and capture a video, because imagej is the most complete image processing and analysis tool I have seen, a lot better than some commercial image analysis programs I have used so far.
I have no idea whether the camera supports WDM interfaces. It came with very limited documentation.

Kyriakos Kachrimanis.


----- Original Message -----
From: "Joachim Wesner" <[hidden email]>
To: <[hidden email]>
Sent: Wednesday, May 17, 2006 4:11 PM
Subject: Antwort: Re: image acquisition from a digital camera


> Hi there,
>
> playing around a bit with JTwain, I noted too that Twain interfaces for
> cameras are usually set up that way that on each acquisition a fancy
> preview window appears wit thousand of nifty
> features, while often - after some initial setup - the user only wants to
> grab an image and return immediately without user interaction.
>
> Your C12 camera, does it probably also support the VFW resp. Microsoft WDM
> Image Capture interfaces (I know, many expensive cameras do not, often only
> cheap webcams support it)?
>
> I΄m working on a ImageJ plugin to access such cameras via JMF. I set up the
> initial dialog that way (which can itself be automated by a macro) that you
> can select if a previewer should show up or
> not (leading to automatic grabbing), if it should stay active after
> returning to ImageJ - so that future images can be grabbed faster - or free
> up the camera again etc.
>
> Joachim Wesner
>
Reply | Threaded
Open this post in threaded view
|

Image changed status"bit"

Joachim Wesner
Hi,

one short question:

Obviously each ImageProcessor (or ..Plus, ..Window, ..Canvas ?) has a
"changed bit" that is set when any modifications are done to the contents
and which will later cause the "Save changes...." dialog to pop up when you
try to close the image. How to access this status? One reason I might
consider
modifying this bit is for example in a plugin that creates new images by a
lengthy calculation from another image, there it could IMO be useful to
also set the
"changed status" to not loose the result.  It might, however, not always be
advisable to set this bit on new images, as most users are likely more
accustomed to
the current "click and forget" behaviour. (However your favorite word
processor will usually also remind you when closing your newly typed text!)

Joachim Wesner


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
Reply | Threaded
Open this post in threaded view
|

[OT] Re: image acquisition from a digital camera

seb-7
In reply to this post by K. Kachrimanis
K. Kachrimanis wrote:
> Dear all,
>
> I have a question about image acquisition with imageJ. I am using a Jenoptik C12 camera and I have installed its driver (it is coming with the Progres Capture Basic software). Using the Jtwain or Twain 6 plugins, I can open the Progres software from within imagej, however there seems to be no obvious way to capture the live image. I would like to know if there is a way to capture an image or a sequence of images in predetermined time intervals directly from imagej, because the Progres software cannot capture images sequentially.
> Thank you in advance.

Hello Kyriakos,

I had the same problem when I tried to re-use an old CCD to do kind of
very basic time lapse experiments. This camera was provided with a
crappy software working only on Win98 and a Twain driver which could not
be used with ImageJ.
This is out of topic but I wrote a dirty Perl script using a funny
module (Win32::GuiTest) which could click on the right buttons for me.
If you are interested I can send you the scripts and some details to
adapt them to your setup.

seb
Reply | Threaded
Open this post in threaded view
|

Re: Antwort: Re: image acquisition from a digital camera

Vincenzo Della Mea
In reply to this post by Joachim Wesner
In the past we made a framegrabber available to ImageJ thanks to a  
free, generic WDM driver (I do not have it at hand). Such driver was  
able to connect to different framegrabbers, although with some  
problems on some resolutions. By the way, we then wrapped it into the  
WinVDIG driver for use with QUicktime.... then we passed to an easier  
Scion firewire camera. I'm not sure WDM is able to manage resolutions  
over analog cameras.

Vincenzo

> Your C12 camera, does it probably also support the VFW resp.  
> Microsoft WDM
> Image Capture interfaces (I know, many expensive cameras do not,  
> often only
> cheap webcams support it)?
>
> I´m working on a ImageJ plugin to access such cameras via JMF. I  
> set up the
> initial dialog that way (which can itself be automated by a macro)  
> that you
> can select if a previewer should show up or
> not (leading to automatic grabbing), if it should stay active after
> returning to ImageJ - so that future images can be grabbed faster -  
> or free
> up the camera again etc.
Reply | Threaded
Open this post in threaded view
|

Re: [OT] Re: image acquisition from a digital camera

K. Kachrimanis
In reply to this post by seb-7
Hello Seb.

Thank you, for your offer. I would definitely need detailed instructions though, because I've only heard of Perl scripts, but no idea what they are or what they can do.

Kyriakos.



----- Original Message -----
From: "seb" <[hidden email]>
To: <[hidden email]>
Sent: Thursday, May 18, 2006 3:14 PM
Subject: [OT] Re: image acquisition from a digital camera


> K. Kachrimanis wrote:
>> Dear all,
>>
>> I have a question about image acquisition with imageJ. I am using a Jenoptik C12 camera and I have installed its driver (it is coming with the Progres Capture Basic software). Using the Jtwain or Twain 6 plugins, I can open the Progres software from within imagej, however there seems to be no obvious way to capture the live image. I would like to know if there is a way to capture an image or a sequence of images in predetermined time intervals directly from imagej, because the Progres software cannot capture images sequentially.
>> Thank you in advance.
>
> Hello Kyriakos,
>
> I had the same problem when I tried to re-use an old CCD to do kind of
> very basic time lapse experiments. This camera was provided with a
> crappy software working only on Win98 and a Twain driver which could not
> be used with ImageJ.
> This is out of topic but I wrote a dirty Perl script using a funny
> module (Win32::GuiTest) which could click on the right buttons for me.
> If you are interested I can send you the scripts and some details to
> adapt them to your setup.
>
> seb
Reply | Threaded
Open this post in threaded view
|

Re: Antwort: Re: image acquisition from a digital camera

Vincenzo Della Mea
In reply to this post by Joachim Wesner
I found a reference to that WDM driver: BTWinCap, http://btwincap.sourceforge.net/
It provides for a WDM driver (on Windows only) when your framegrabber does not have it; then you can wrap it using the WinVDIG driver (that is able to tranform a WDM source to a VDIG source), and thus use the Quicktime plugin.
We tried it together with a MatrixVision MV Delta framegrabber, but we were never able to reach its maximum resolution (good for testing, though). A lot of framegrabbers are apparently compatible.

Vincenzo

> > In the past we made a framegrabber available to ImageJ thanks to a
> > free, generic WDM driver (I do not have it at hand). Such driver was
> > able to connect to different framegrabbers, although with some
> > problems on some resolutions. By the way, we then wrapped it into the
> > WinVDIG driver for use with QUicktime.... then we passed to an easier
> > Scion firewire camera. I'm not sure WDM is able to manage resolutions
> > over analog cameras.
>
> Vincenzo,
>
> Is there a website I can link to that has information about this
> frame-grabber plugin. I am sure that a lot of ImageJ users would be
> interested in it.
>
> Thanks,
>
> -wayne