Volume Segmentation Tool with GUI

Paper is available at: A generalist deep-learning volume segmentation tool for volume electron microscopy of biological samples

VST is also available with SBGrid!

Supporting Operating Systems includes: Windows and Linux.

Download Link (latest release: 0.12.1): Link

Latest major changes

2/03/2026: VST switched its network backbone from U-Net to Swin-transformer, which should take way less video memory and at the same time being faster.

18/08/2025: VST now support dataset that are larger than your system memory, by converting them to zarr and load only the required chunks when needed!

About the Tool

Volume Segmentation Tool is a python based tool that utilizes deep learning to perform volumetric electron microscopy image segmentations, both semantic and instance segmentation.

Based on Pytorch backend. Includes a Gradio based graphical user interface.

The desired images are 8bit or 16bit grey scale 3D tif/hdf as commonly generated by electron microscopes. The desired labels are either binary mask where 0 is background and 1 is foreground (semantic), or each value represent a different object (instance).

This tool does not support 2D image segmentation, nor colorful image segmentation. In which case you should consider ilastik or Trainable Weka Segmentation or nnUNet.

To contributor: The GitHub page for VST is the preferred site for reporting issue or community feedback.

Advantages

Limitations

Installation

  1. Install Python 3.11. (Newer versions of Python should work as well)
  2. Install Git.
  3. Open a terminal and navigate to the desired installation directory.
  4. Clone the repository by running the following command:
    git clone https://github.com/fgdfgfthgr-fox/Volume_Seg_Tool.git
  5. Run the corresponding "install_dependencies" script for your system.
  6. Wait for the script to finish, which could take a while depends on your network speed.
  7. To confirm the installation is successful, you should try to run the sanity check script.

Starting GUI

  1. Run the corresponding "start_WebUI" script for your system. This would open up a terminal.
  2. Your web browser should automatically open up a "website" with url "127.0.0.1:7860" or something similar.

Tutorials

Please see the Wiki.

Credits

This tool was developed under the scholarship funding from AgResearch, and was helped by the members of the Bostina Lab of the University of Otago. As well as Lech Szymanski from the school of computing.

The example dataset included in this repository was collected by Vincent Casser.

The UroCell Dataset was heavily used during the development of the tool.

Special thanks to YunBo Wang from Xidian University, who gave me exceptional helps at the early stage of development.