name the snapped images

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

name the snapped images

Jinglei Yang
Hi there,

I want to use ImageJ->plugins->AcquireQCam to capture image. My questions are:

1, how to set the program snap image every certain interval, say 10 seconds?
2, how to name each image using the captured time? e.g. 20071126 12-30-30 for image taken at 2007/11/26 12:30:30.

Thank you so much!

Best regards,

Jinglei
Reply | Threaded
Open this post in threaded view
|

Re: name the snapped images

Gabriel Landini
On Monday 26 November 2007, Jinglei Yang wrote:
> I want to use ImageJ->plugins->AcquireQCam to capture image. My questions
> are:
> 1, how to set the program snap image every certain interval, say 10
> seconds?

The QImaging plugin is a bit short of what it should really be.
There is no way to control capture from a macro or another plugin. That is
really the minimum that any capture interface with IJ should do  (and to do
image capture under linux would be nice too).
So it is an "interactive" capture, you have to press the buttons yourself. :-/

To do it automatically, you can only use a robot program like the IJ_Robot
plugin  to do the clicking for you:

http://www.dentistry.bham.ac.uk/landinig/software/software.html

It is not a very elegant solution, but it is better than nothing.

> 2, how to name each image using the captured time? e.g. 20071126
> 12-30-30 for image taken at 2007/11/26 12:30:30.

This may be of use to see how to handle the time and date functions:

http://rsb.info.nih.gov/ij/macros/GetDateAndTime.txt

Cheers,

G.