SensiCam ImageJ plugin

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

SensiCam ImageJ plugin

Weller Andrew Francis
Dear all,

Thank you for the SensiCam ImageJ plugin!

We don't have any problems running this plugin manually, but we would
like to incorporate it in an ImageJ macro to run automatically, which is
proving a little problematic. Manually, we do the following:

1. Start plugin from 'Plugins' menu
2. Select Image Type as 8 bits BW (by clicking)
3. Set the exposure to "4" (from the configuration panel)
4. Capture an image (by clicking the 'Image Capture' button)
(This image will be passed for further analyses.)

My interpretation of a plugin is that if it can be called from the
'Plugins' menu, then in theory it should be able to be called from a
macro?!

Is it possible to 'look into' the plugins code and pass 'overriding'
values from the macro to the plugin for automation? So, in our example
above:

run("SensiCam", "imageType="8 bits" exposure=4 etc etc");

However, our run("SensiCam") doesn't work, unless we use a shortcut!?
Strange, even though the plugin is called "SensiCam"...

I hope that someone can help?!

Regards, Andy
Reply | Threaded
Open this post in threaded view
|

Re: SensiCam ImageJ plugin

Kunito Yoshida
Hi Andy,

Thank you for trying the plugin.

If you want to drive motors or shutters via serial communication, I think it
may necessary to look into the source code and write a dedicated plugin. I
am not sure but I remember that I had a problem in loading the plugin
repeatedly without quitting ImageJ itself. I do not know why but may be
related to Java Native Interface.

Unfortunately I have no more access to the camera due to move and cannot
support the plugin. I am sorry for this.

I could send you our later version of plugin which implemented serial
control of a shutter from Applied Scientific Instruments if you like. The
code is ugly and for a particular use, but may be still helpful in
implementing other instruments.

Although the link to pco/cooke version is currently broken, I googled the
web and found them in
http://pco.orange8.ch/cooke/php/support/drivers_1-en__01040201.html

Maybe you can consult them about your need and ask them for the source which
is much more eleganly written than my original version.

Hope this would be of some help.
Kunito