Update the ImageJ Plugin for Bio7

19.05.2020

In Bio7 it is easy to update the Eclipse ImageJ plugin to the latest version. Open the main menu Help -> Install new Software dialog and add the following update site entry (see screenshot below) to install the update:

https://bio7.github.io/imagej/

It might be recommended to externalize the default ImageJ plugin location (the plugins to extend ImageJ) in the Bio7 preferences (Preferences -> Preferences ImageJ -> Plugins Path) thus that the updates don’t overwrite the default location.

You could for example set the path to a local and remote Github repository to share the plugins with a team.

A change in the preferences will automatically update the ImageJ classpath at runtime (as in the ImageJ menu Help -> Refresh Menus).

ImageJ Plugin Update

27.02.2020

A new ImageJ plugin update is available which can be installed into Bio7 3.1 (as an update) or Eclipse. Several new features are available.

Release Notes

  • Updated ImageJ plugin to version 1.52u28
  • 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 SWT memory bug not releasing native children of image tabs.
  • ImageJ Plugin Perspective with opened Thumbnail view (Windows)

Installation

To install the plugin the latest Java >=8 is required (only for Eclipse) and an installation of Eclipse or Bio7 3.1 (which is already bundled with OpenJDK 13.0.2).

The plugin can be installed from the Eclipse Marketplace:

https://marketplace.eclipse.org/content/imagej-plugin

As an alternative (and update for Bio7 3.1) open the Help->Install new Software dialog and add the following update site (see screenshot below):

https://bio7.github.io/imagej/

Then install the following features (see screenshot below):

Note for Bio7 3.1:

When installing the update for Bio7 3.1 don’t forget to recalculate the JDT Project Classpath for Java Projects (Context Menu ‘Project Explorer’ -> Fix Project Classpath) for the updated ImageJ plugin location.

Bio7 3.1 Released

07.02.2020

A new release of Bio7 is available. This update comes with a plethora of new features, improvements and bugfixes.

R ImageJ Analysis Perspective (MacOSX Catalina, Dark Mode)

For those who don’t know Bio7. The application Bio7 is an integrated development environment for ecological modeling, scientific image analysis and statistical analysis.

It also contains a feature complete development environment for R with an advanced R editor, R developer tools and interfaces to perform scientific image analysis with R and the also embedded ImageJ application.

New and Noteworthy

General:

  • Bio7 3.1 RCP (Rich Client Platform) built upon Eclipse 4.14
  • Bundled with AdoptOpenJDK 13.0.2
  • Bundled with R 3.6.2 (Windows only!)
  • New main toolbar action available to create different projects and files in one shot
  • Added a toolbar submenu action to open the ‘Control’ view
  • ‘Dark Mode’ theme automatically enabled on supported OS (MacOSX only!)
  • ‘2D’ perspective (e.g., for cellular automata simulations) is now hidden by default.
  • Removed the ‘Image’ perspective and the ‘Points Panel’ view and actions
  • Updated libraries (SSH for Windows, etc.)
  • Improved the ‘WorldWind’, ‘2D’ and  ‘3D’ perspective to open and arrange the editor area in a user-friendly programming layout by default (see screenshots below).

WorldWind Perspective with opened Java file (MacOSX Catalina, Dark Mode)

2D Perspective with opened Java file (MacOSX Catalina, Dark Mode)

  • JavaFX has been disabled by default in the preferences for Linux HighDPI displays (e.g., GTK scale 2) because of an open bug when embedded in an SWT canvas.
  • Improved the default Bio7 CSS interface colors

R:

  • New toolbar wizard to create quickly R, R Markdown and Shiny files in a project
  • New R Packages tab available to show and update installed R packages (see screenshot below)

Load Packages Tab (MacOSX Catalina, Dark Mode)

  • Changed the ‘Image-Methods’ view to show only R/ImageJ related actions (bidirectional transfer of image data, selection data, particle and cluster methods, etc.)
  • Added the ‘Geometry Selections’ view to the ‘R ImageJ Analysis’ perspective to transfer ROI selection coordinates as a list or georeferenced data geometries (using package ‘sp’ and Java GDAL)
  • Added the KMeans cluster algorithm to the ‘Cluster Pic’ action in the ‘Image-Methods’ view
  • The ‘R ImageJ Analysis’ perspective is now visible by default
  • Improved the ‘Pixel RM’ and ‘Pixel RM Stack’ action to transfer all ROI selections more efficiently, especially for VirtualStacks of ImageJ
  • Added a new option in the ‘Pixel RM’ and ‘Pixel RM Stack’ action to transfer ROI Manager selections signature names according to a separator char (handy for supervised classification with ImageJ and R)
  • Added a new stack transfer API method (‘imageFeatureStackToR’) to transfer whole stacks in a column layout (for pixel classification)
  • The ‘R-Shell’ view list now scrolls to the last selected variables after a workspace refresh
  • New R editor ‘Quickfixes’ available (warning for an assignment operator in function call, check for null and na in comparison operators)
  • Improved the code completion of the ‘R-Shell’ view and the R editor
  • Improved the plot layout in ImageJ (when using the preference option ‘ImageJ View Display Size’ in the Rserve plot preferences)
  • Added a Shiny timeout to improve the server startup
  • Updated the R ANTLR parser

