Last active
June 11, 2022 11:10
-
-
Save frauzufall/5d71bfe7ac2b358c2c2dabca0f320341 to your computer and use it in GitHub Desktop.
ImageJ command line execution
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://imagej.net/Scripting_Headless | |
Start a SciJava command from command line: | |
./ImageJ-linux64 --run org.scijava.plugins.commands.debug.DumpStack | |
.. headless: | |
./ImageJ-linux64 --headless --run org.scijava.plugins.commands.debug.DumpStack | |
Calling a script from command line: | |
./ImageJ-linux64 --ij2 --headless --console --run hello.py 'name1="Mr",name2="Mrs Kraken"' | |
ImageJ-win64.exe --ij2 --headless --console --run "PathTo/hello.py" "name1='Mr', name2='Kraken'" | |
A command with a parameter: | |
./ImageJ-linux64 --headless --run org.scijava.plugins.commands.io.OpenFile "inputFile='/home/random/blobs.tif'" | |
Getting the system information: | |
./ImageJ-linux64 --headless --run org.scijava.plugins.commands.debug.SystemInformation |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment