Finally i released a new version of Bio7 with many improvements and new features. Updated tutorials are available, too. The new Bio7 1.6 release can be downloaded here. Please also download the examples *.zip file from the sourceforge website which contains new examples for Bio7 1.6 (e.g. an example to cluster an image folder with ImageJ and R).
- Bio7 1.6 is now based on Eclipse 3.8.0.
- The option “Always run in background” is now selected by default.
- Integrated new Bio7 grid file format to import or export formatted spreadsheet data (for images and fonts, etc.).
- Updated the integrated Java Libraries.
- Added the application API from “Processing” (a few programming examples are available in the examples for Bio7 1.6).
- The main “Processing” panel can be embedded in the “Custom” view of Bio7 for integration (see screenshot below)).
- Updated WorldWind to the latest version.
- Integrated more syntax coloring options for the editors of Bio7.
- Now fonts for selected syntax types can be adjusted in the Bio7 editors, too.
- Added drag and drop text support for the different Bio7 editors.
- Double-Click in brackets selects the code in the brackets of the editors.
- Added some default Update sites for Bio7 (e.g. EGit).
- Updated links in the Bio7 browser.
- Updated the Bio7 API description!
- Refactored several plugins.
- Updated and improved many Bio7 API methods.
- Created new Bio7 API methods for the Bio7 grid.
- Added update support for the Bio7 plugins with the integrated p2 Update Manager (see screenshot below).
- Fixed some bugs.
- Reorganized the file wizard of Bio7 (see screenshot below).
- Added Java 7 support for the Java compiler and editor.
- Bio7 now uses the standard Java compiler to compile Java source (with the support of the Janino API).
- Improved the error messages for a Java compilation (if errors occur).
- Compilation errors are now marked within the Java editor (selectable – see screenshot and video tutorial below).
- In the Outline view selected members of a Java class are now shown (created from the “Abstact Syntax Tree” (AST)).
Video Tutorial: http://bio7.org/flash/createjava.htm
- Now a complete Java classes can be compiled with the Java compiler dynamically (context menu Navigator view). If a main method is available it will be invoked automatically after compilation (see screenshot below).
- If a class extends the “Model” class it will be compiled like the default Java classbody (ecomain method can be invoked!).
- New option to switch between classbody AST parsing and class AST parsing (for the display of the Outline view) .
- New Wizards are available for Java files and ImageJ files, etc.
- New rearranged Wizard Pages are available for an improved overview.
- Update to R 2.15.1.
- Update to Rserve 0.6.8.
- Added text drag and drop support for the R editor.
- Added more source formatting options for the editor.
- Added a display for the loaded packages (use the “Update” method in the R-Shell view to see the current loaded packages).
- Added a simple Sweave support for Bio7 (installation of e.g. MikeTex necessary! The actions for Sweave are available in the context menu of the Navigator view if a Sweave or Latex file is selected!)
R + ImageJ
- Added a new image transfer option to transfer RGB image values to R in one shot (as raw vectors or as a R, G, B integer matrix – see screenshot below).
- Added a new transfer mode to transfer selected pixels (all pixels within an area selection). If the ROI Manager in ImageJ is active all ROI image data (selected pixels) for all opened images (every roi is applied to all opened images regardless in which image the ROI was created!) is transferred to R (also recognizes now the transfer type adjustments!). For e.g. supervised classification purposes a signature is added to each selection matrix, too. If the ROI manager is not active the standard transfer method is invoked (see screenshots below – for an explanation please follow the video tutorial link below the images).
Video tutorial: http://bio7.org/flash/roiselections.htm
- Added a new API to transfer images to R with ImageJ in a windowless mode for the purpose of batch computing of images (see examples).
Video demonstration: http://bio7.org/flash/batchimagejr.htm
- Added a new API to transfer R image vector data as an ImageJ float image in place e.g. for gridded simulations in R (and in silent mode without printing evaluation messages).
- Updated the integrated ImageJ application to the latest ImageJ version 1.47a.
- ImageJ Plugins can now be compiled dynamically with the integrated dynamic Java compiler. The action is available in the context menu of the Navigator view if a Java file is selected. The action compiles the active Java file in the editor. For this action it is not necessary anymore to put the class file in the plugins directory of ImageJ. Classfiles and *.jar archives can be created with available actions in the Navigator view, too.
- Added speed adjustments for the 3d view in z-direction.
- Added a “Reset View” button.
- Added a few examples for the new image API methods.
- Added a Swarm example (for the OpenGL 3d view).
- Added Java Processing examples.
It is recommended that your computer should have at least 1024 mb ram and a 1 ghz processor.
A 3d Graphics Card which is OpenGL enabled (only necessary for the “Spatial” view and the embedded “WorldWind” view.
To use the OpenOffice (LibreOffice) feature of Bio7 an installation of OpenOffice (LibreOffice) >= 2.0 is
required. The path to OpenOffice will be automatically fetched by Bio7 from the registry (Windows) or can be adjusted in the Bio7 preferences (Windows, Linux, MacOSX) to the default path.
For the MacOSX version a JRE >=1.6.0 has to be installed if not available on the OS by default (For Windows and Linux a JRE is bundled in the Bio7 installation package).
Installation Windows, MacOSX and Linux:
The installation of Bio7 is similar to the installation of the Eclipse environment. Simply decompress the downloaded *.zip file in a preferred location on your file system.
After decompressing with a standard zip-tool (like WinZip, Win Rar) the typical file-structure of an Eclipse based application will be created.
To start the application simply double click on the Bio7.exe (Windows) or Bio7 (Linux, MacOSX) file.
R Windows specific:
Because Windows Vista, Windows 7, etc. is very sensitive to user rights etc. the package installation was reorganized in Bio7 1.4 for installable add-on packages inside of Bio7. The default add-on package location in a Bio7 release is now:
At this location inside of Bio7 the packages will be installed by default (if not changed!).
Windows only (if needed)!:
To write the R package location path to the Windows registry please start Bio7 with the enabled
option “Install path at startup” to set the registry path to the bundled R location. By default this option is disabled not to harm any default user installation of R.
In Bio7 x.x please install the R package rgdal which is needed for some spatial import and export scripts.
Please note that the import scripts for spatial data can have problems with special text encoded filenames. If an rgdal import script produces an error the Rserver will probably die and you have to restart Rserve.
R Linux specific:
To use R from Bio7 please install R with a package manager.
Also the installation of the Rserve library is required. This can be easily done inside R by typing:
> install.packages(“Rserve”, dependencies=TRUE)
in the R console.
After the installation of R the path to the R (if not using the default path) application has to be
adjusted inside of Bio7 (“Preferences->Preferences Bio7″). In addition the path to the (add-on) packages
install location has to be adjusted, too (“Preferences->Preferences Bio7->RServe Preferences”).
Please also set the user rights for the folder. This is sometimes necessary if you would like to install packages with the Bio7 interface and you don’t have the user rights. (Start Rserve with a shell for an analysis if problems occur! -> R->Preferences->Rserve preferences->Start with shell)
Since Bio7 1.4 default paths are set which are usually correct for a Linux distribution.
If Rserve is running you can then easily install the package rgdal with the Bio7 interface which is needed
for the import/export scripts (you can also install it beforehand with R!).
Linux (only 32bit): Scanner with Sane:
If the Sane interface is not running by default please set a symbolic link (the shared library has to be found!):
ln -s /usr/lib/libsane.so.1 /usr/lib/libsane.so
R MacOSX specific
To use R from Bio7 please install the latest R. After the installation of R start R and install the Rserve package:
> install.packages(“Rserve”, dependencies=TRUE)
The default installation paths of Bio7 are pointing to a standard installation of R but can be adjusted in the
preferences of Bio7 (“Preferences->Preferences Bio7″). In addition the path to the (add-on) packages install location can be adjusted, too if necessary (“Preferences->Preferences Bio7->RServe Preferences”). If Rserve is running you can then easily install the package rgdal with the Bio7 interface which is needed for the import/export rgdal scripts (you can also install them beforehand with R!).
On the Bio7 SourceForge website you can download examples for the Bio7 application (recommended!). In addition the examples can
be accessed on github. To install the Bio7 examples please import the examples from the Examples.zip file.
“File->Import->Existing Projects into Workspace”.
Select the archive file “Examples.zip” and the two projects “Bio7 Examples” and “Ecological Modelling”. Press “Finish” to import them into Bio7 (they will be imported to the workspace location).
Increased Java memory
Windows and Linux
For an increased Java heap space open the Bio7.ini file in the install directory of Bio7. In the file you can change the default memory settings e.g. the initial heap size -Xms and the maximum heap space -Xmx.
For an increased Java heap space open the Bio7 package (context menu if you click on the icon) then go to Contents->MacOS and open the Bio7.ini file with a texteditor. In the file you can change the default memory settings e.g. the initial heap size -Xms and the maximum heap space -Xmx.