A distributed, github based platform to share and collaborate on segmentation using open-source 3D Slicer biomedical image computing platform.
The primary goal is to use github infrastructure to manage multi-person segmentation projects, particularly in context of classroom assignments. A repository is used to manage segmentation of a specimen (e.g. a microCT of a fish) and issues are assigned to people to work on parts of the segmentation. Pull requests are used to manage review and integration of segmentation tasks.
The Slicer extension uses git behind the scenes, but most of the project management is done from within Slicer.
(First two steps are not required if you are planning to use MorphoCloud On Demand Instances, which we highly encourage you to do so.)
- Install git command line tools for your operating system. Make a note of the path you have installed git. You will need this information.
- Most recent MacOS computers come with git half-way preinstalled. Open a terminal window and type
git
. This should bring a pop-up window that will ask you to install Command Line Tools. Accept and proceeed with the install. You can also install git through the mechanisms listed in the link above.
- Most recent MacOS computers come with git half-way preinstalled. Open a terminal window and type
- Install GitHub CLI for your operating system.. Make a note of the path you have installed gh. You will need this information.
- Register an account on GitHub.com if you don't already have one. (Note that GH now requires 2FA. For 2FA, we suggest using GitHub's mobile app).
- Login to GitHub from the terminal window of your OS by giving this command:
gh auth login
. Make sure you follow the instructions all the way through, which involves the user pasting and 8-digit code (XXXX-YYYY) into the browser window, and authorizing GitHub. Make sure you have seen "Congratulations, you're all set!", in your browser window (if not, you need to repeat the steps).- If you get an "Command/file not found" error, it means gh executable is not on your system path. You will need to provide the full path from step #2 as prefix to the command (e.g.,
/Users/slicermorph/Desktop/gh-2.6/bin/gh auth login
)
- If you get an "Command/file not found" error, it means gh executable is not on your system path. You will need to provide the full path from step #2 as prefix to the command (e.g.,
- Install the MorphoDepot Slicer extension.
Each MorphoDepot workflow have two separate personas: Repository Owner, and Individuals (aka segmenters).
- Repository owners provide the MorphoDepot repository (which contains the scan data and if there is any, available segmentation), the terminology to be used in the project, and optionally describe open tasks that needs to be completed.
- Individuals can be students in a class, or a project team from a PI's lab. Each one gets assigned a specific task by the Repository Owner, and obtain and complete these assignments via MorphoDepot module in 3D Slicer.
MorphoDepot module is supported by funding from National Science Foundation (DBI/2301405).