Skip to content

rich-hart/AMRE_FIJI_Scripting

Repository files navigation

AMRE_FIJI_Scripting

Example code of how to write scripts for Fiji using Python

To run open Macros_To_Py_Script.py in fiji and click run.

Shows how to conduct basic Fiji stripting in python. These set of commands were generated using the macro recorder in Fiji. Most commands generated by the macro recorder can be traslated into a python command by simply adding 'IJ.' to the front, however this will not work for all commands. Also, this is not ideal for large data sets. For maximum efficiency, the python stript should be written by manipulating Fiji's internal data structures rather than using the functions generated by the macro recorder. ( See http://www.ini.uzh.ch/~acardona/fiji-tutorial/ for more details. )

Final Notes: Fiji is a application running on the Java virtual machine. Therefore, when Fiji uses a python script it is actually running on a python language interpreter that operates inside the java virtual machine. This has its limitations because presently Java can only run Python 2.5 (see Jython for more details).

About

Example code of how to write scripts for Fiji using Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages