What is ImageJ?
ImageJ is a public domain Java image processing program inspired by NIH Image for the Macintosh. It runs on any computer with Java 1.6 or later virtual machine. Therefore an OS/2 or eComStation machine with Open JDK gives no problems.

ImageJ can display, edit, analyze, process, save and print 8-bit, 16-bit and 32-bit images. It can read many image formats such as TIFF, GIF, JPEG, BMP, DICOM, FITS and "raw". It supports "stacks", a series of images that share a single window. It is multithreaded, can be time-consuming operations such as reading a file in parallel with other operations. You can do many calculations and measurements including geometric transformations. ImageJ can be zoomed up to 32:1 and down to 1:32. All analysis and processing functions are available at any magnification factor.

ImageJ setup screen with menu


ImageJ is a scientific instrument and therefore only available in English. There are no translations of ImageJ, I was unable to find it on the net. ImageJ is actively maintained, at least an update once a month. There is an awful lot of documentation of ImageJ and working with ImageJ.

System requirements
  • OpenJDK version 1.6GA or 1.6GA5, in other versions the menu is not displayed. (tickets #189 en #199)
  • Minimum 512Mb RAM internal memory.

Installing ImageJ
ImageJ can be installed on a computer with Java pre-installed. For the latest full distribution (including macros, plugins and LUT's) you must download ij150.zip (4.1 MB). Open the zip file with, for example, FC/2 and copy the folder "ImageJ" to a suitable location. The directory "ImageJ.app" can be deleted. Also the files "run" and "ImageJ.exe" (windows) can be deleted immediately.

The distribution can be updated to the latest version (currently 1.51o) by executing the Help--> "Update ImageJ" command. You will be notified what version you are running and the new version and if you want to proceed with upgrading.

Copy the contents of the file ImageJ-eCS to the folder(directory) "ImageJ". Create a new program object. Enter at Path and filename: "[drive: ImageJ]\ImageJ\ImageJ.cmd". In the tabpage Session you have to check the boxes "OS/2 window", "Running as an icon" and "Close Window to end program". In the tabpage General you can enter the name "ImageJ version 1.51o".

The used cmd file
The latest version works well with Open JDK in OS/2-eCS. I have a ImageJ.cmd file created with the following contents;

@echo off
set path=[drive: java]\JAVA\JAVA160\bin
set BEGINLIBPATH=[drive: java]\JAVA\JAVA160\bin
set CLASSPATH= 
[drive: ImageJ]
cd [drive: ImageJ]\ImageJ
java -Xmx512m -jar ij.jar
I use 2 separate partitions, one for Java and one for ImageJ with the files created by this program. The references used in the cmd file;

  • [drive: java] = station with Java
  • [drive: ImageJ] = station with ImageJ

should be replaced with real drive letters. Save the file and rename it to ImageJ.cmd. This file is copied to the ImageJ directory. Furthermore, different paths?, adjust according to your needs. Setup the memory specification with "Xmx512m", more is better, but the memory must be physically present. If ImageJ needs more an error will follow. Java needs physical memory, there are no limits for OS/2-eCS but OS/2-eCS itself can only address 4Gb.

ImageJ with photo and some activated menuoptions


Download
In the file the discussed cmd file (all drive letters are set to C :) and an OS/2 ImageJ icons: ImageJ-eCS.zip.

revision June 17, 2017