First go to the project's page on SourceForge and click to download the source:
Then unpack the archive and go to the directory:
After installing the Eclipse Platform, create a new Java Project Named WrapImaJ:
In Eclipse's "File" menu item, chose "Import File System":
Browse to the WrapImaj source directory on you HD file system, and check all the Java Source directories (sub-directories of "src"):
In the Java Build Path, add the library ij.jar implementing the ImageJ API (publicly available on ImageJ Website or as Linux Package):
Download the officially supported "Auto Threshold" plugin for ImageJ (publicly available on ImageJ Website):
Again, configure the Java Build Path to add the downloaded Auto_Threshold.jar archive:
Put the Sample Data in the "testData" sub-directory of your project so that the file paths in the Java source code for tests arte OK:
The include test programs are exmplained in the user's guide.