ImageJ:

  • Updated ImageJ to version 1.52t(.51)
  • Added a new ImageJ macro debugger interface
  • Added a new thumbnail action to the context menu of the ‘Navigator’ view to open image and LUT files of a selected directory
  • Added a ‘Detach All Images’ action to transfer all opened tab images to a view (which can be moved and arranged like a separate window)
  • Improved the dark theme for all AWT components
  • Added new default macro editor templates
  • Improved the ImageJ plot windows
  • Improved the detached image view layout
  • Improved the canvas layout for HighDPI displays on Windows
  • Huge amount of other changes since the last release. For all changes, see:https://github.com/Bio7/EclipseImageJ1Plugin

Java:

  • Dynamic compilation now supports Java 13 by default
  • Added a new option to dynamically compile a class without a constructor call (without object creation). The object has to be created in the main method (as known from Java).
  • Updated the Java OpenGL (JOGL) 3D interfaces
  • Updated Java WorldWind to the latest version
  • Fixed the OpenGL view visibility on MacOSX (the ‘3D’ and ‘WorldWind’ view stayed visible when switching to another perspective)
  • Added an experimental fullscreen option to open WorldWind and the ‘3D’ view on a secondary monitor (press F3)
  • Updated Java libraries

Download and Installation:

Windows:

Just download the *.zip distribution file from https://bio7.org and unzip it in your preferred location. Bio7 comes bundled with a Java Runtime Environment, R and Rserve distribution and works out of the box.

Linux:

Download and extract the installation file from https://bio7.org.
For Linux you have to install R and Rserve (see Rserve installation below!).

MacOSX:

Download and extract the installation file from https://bio7.org.

If you start Bio7 a warning or error can occur because of the changes how Apple treats signatures! To allow Bio7 to start see this instructions for Yosemite, Sierra and Mojave:

First try to open the app with the context menu to allow the execution. If that won’t work try the following:

Yosemite: Open an app from an unidentified developer

Sierra: Open an app from an unidentified developer

Moave and Sierra: How to fix “Application” is damaged and can’t be opened error in macOS Mojave and High Sierra.

In addition for MacOSX you have to install R and Rserve (see below!).

Linux and MacOSX Rserve (compiled for cooperative mode) installation:

To install Rserve open the ‘Native R’ console in the ‘Console’ view and then execute the view menu action “Options -> Install Rserve (coop. mode) for R …” for different R versions (SSL 1.1 version for Linux Ubuntu > 19.10). This will download and install Rserve in your default R library location, see video below (please make sure that your default Linux R library install location has writing permissions!):

How to install Rserve for Linux and MacOSX: https://youtu.be/tF7HbRBRIF

In cooperative mode only one connection at a time is allowed (which we want for this Desktop appl.) and all subsequent connections share the same namespace (default on Windows)!

Bio7 Documentation

For more information about Bio7 please consult the soon updated Bio7 User Guide.

A plethora of Bio7 videotutorials for an introduction can be found on YouTube.

Updated Eclipse ImageJ Plugin Available

27.08.2019

I released a new version of the Eclipse ImageJ plugin based on ImageJ 1.52q44.

  • Updated the 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 – animation below)
  • 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

Github:

https://github.com/Bio7/EclipseImageJ1Plugin

Eclipse Marketplace:

https://marketplace.eclipse.org/content/imagej-plugin

Screenshot (Linux, Darker Dark Theme)

 

 

Bio7 MacOSX And Windows Update Available

19.04.2019

I created an update for MacOSX and Windows which can be easily installed with the Update Manager of Bio7. This update fixes some bugs (which affects Windows and MacOSX only), adds two new scripts in the R-Shell view and updates the ImageJ plugin to version 1.52o33.

Before you update Bio7 make sure that you make a backup of possible installed scripts and ImageJ plugins in the default script and ImageJ plugin location because these two plugins and their preferences will be updated (it might be a good practice to externalize these locations in the Bio7 preferences for updates in the future).

Installation:

1. Add the update sites below to the Update Manager (Help->Install New Software)

2. Add the URL (Location) of the Update Site (see below).

3. Close the Update Manager and then check for Updates (Help->Check for Updates).

4. Select Bio7 and confirm all licenses and unavailable certificates during installation.

Update Sites for Windows and MacOSX:

Windows: https://bio7.org/update/win/repository
Mac: https://bio7.org/update/mac/repository