A repository for an Eclipse ImageJ1 plugin contributed from the Bio7 project.
Add the following URL as update site:
https://bio7.github.io/imagej/
Please note that it is not necessary to install the javafx feature (deprecated).
- Updated the ImageJ plugin to version 1.54b5
- Added the latest macro templates
- Added a new editor drag and drop function to drop external multiple files and folders as editor string filepaths.
- Fixed some minor bugs
- Updated the ImageJ plugin to version 1.53t26
- Added the latest macro templates
- Fixed some minor bugs
- Updated the ImageJ plugin to version 1.53n7
- Added the latest macro templates
- Fixed some minor bugs
- Updated the ImageJ plugin to version 1.53m7
- Improved the "Synchronize Windows" action for detached views
- Added the latest macro templates
- Fixed some minor bugs
- Improved the 'Detach Images' menu action
- Added an post activation action for detached views ('Open All Images as Views' action bugfix for Windows)
- Improved the layout action for orthogonal stack views (in detached views)
- Added an API method to invoke the 'Open All Images as Views' action
- The ImageJ macro action 'setLocation' will now change the size and location of detached views if available
- Fixed some minor bugs
- Updated the ImageJ plugin to version 1.53j43
- Renamed the 'Detach Images' menu actions
- Images can now be detached in a seperate view window ('Open All Images as Views')
- Added 'Open All Images as Views' action preferences (coordinates, size, etc., to layout several windows side by side, e.g., on a secondary screen)
- Added the latest macro templates
- Fixed some minor bugs
- Updated the ImageJ plugin to version 1.53j35
- Added the latest macro templates
- Updated the ImageJ plugin to version 1.53j26
- Detached images can now be closed in a macro by name or string argument
- Improved the image close method. Now also closes detached images if opened
- The color for composite images is now displayed in the status line
- The image and color information for detached images is shown in the status line
- Fixed the ImageWindow show method which opened a minimized JFrame, e.g., in batch mode
- Added the latest macro templates
- Updated ImageJ plugin to version 1.53j7
- Improved the "Zoom to Selection" and Zoom "To" action for the embedded canvas in a tab
- Improved the image close method (for the "Arrange Channels" action and some other plugins)
- Improved the "Stack to Images" action now running in a job to avoid blocking UI threads
- Simplified the "Images to Stack" action to run correctly in macros
- Added a timelag for plot windows to avoid blocking threads on MacOSX
- Added the latest macro templates
- Updated ImageJ plugin to version 1.53i25
- Improved the ImageJ macro editor speed. No more flickering editor markers
- Added a editor hoover to display editor hex colors and an hoover action to set the hex color with a dialog.
- Added a sort an collapse action to the macro editor outline view.
- Added the image information (which is normally displayed in the image window) to the Eclipse status line if a tab is selected or a stack/composite slider is moved.
- Added an action to change the tab title color according to the color of the selected composite image channel.
- Added a new color action for the new ImageJ message display method (tab title color and toolbar color)
- Improved the outline redraw action for MacOSX
- Updated ImageJ plugin to version 1.53.h62
- Fixed and improved the outline navigation for MacOSX
- Added new ImageJ macro templates
- Improved template description
- Fixed a corrupted button layout in the histogram canvas on MacOSX
- Improved the debug start action
- Updated ImageJ plugin to version 1.53.h30
- Improved the context menu of the ROI Manager (using SWT)
- Added new ImageJ macro templates
- Improved template description
- Updated ImageJ plugin to version 1.53.g57
- Improved the main menu bar extensibility
- Added new ImageJ macro templates
- Improved template description
- Updated ImageJ plugin to version 1.53.f40 (Java 14 necessary!)
- The main view menubar can now be extended if a plugin uses the main menu of ImageJ
- Replaced several AWT context and toolbar menus with SWT context menus (ImageJ toolbar, image canvas, ROI Manager Menu "More" and the Plots menu) which fixes several AWT glitches (Linux, HighDPI) and respects the Eclipse theme settings (e.g., dark menus on Windows)
- Improved the debug display in the macro editor (color marker preferences, new arrow indicator icon)
- Improved the plot button display (especially when using a dark theme)
- Fixed several toolbar macro tool bugs and updated all macro tools
- Fixed the context menu macro tools ("Restore Startup Tools" now working as it should and updates the context menu)
- Added new macro function templates
- Several bugfixes
- Updated ImageJ plugin to version 1.53.e17
- Added new default macro editor templates
- Improved template description
- Fixed a toolbar deadlock when view was attached and Eclipse reopened
- Updated ImageJ plugin to version 1.53.e4
- Added or improved new default macro editor templates
- Removed deprecated MacAdapter
- Improved 'Split Channels' for Mac
- Updated ImageJ plugin to version 1.53.d7
- Added new default macro editor templates
- Improved Java 14 compiler support
- Improved layout after crop operation
- Updated ImageJ plugin to version 1.53.c62
- Added new default macro editor templates
- Added Java 14 compiler support
- Fixed a deadlock in the HTMLDialog
- Updated ImageJ plugin to version 1.53.c3
- Added new default macro editor templates
- Fixed a HyperStack converter bug
- Updated ImageJ plugin to version 1.53.a
- Added new default macro editor templates
- Updated ImageJ plugin to version 1.53.a21
- Added new default macro editor templates
- Updated ImageJ plugin to version 1.52v19
- Added new default macro editor templates
- Updated ImageJ plugin to version 1.52u33
- Fixed a version number display bug
- Updated ImageJ plugin to version 1.52u29
- A change of the ImageJ plugin location ('Plugins Path') in the preferences now automatically updates the plugins classpath and menus (avoids to use the action 'Help->Refresh Menus' in a second step).
- Fixed a Compiler path bug for Linux and MacOSX when using the Plugins->'Compile Java Eclipse' action to compile an ImageJ plugin from the current opened Java editor.
- Updated ImageJ plugin to version 1.52u28
- Fixed a SWT memory bug not releasing native children of image tabs.
- Added a new thumbnail action to the context menu of the 'Navigator' view to open image and LUT files of a selected directory.
- LUT's can now be displayed (preview) in the 'Thumbnails' view. The selected LUT will be applied on the current supported ImageJ image (grayscale).
- The Image info is now displayed as a popup in the 'Thumbnails' view (if you hoover over an item).
- Added a 'Detach All Images' action (menu 'Window') to transfer all opened tab images to a view (which can be moved and arranged like a separate window)
- Improved dark theme for AWT on Windows, MacOSX and Linux.
- Added custom text properties to allow future dark themes or disable dark theme color schemes.
- Improved the canvas layout for HighDPI displays on Windows.
- Added new default macro editor templates.
- Improved the default AWT fonts (using OS fonts).
- Fixed a deadlock occuring on MacoSX when detaching image tabs.
- Fixed a PlotWindow deadlock when using the action "Close All".
- New debug view toolbar actions availabe to easily debug ImageJ macros (without loosing editor key focus on MacOSX when an image is created or opened).
- Implemented all default ImageJ debug actions as toolbar actions (one action for 'Trace' and 'Fast Trace')
- New debug functions available to set a variable value in debug mode.
- New breakpoint actions available to set, edit, delete breakpoints and simple expression breakpoints (evaluate boolean variable expression) in the ruler menu of the editor. Created breakpoints are automatically stored, too.
- Extended the editor hoover to display the variable values when you hoover the editor. Array values will be displayed, too.
- The default array value display table will be opened if you click on the debug view table column.
- Implemented several text editor and toolbar changes to visualize the debugging process.
- Fixed several bugs.
- Fixed a PlotWindow deadlock
- Updated ImageJ plugin to version 1.52q44
- Improved the embedded and detached PlotWindows. Now all plot windows are simultaneously resized according to their parent canvas (embedded or detached).
- Fixed a bug in the detach menu action (wrong id and panel settings)
- Removed the '*' tab icon (usually indicating an unsaved editor file) from the detached custom view by deleting the 'ISaveablePart2' interface
- Fixed a toolbar exception when the toolbar was embedded in the Image perspective and not saved detached (eclipse restart)
- Fixed wrong tab colors
- Updated ImageJ plugin to version 1.52q30
- A new integrated Eclipse ImageJ macro debug view is available as an replacement for the debug dialog (close and reopen the perspective if you update this plugin to add the new view!)
- Improved the Linux dark theme GUI for embedded AWT and Swing dialogs
- Improved the ImageJ macro code completion in general
- Editor defined variables are added to the code completion and shown according to their scope (function or macro defined variables are added when opening the code completion inside this scope. Function arguments are added, too)
- Editor defined functions are added to code completion.
- Editor defined function arguments are added as selectable templates
- Comments and multiline comments of editor defined functions are shown in the context code completion view (must be defined above the function)
- Updated ImageJ plugin to version 1.52p61
- Added Java 12 compiler target
- Added new macro code completion templates.
- Updated ImageJ plugin to version 1.52p36
- Improved code completion to find and set functions with fixed arguments.
- Improved hoover information to list all functions with identical name.
- Added new macro code completion templates.
- Updated ImageJ plugin to version 1.52p30
- Improved automatic layout correction for synchronized detached views (e.g., orthogonal views)
- Improved titles of detached views to show correct titles and updates (e.g., coordinates of synchronized orthogonal views)
- Improved the centering of dialogs in a multi-monitor setup (dialogs are centered in the monitor which contains the ImageJ view tabfolder)
- Improved the code completion cursor location and arguments are now templates selectable with the tab key
- Improved the code completion sorting of templates
- Added a preference option to change the critera for code completion search to suggest function templates which contain the prefix
- Added new file, directory dialogs to insert paths at the current cursor location.
- Added a color and hex color dialog to select and insert color strings into the editor. Selected hex colors are displayed in the color dialog (if created before with the dialog)
- Added new macro templates
- Fixed several bugs (e.g., opened dialog option popups in macros, deadlock with SWT dialog in a running macro)
- Updated ImageJ plugin to version 1.52m28
- Implemented dynamic plot scaling when the image tabsize changes
- Reset Plot action scales plot to default values (context menu "Plot Size")
- Plot fullscreen scaling support
- Detached tab plot scaling support
- Now tabs are visible selected when a window or image is selected (before the selection occured, too but invisible for speed reasons)
- Implemented the Window components menu to make hidden components visible again (ROI Manager, Threshold, etc. - apparently works on MacOSX and Windows only)
- Implemented Refresh Menus (if you create and compile a new plugin in the plugins folder with Eclipse (dynamically without restart) you can refresh the menu to update the plugins menu dynamically without a restart!)
- Implemented the "Help->Examples->Autorun Examples" checkbox menu (true or false)
- Restored the modal dialogs on Windows
- Added latest macro API templates
- Updated ImageJ version 1.52m (1.52m20)
- Added new macro function definitions
- Zoom factor is displayed in the image tabs
- Workaround a SWT key focus loss with ImageJ on Linux (occurred on Ubuntu 18.10)
- Fixed an exception when adding an image ("Add Slice")to a stack of size 1
- Detached images are now closed, too when using the "File->Close All" view menu action
- 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
- Updated to ImageJ 1.52h (1.52h5)
- Added a new rename action (rename all words like the current selection - multiple cursor)
- Improved dark theme with popular Eclipse darkest dark theme and default dark theme
- Editor colors are automatically switched when using the dark theme (or darkest dark theme)
- ImageJ toolbar improved for the dark theme
- Added a new ImageJ detach image menu in the �Window� menu of the ImageJ-Canvas view
- Added all new ImageJ macro API functions to the code completion of the macro editor
- Improved the ImageJ MacOSX touchpad resizing of the ImageJ panel
- Improved the default font size for Swing components on Retina displays (e.g., ImageJ components - can be changed in the preferences)
- Added some new macro source actions (Block Selection, Find And Replace, etc. - submenu Text ) to the macro editor
- Updated to ImageJ 1.52c (1.52c12)
- Updated ImageJ2 libraries (pom-scijava 20.0.0)
- Added recent macro API commands to code completion
- Fixed some minor bugs (hoover offset, Linux awt dialogs etc.)
- Updated to ImageJ 1.51u (1.51u54)
- Fixed lost keyboard focus of the ImageJ panel on MacOSX
- Improved preferences for Swing fonts (to decrease on Retina displays)
- Several other fixes for MacOSX
- Added description for font corrections for MacOSX (see bottom of this page!)
- Improved drag and drop of images on the ImageJ panel
- Cluttered MACOSX menus are now closed (added from opened application windows and frames). Some default added menus are disabled in the Bio7 preferences by default
- Code completion (template) action now displays the macro documentation and context information when typing
- Improved code completion layout (context information)
- Added debug context menu actions to the macro editor
- Added some other context menu actions, too ('Get Macro Recorder Text', 'Evaluate Line')
- Code completion (templates) action now displays the macro documentation when typing
- Images from macros are now opened fast (before had a 2s delay)
- Macros can now be executed within an external ImageJ instance in a separate Java process if enabled in the preferences (Windows only!)
- Added JavaFX library reference for Java9
- Improved grammar for nested functions in loop and if statements
- Added more code completion templates
- Added a new action to insert text of the macro recorder (CTRL+SHIFT+R or CMD+SHIFT+R)
In this relase a macro editor and ImageJ perspective have been added to the ImageJ plugin. The editor has the following features:
- 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
- Updated ImageJ to 1.51k.
- Added a fake editor to register and open standard image files from the Navigator or Project Explorer, etc.
- Fixed several bugs to convert image types
Please note that the update site has changed (due to a cert. problem with on sourceforge) to:
https://bio7.github.io/imagej/
Uninstall the old plugins before you install from the new location!
-
Updated ImageJ to 1.51k.
-
Reworked the ImageJ plugin view menus. Now all Imagej menus and nested submenus are displayed correctly!
-
Added a menu switch (menu 'Window') to open images in a Swing in JavaFX in SWT tab (future replacement for SWT_AWT). Images can subsequently be opened in fullscreen with: F1 = primary monitor true fullscreen, F2 = primary monitor fullscreen, F3 = secondary monitor fullscreen, F4 = tertiary monitor fullscreen, F5 = quartary monitor fullscreen.
-
Plugins, scripts and macros are now displayed in their defined menus or submenus.
-
All ImageJ Menus are updated dynamically to recognize copied scripts and macros instantly.
-
Added two preferences to define the install location of plugins and macros.
-
Improved plugin compatibility by going back to AWT in some dialogs.
Important for MacOSX : Please add the option -Dprism.order=sw in the Eclipse.ini to avoid a crash when using JavaFX!
Important for Linux : Please add the option --launcher.GTK_version 2 (don't forget the linebreak before the version number) in the Eclipse.ini to avoid a crash when using JavaFX (JavaFX doesn't run with GTK3 on Linux)!
Add the following URL as update site:
https://bio7.github.io/imagej/
The important views to open are the ImageJ-Canvas which essentially implements the ImageJ interface and the toolbar. You find them in Eclipse under: Window->Show View->Other. First open the ImageJ-Canvas!
Window->Show View->Other->ImageJ->ImageJ-Canvas (ImageJ panel and menu)
Window->Show View->Other->ImageJ->ImageJ-Toolbar (ImageJ toolbar)
The ImageJ toolbar can also be opened in the ImageJ-Canvas (ImageJ 'Window' menu).
There is also a self-created thumbnails browser (not speed optimized) for ImageJ default formats included (Thumbnails):
Window->Show View->Other->ImageJ Extra->Thumbnails
Ignore the 'Image' view in the same section which is used to show a detached image (opened with a mouse right-click on a image tab).
Preferences can be found under "Preferences ImageJ".
Plugins can be installed in the ImageJ plugins folder (see the plugin folder inside of the Eclipse ImageJ plugin). They will be added to the plugin menu automatically.
A right-click on an image tab will open the displayed image in an extra view for, e.g., side by side views (x,y,z views). They must be closed separately.
Fullscreen in default SWT_AWT mode is supported for the primary monitor (Press F2 to open and Esc to abort).
Drag and drop of images and plugins should work, too (Drag them on the view or the ImageJ toolbar to open or install!)
Open the ImageJ perspective (Window->Perspective->Open perspective->Other->ImageJ Edit - or use the toolbar action).
To create an ImageJ macro first create a general eclipse project (File->New->Project->General Project - Other Project types are allowed, too!) and then create an ImageJ macro in the project folder (New->Other->ImageJ->ImageJ Macro File).
The ImageJ toolbar can be opened in the ImageJ-Canvas view menu (Window->ImageJ-Toolbar)
Images can be dropped in a folder of Eclipse and can be opened from within Eclipse (special image icon available when image extension is detected) in the Eclipse ImageJ view. Unknown image formats (default extensions are used only) can be opened with (Open with->Other->ImageJ Image Editor) or simply by a drag and drop action.
- Insert text at selected line from Macro Recorder: (CTRL+SHIFT+R or CMD+SHIFT+R)
- Debug (CTRL+D or CMD+D)
- Debug Abort (CTRL+X or CMD+X)
- Debug Step (CTRL+E or CMD+E)
- Debug Trace (CTRL+T or CMD+T)
- Debug Run To (CTRL+SHIFT+E or CMD+SHIFT+E)
- Debug Run To Completion (CTRL+SHIFT+X or CMD+SHIFT+X)
- Evaluate Line (CTRL+Y or CMD+Y)
To increase the fonts on MacOSX in Eclipse globally add the following lines to the default MacOSX theme css file in Eclipse (/Contents/Eclipse/plugins/org.eclipse.ui.themes_xxx/css/e4_default_mac.css or /Contents/Eclipse/plugins/org.eclipse.ui.themes_xxx/css/e4-dark_mac.css):
For the default CSS (the color attribute is for the text color!):
{
color: #000000;
font-size: 14px;
}
For the dark CSS:
{
font-size: 14px;
}
For a fine control of the general font size of Eclipse and MacOSX in general use the Tinker software available here:
https://www.bresink.com/osx/TinkerTool-de.html
Finer control (two steps):
To increase the fonts on MacOSX delete the argument (twice available) in the Eclipse.ini file (Contents/Eclipse/eclipse.ini - see: https://wiki.eclipse.org/Eclipse.ini -):
-Dorg.eclipse.swt.internal.carbon.smallFonts
To increase only the ImageJ and Thumbnails view menus font add the following lines to the default MacOSX theme css file in Eclipse (/Contents/Eclipse/plugins/org.eclipse.ui.themes_xxx/css/e4_default_mac.css):
#com-eco-bio7-imagej.MToolBar {
font-size: 14px;
}
#com-eco-bio7-thumbnails.MToolBar {
font-size: 14px;
}
Swing fonts on Retina displays (if necessary):
To decrease oversized Swing fonts on Retina displays go to the ImageJ preferences (Preferences ImageJ->Font Correction) and add a negative value (-8 works as a good correction)