Introduced:
ImageJ is Java based open source image processing software, if you are interested in Java image processing technology, you can download the Open-source project source for a study. This article mainly describes how to import ImageJ source files into NetBeans, and how to configure the project properties so that the source files can be compiled correctly.
Preparation conditions:
1, download the source code ImageJ.
Http://rsb.info.nih.gov/ij/download/src/ij138q-src.zip.
The homepage is http://rsb.info.nih.gov/ij/download.html and has all the information you want about ImageJ, including documentation and source code.
Steps:
1. Extract the downloaded source code into a folder and create a new IJ folder.
Under the Unpacked folder, under the source folder, create a new folder named Ij1, and copy the IJ folder under the source folder to Ij1.
source folder for ImageJ sources after decompression
Copy Folder ij
2. Create a new project named ImageJ in NetBeans.
Open File-> New project, select General->java Class Library, click Next, enter project name: ImageJ
3, right click on this item, select Properties
4, add the ImageJ source code
Select the source on the left side of the Properties window and click the Add folder under the Source package folder on the right side of the window
Open a window that adds the source folder, select the folder ij1 that you created in the first step, and click OK.