Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow running Eyesis_Correction and JP46_Reader_camera in headless mode #2

Merged
merged 9 commits into from
Jan 4, 2016

Conversation

luxigo
Copy link
Contributor

@luxigo luxigo commented Jun 21, 2014

Hello Andrey, Oleg !

We can now dispatch the post-processing on several computers or run multiple ImageJ instances, without X being required, using Fiji headless mode (Fiji is just ImageJ: http://fiji.sc)

ImageJ plugins must not extend or instantiate frames in order to be run in headless mode (thanks to dscho for raising the issue),

Beside this they should implement "PlugIn" and the entry point should be method run();

  • that way, Eyesis_Correction can now be run from ImageJ macro:
    run("Eyesis Correction","prefs=<path_to_xml>");
  • or in headless mode from Fiji command line:
    ImageJ-linux64 --headless --allow-multiple --run Eyesis_Correction prefs=<path_to_xml> --mem ...

Run the post-processing interactively the first time for a single set of images (to set all the paths for calibration data and other parameters), then use corrxml (https://github.com/FoxelSA/corrxml) to generate the Eyesis_Correction.xml preference files for other sets of images, using the same parameters.

Cheers !

Plugins must not extend or instantiate frames in order to be run in headless mode,
they must implement "PlugIn" and the entry point should be method run(); AFIK

- Eyesis_Correction can now be run from macro:
  run("Eyesis Correction","prefs=<path_to_xml>");

- or in headless mode from Fidji command line:
  ImageJ-linux64 --headless --run Eyesis_Correction prefs=<path_to_xml> ...
F0x06 added a commit to F0x06/imagej-elphel that referenced this pull request Apr 17, 2015
AndreyFilippov added a commit that referenced this pull request Jan 4, 2016
Allow running Eyesis_Correction and JP46_Reader_camera in headless mode
@AndreyFilippov AndreyFilippov merged commit 01246a6 into Elphel:master Jan 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants