This is the source of the U-Net Segmentation plugin for Fiji. You can obtain the latest stable version directly from the Fiji updater via update site "U-Net Segmentation".
For more details check our project page. Binary releases are available on our Fiji update site
The plugin requires connection to a Linux workstation (can be the local computer) running a special variant of caffe (caffe_unet).
Obtain the U-Net segmentation backend (caffe_unet) binaries and corresponding caffe source patch from the project page. Please also check our caffe-unet-docker repository.
We recommend to use Linux for building from source, in theory building on Windows should work, but it is not tested.
ij.jar, jsch.jar and jhdf5.jar should be already included in an of-the-shelf Fiji installation. You can obtain protobuf-java from the U-Net update site.
Clone this repository, create a separate build directory, and run cmake using the cloned directory as source folder and the build directory as destination folder. Choose your Fiji plugins folder as install prefix.
Then the following block should build and install the Unet-Segmentation plugin into Fiji. The API documentation can be found in /home/user/Unet-Segmentation/build/javadoc/doc/.
mkdir -p /home/user/Unet-Segmentation/build
cd /home/user/Unet-Segmentation/build
cmake -DCMAKE_INSTALL_PREFIX=/home/user/Fiji.app/plugins -DFIJI_BIN=/home/user/Fiji.app/ImageJ-linux64 ..
make install