Category Archives: ImageJ

Eclipse ImageJ Plugin Update Released


I released a new version of the ImageJ plugin which comes bundled with a feature complete ImageJ macro editor and an embedded Eclipse ImageJ interface.

Screenshot (Windows, Eclipse Darkest Dark Theme)

Screenshot Code Completion (Windows, Eclipse Darkest Dark Theme)

Release notes:

  • Updated ImageJ version 1.52m (1.52m12)
  • Improved the ImageJ canvas (Plot canvas and Image canvas are now opened as intended)
  • The ImageJ canvas replace method now works as intended (see, e.g., IJ_webcam capture plugin)
  • Improved plot canvas (zooming, actions, etc. are now working as intended)
  • Plot action buttons are now added below each plot (see screenshot below)
  • Added new actions (in the plugins menu) to interpret the current opened Eclipse editor sources (BeanShell, JavaScript, Jython and ImageJ macro) using the ImageJ interpreters (using, e.g., PyDev for Jython).
  • Added a new Java compile action (in the plugins menu) to compile the current opened Eclipse editor source (see screenshot below). To compile dynamically with ImageJ please use or adjust the ImageJ plugins path in the Eclipse preferences.
  • MouseWheel actions are now working as intended (use STRG+MouseWheel to zoom!)
  • Improved stability for drag and drop actions of multiple image files
  • Improved stability for MacOSX
  • Reorganized Eclipse plugins and features
  • ImageJ2 can now be optionally installed and is not bundled by default (now optional dependent of ImageJ). Customization is possible (plugin can be populated with maven command in Eclipse)
  • Added the latest ImageJ macro function templates
  • JavaFX (embed Swing in JavaFX and SWT panel) can now be optionally installed (but is not necessary by default)
  • Removed the outdated Albireo plugin dependency
  • Added key listeners for the tab when all images are closed (ImageJ keys!)
  • Improved the ImageJ macro hoover (workaround for SWT_AWT)
  • Added a workaround for repaint issues in MacOSX when switching perspectives with SWT_AWT
  • Added a workaround for MacOSX to receive key events again after focus lost (sometimes you need to press the mouse two times when the perspectives have been switched)
  • Fixed several rare occuring deadlock events on MacOSX


It might be necessary to uninstall old plugin versions first!

To install the plugin the latest OpenJDK 11 is required and an installation of Eclipse 4.10 or 4.9.

The plugin is availabe from the Eclipse Marketplace Client:

As an alternative open the Help->Install new Software dialog and add the following update site:

MacOSX Eclipse Fontsize Correction

To fix the default font size on Eclipse (a matter of taste) I wrote a short summary on the Github page how to fix the font size (see 1 – bottom page).

The plugin source and more information can be found on Github:

ImageJ plugin with new Eclipse macro editor released


I released a new version of the Eclipse ImageJ plugin which now bundles ImageJ (version1.51p) with a full featured Eclipse editor for the macro language of ImageJ.

Added features of the editor:

  • Dynamic error detection (grammar derived from the ECMA grammar by Bart Kiers)
  • Toolbar action to execute ImageJ macros
  • Syntax highlightening
  • Debugging support (reusing and implementing interfaces and methods from @Wayne – same keyboard shortcuts – see animation below)
  • Code completion (with browser help)
  • Code templates (add you own templates)
  • Info popups (text hoover)
  • Outline view (var variables, variables, methods and macros)
  • Automatic closing of braces, parentheses and strings
  • Automatic indention of functions,loops, etc.
  • Code folding
  • Code formatting (based on the Eclipse-javascript-formatter by Sebastian Moran)
  • Resize fonts functions (with Ctrl++ or CMD++, CTRL+- or CMD +-)
  • Font preferences
  • Mark occurences (scope independant)
  • A copy function for this forum (simply adding javascript tags which I often forget;-))

Improved ImageJ plugin


Finally I had the time to improve the ImageJ plugin structure of the ‘Plugins’ view menu. Now the SWT menu structure of the plugin completely matches the AWT menu structure of  ImageJ (see screenshots below with some installed plugins).
Installed plugins, scripts and macros will be added to their defined menu path. Before this (current version) it was only possible to extend the SWT ‘Plugins’ menu and installed scripts and macros were only available if installed in the Bio7 main menu or by means of the ImageJ ‘Control Panel’.





In addition I improved the image ‘Type’ menu to show checked menu items according to the opened image (see screenshot below).


Finally the ImageJ shortcuts will be mapped to the SWT menu if not used by the platform with a higher priority (see screenshot below).


Some minor improvements will follow, too for the next update of the plugin which can be updated for Bio7 2.4 or any Eclipse environment soon.



ImageJ and Image Analysis Links


Some useful resources on the Internet are sometimes hard to find.
Here i present some useful links for ImageJ and image analysis in general.

Manual and Links

General Manual:


ImageJ Website:

ImageJ plugins:

ImageJ Tutorials:

ImageJ Forum:

ImageJ Wiki:

ImageJ Video Tutorials:

ImageJ Manual:

Fiji – ImageJ distribution with bundled plugins:

Free and useful material about ImageJ:

Tutorial with ImageJ:

Free Image Books

Bildverarbeitung in der Praxis:

Fundamentals of Image Processing:

Image Analysis and Processing:

Image Processing Fundamentals:

Digital Imaging in Microscopy:

Digital Image Processing: