DOI: 10.5281/zenodo.15314214
title: Gut Analysis Toolbox: Training data and 2D models for segmenting enteric neurons, neuronal subtypes and ganglia

description: This upload is associated with the software, Gut Analysis Toolbox (GAT).

If you use it please cite:

Sorensen et al. Gut Analysis Toolbox: Automating quantitative analysis of enteric neurons. J Cell Sci 2024; jcs.261950. doi: https://doi.org/10.1242/jcs.261950

The upload contains StarDist models for segmenting enteric neurons in 2D, enteric neuronal subtypes in 2D and FPN+ResNet101 model for enteric ganglia in 2D in gut wholemount tissue. GAT is implemented in Fiji, but the models can be used in any software that supports StarDist and the use of 2D UNet models. The files here also consist of Python notebooks (Google Colab), training and test data as well as reports on model performance.

Note: The enteric ganglia model is has been updated to v3 which uses pytorch and is a different architecture (FPN+ResNet101).

The model files are located in the respective folders as zip files. The folders have also been zipped:



Neuron (Hu; StarDist model):



Main folder: 2D_enteric_neuron_model_QA.zip

StarDist Model File:2D_enteric_neuron_v4_1.zip 

DeepImageJ compatible model: 2D_enteric_neuron.bioimage.io.model.zip (used currently in GAT)



Neuronal subtype (StarDist model): 



Main folder: 2D_enteric_neuron_subtype_model_QA.zip

Model File: 2D_enteric_neuron_subtype_v4.zip

DeepImageJ compatible model: 2D_enteric_neuron_subtype.bioimage.io.model.zip (used currently in GAT)



Enteric ganglia (2D FPN_ResNet101; Use in FIJI with deepImageJ)



Main folder: 2D_enteric_ganglia_v3_training.zip

Model File: 2D_Ganglia_RGB_v3.bioimage.io.model.zip (used currently in GAT)




For the all models, files included are:



Model for segmenting cells or ganglia in 2D FIJI. StarDist or 2D UNet.

Training and Test datasets used for training.

Google Colab notebooks used for training and quality assurance (ZeroCost DL4Mic notebooks).

Python notebook and code for training ganglia model with QA.

Quality assurance reports generated from above notebooks.

StarDist model exported for use in QuPath.


The model files can be used within can be used within the software, StarDist. They are intended to be used within FIJI or QuPath, but can be used in any software that supports the implementation of StarDist in 2D.

Data:

All the images were collected from 4 different research labs and a public database (SPARC database) to account for variations in image acquisition, sample preparation and immunolabelling.

For enteric neurons the pan-neuronal marker, Hu has been used and the  2D wholemounts images from mouse, rat and human tissue.

For enteric neuronal subtypes, 2D images for nNOS, MOR, DOR, ChAT, Calretinin, Calbindin, Neurofilament, CGRP and SST from mouse tissue have been used..

25 images were used from the following entries in the SPARC database:



Howard, M. (2021). 3D imaging of enteric neurons in mouse (Version 1) [Data set]. SPARC Consortium. 

Graham, K. D., Huerta-Lopez, S., Sengupta, R., Shenoy, A., Schneider, S., Wright, C. M., Feldman, M., Furth, E., Lemke, A., Wilkins, B. J., Naji, A., Doolin, E., Howard, M., & Heuckeroth, R. (2020). Robust 3-Dimensional visualization of human colon enteric nervous system without tissue sectioning (Version 1) [Data set]. SPARC Consortium.

Wang, L., Yuan, P.-Q., Gould, T. and Tache, Y. (2021). Antibodies Tested in theColon – Mouse (Version 1) [Data set]. SPARC Consortium. doi:10.26275/i7dl-58h


Additional images for new ganglia model:



Hamnett, R., Dershowitz, L. B., Sampathkumar, V., Wang, Z., Gomez-Frittelli, J., De Andrade, V., Kasthuri, N., Druckmann, S. and Kaltschmidt, J. A. (2022b). Regional cytoarchitecture of the adult and developing mouse enteric nervous system. Curr. Biol. 32, 4483-4492.e5.


The images have been acquired using a combination different microscopes. The images for the mouse tissue were acquired using: 





Leica TCS-SP8 confocal system (20x HC PL APO NA 1.33, 40 x HC PL APO NA 1.3) 




Leica TCS-SP8 lightning confocal system (20x HC PL APO NA 0.88) 




Zeiss Axio Imager M2 (20X HC PL APO NA 0.3) 




Zeiss Axio Imager Z1 (10X HC PL APO NA 0.45) 



Human tissue images were acquired using: 





IX71 Olympus microscope (10X HC PL APO NA 0.3) 



For more information, visit the Documentation website.

NOTE: The images for enteric neurons and neuronal subtypes have been rescaled to 0.568 µm/pixel for mouse and rat. For human neurons, it has been rescaled to 0.9 µm/pixel . This is to ensure the neuronal cell bodies have similar pixel area across images. The area of cells in pixels can vary based on resolution of image, magnification of objective used, animal species (larger animals -> larger neurons) and potentially how the tissue is stretched during wholemount preparation 

Average neuron area for neuronal model: 701.2 ± 195.9 pixel2 (Mean ± SD, 6267 cells)

Average neuron area for neuronal subtype model: 880.9 ± 316 pixel2 (Mean ± SD, 924 cells)

Software References:

Stardist

Schmidt, U., Weigert, M., Broaddus, C., & Myers, G. (2018, September). Cell detection with star-convex polygons. In International Conference on Medical Image Computing and Computer-Assisted Intervention (pp. 265-273). Springer, Cham.

deepImageJ

Gómez-de-Mariscal, E., García-López-de-Haro, C., Ouyang, W., Donati, L., Lundberg, E., Unser, M., Muñoz-Barrutia, A. and Sage, D., 2021. DeepImageJ: A user-friendly environment to run deep learning models in ImageJ. Nature Methods, 18(10), pp.1192-1195.

ZeroCost DL4Mic

von Chamier, L., Laine, R.F., Jukkala, J., Spahn, C., Krentzel, D., Nehme, E., Lerche, M., Hernández-Pérez, S., Mattila, P.K., Karinou, E. and Holden, S., 2021. Democratising deep learning for microscopy with ZeroCostDL4Mic. Nature communications, 12(1), pp.1-18.
description: QuPath model exported using this library:
https://github.com/onnx/tensorflow-onnx
Instructions: https://github.com/qupath/qupath-extension-stardist#converting-a-tensorflow-model-for-use-with-opencv