Check the following pages after installation.
- How to use: Folder manager
- How to use: Dojo proofreader
- How to use: 3D annotator
- How to use: 2D CNN
- How to use: 3D FFN
- How to use: 2D and 3D filters
- Example workflow1: Mitochondria segmentation using 2D CNN
- Example workflow2: Membrane segmentation using 3D FFN
- How to make a plugin
Recent years have seen a rapid expansion in the field of micro-connectomics, which targets 3D reconstruction of neuronal networks from a stack of 2D electron microscopic (EM). The spatial scale of the 3D reconstruction grows rapidly over 1 mm3, thank to deep neural networks (DNN) that enable automated neuronal segmentation. Advanced research teams have developed their own pipelines for the DNN-based large-scale segmentation (Informatics 2017, 4:3, 29). Those pipelines are typically a series of client-server software for alignment, segmentation, proofreading, etc., each of which requires specific PC configuration. Because of such complexity, it is difficult even for computer experts to use them, and impossible for experimentalists. This makes a serious divide between the advanced and general experimental laboratories. To bridge this divide, we are now trying to unify pieces of software for automated EM segmentation.
- We built a desktop version of the proofreading software Dojo (IEEE Trans. Vis. Comput. Graph. 20, 2466–2475).
- We merged it with a DNN framework: Google Tensorflow/tensorboard.
- We then incorporated four types of DNN-based segmentation programs: 2D U-Net, ResNet, DenseNet, and HighwayNet. (https://github.com/tbullmann/imagetranslation-tensorflow) and flood-filling networks (https://github.com/google/ffn).
- A 3D annotator was equipped for visual inspection and annotation.
- 2D/3D filtration functions were equipped for pre/postprocessing of the segmented images.
Multiple users can simultaneously use it through web browsers. The goal is to develop a unified software environment for ground truth preparation, DNN-based segmentation, pre/postprocessing, proofreading, annotation, and visualization.
Operating system: Microsoft Windows 10 (64 bit) or Linux (Ubuntu 18.04).
Recommendation: High-performance NVIDIA graphics card whose GPU has over 3.5 compute capability.
We provide standalone versions (pyinstaller version) and Python source codes.
- Download one of the following two versions, and unzip it:
-
Version 0.84:
-
Release summary:
- Bug fix.
- Safe termination and re-launch of web applications.
- Correct folder selection from the "open" dialog.
- Clear internal file/folder arrangement.
- Bug fix.
-
Previous version:
-
Download one of sample EM/segmentation dojo folders from the following link, and unzip it:
-
Click the link "main.exe" in [UNI-EM] to launch the control panel.
-
Select Dojo → Open Dojo Folder from the dropdown menu, and specify the folder of the sample EM/segmentation dojo files. The proofreading software Dojo will be launched.
-
Install Python 3.5 or 3.6 in a Microsoft Windows PC (64 bit) or Linux PC (Ubuntu 18.04 confirmed).
-
Install cuda 9.0 and cuDNN 7.4.2 (or later) for Tensorflow 1.12 (latest combination on 2018/12/20) if your PC has a NVIDIA-GPU.
-
Download the source codes from the github site:
- git clone https://github.com/urakubo/UNI-EM.git
-
Install the following modules of Python: Tensorflow-gpu, PyQt5, openCV3, pypng, tornado, pillow, libtiff, mahotas, h5py, lxml, numpy, scipy, scikit-image, pypiwin32, numpy-stl. Check "requirements-[os]-[cpu or gpu].txt". Users can install those module using the following command.
- pip install -r requirements-[os]-[cpu or gpu].txt
-
Copy [UNI-EM]\marching_cubes\marching_cubes
*
and paste it to {$INSTALL_PYTHON}\Lib\site-packages.- Execute the Python command "import site; site.getsitepackages()" to find {$INSTALL_PYTHON}.
The marching cube program is obtained from the ilastik: https://github.com/ilastik/marching_cubes
-
Download one of sample EM/segmentation dojo folders from the following link, and unzip it:
-
Execute "python main.py" in the [UNI-EM] folder. The control panel will appear.
-
Select Dojo → Open Dojo Folder from the dropdown menu, and specify the sample EM/segmentation dojo folder. The proofreading software Dojo will be launched.
- Hidetoshi Urakubo - Initial work -
- Ryoji Miyamoto - Frontend GUI -
- Torsten Bullmann - 2D convolutional neural networks -
- Naoki Tamura - Deployment using pyinstaller -
- Ryoya Kamikawa - GUI of classic image filters -
Urakubo, H., Bullmann, T., Kubota, Y., Oba, S., Ishii, S., UNI-EM: An Environment for Deep Neural Network-Based Automated Segmentation of Neuronal Electron Microscopic Images. Scientific Reports 9, 19413 (2019) doi:10.1038/s41598-019-55431-0
This project is licensed under the GNU General Public License (GPLv3) - see the LICENSE file for details.
This software relies on the following excellent free yet copyrighted software packages. We obey policies of those software packages.
- Flood-filling networks (Apache License 2.0)
- Imagetranslation-tensorflow (MIT)
- Tensorflow, Tensorboard (Apache License 2.0)
- PyQT5 (GPLv3)
- Rhoana Dojo (MIT)
- Open CV3 (3-clause BSD License, https://opencv.org/license.html)
- Scikit image (http://scikit-image.org/docs/dev/license.html)
- Three.js (MIT)
- Tabulator (MIT) https://github.com/olifolkerd/tabulator/blob/master/LICENSE
- Bootstrap (MIT) https://getbootstrap.com/docs/4.0/about/license/
Hidetoshi Urakubo 2019/2/1