CellSegm - a MATLAB toolbox for high-throughput 3D cell segmentation - PubMed (original) (raw)
CellSegm - a MATLAB toolbox for high-throughput 3D cell segmentation
Erlend Hodneland et al. Source Code Biol Med. 2013.
Abstract
: The application of fluorescence microscopy in cell biology often generates a huge amount of imaging data. Automated whole cell segmentation of such data enables the detection and analysis of individual cells, where a manual delineation is often time consuming, or practically not feasible. Furthermore, compared to manual analysis, automation normally has a higher degree of reproducibility. CellSegm, the software presented in this work, is a Matlab based command line software toolbox providing an automated whole cell segmentation of images showing surface stained cells, acquired by fluorescence microscopy. It has options for both fully automated and semi-automated cell segmentation. Major algorithmic steps are: (i) smoothing, (ii) Hessian-based ridge enhancement, (iii) marker-controlled watershed segmentation, and (iv) feature-based classfication of cell candidates. Using a wide selection of image recordings and code snippets, we demonstrate that CellSegm has the ability to detect various types of surface stained cells in 3D. After detection and outlining of individual cells, the cell candidates can be subject to software based analysis, specified and programmed by the end-user, or they can be analyzed by other software tools. A segmentation of tissue samples with appropriate characteristics is also shown to be resolvable in CellSegm. The command-line interface of CellSegm facilitates scripting of the separate tools, all implemented in Matlab, offering a high degree of flexibility and tailored workflows for the end-user. The modularity and scripting capabilities of CellSegm enable automated workflows and quantitative analysis of microscopic data, suited for high-throughput image based screening.
Figures
Figure 1
Software design of
CELLSEGM
. The solid box surrounds the processing steps occuring in
CELLSEGM
, from image conversion until the post-analysis of the segmentation data. The batch processing
cellsegmentation
is the tool for cell segmentation of high-throughput data. The quality of the resulting segmentation can be assessed in
v
iewsegm, and the processing chain can be restarted on demand (dashed line) with other parameter settings. The separate functions (m-files) can also be executed independently.
Figure 2
Files and folders (inside rectangles) connected to
CELLSEGM
. The BDA license file (
readme.txt
) defines the legal rights and the startup file (
startupcellsegm.m
) is used for setting the path in
MATLAB
to enable
CELLSEGM
. There are four folders at the highest level, containing example files used in this work for demonstration, example data loaded by the example files, the mfiles contained in the class @CellSegm, and one folder containing additional utility files necessary for
CELLSEGM
.
Figure 3
Segmentation of cells in 2D using automatically detected markers in Example 5. A) Raw surface stain, B) automatically detected markers, C) ridge enhanced surface stain, D) watershed image, E) detected cells.
Figure 4
A selection of available subroutines (magenta) and parameter settings (italic) in
CELLSEGM
related to the struct prm . In brackets is the supported data type. For example, to set the threshold
th
in the nucleus method of
segmsurf
, with thresholding method
thrs
, follow the stream of methods
segmsurf
→
getminima
→
nucleus
→
segmct
→
thrs
, and assign it by
prm.segmsurf.getminima.nucleus.thrs.th
in the parameter file. On the other hand, if
segmct
is called upon from the command prompt, the same parameter setting is defined by
prm.thrs.th
.
Figure 5
Smoothing of PC12 cells in 2D by Example 3. A) Raw surface stain, B) smoothing by coherence enhancing diffusion (
method = ’ced’
), C) directional coherence enhancing diffusion (
method = ’dirced’
), and D) Gaussian smoothing (
method = ’gaussian’
). The sharpness is better preserved by the anisotropic filters (B and C), which makes them more suitable for the enhancement of surface stained cells.
Figure 6
Smoothing of stained nuclei of Hela-Kyoto cells in 2D by Example 4. A) Raw nuclei stain, B) smoothing of A by edge enhancing diffusion (
method = ’eed’
). After edge enhancing diffusion the image becomes more piecewise constant and better suited for segmentation.
Figure 7
Segmentation of cells in 3D using automatically detected markers in Example 6. A) Raw surface stain, B) automatically detected markers, C) smoothed and ridge enhanced surface stain, D) watershed image, E) detected cells.
Figure 8
3D view of the segmentation in Example 6. The obtained segmentation is truly a 3D segmentation field. For visualization purposes the cells have been cut at plane 20.
Figure 9
Segmentation of cells using nucleus markers in 2D from Example 7, executed for plane five in the image stack. A) Raw surface stain, B) raw nucleus stain, C) surface stain minus nucleus stain, D) markers (blue) derived from the nucleus stain superimposed onto the surface stain, E) cell markers, F) smoothed segmentation image, from C, G) watershed image, H) detected cell areas.
Figure 10
Segmentation of cells using nucleus markers in 3D from Example 8, visualized for plane two. A) Raw surface stain, B) raw nucleus stain, C) surface stain minus nucleus stain, D) markers (blue) from nucleus stain superimposed on the surface stain, E) cell markers, F) smoothed input image, from C, G) watershed image, H) detected cells. All cells have been detected.
Figure 11
Segmentation of cells using manually drawn markers in 3D from example 9, visualized for plane five. A) Raw surface stain, B) smoothed surface stain used for segmentation, C) cell markers drawn manually, D) background markers (in an imaging plane other than the cell markers), E) watershed image, F) detected cells.
Figure 12
Segmentation of Hoechst stained Hela-Kyoto nuclei in 2D using
segmct
from Example 10. A) Input image showing stained nuclei, B) after edge enhancing diffusion, C) segmentation by adaptive thresholding (
prm.method = ’adth’
) without splitting of cells, and D) with splitting of cells. Note that the connected nuclei are now disconnected. E) Segmentation by iterative thresholding (
prm.method = ’thrs’
) without splitting, and F) after splitting. Both methods are successfull.
Figure 13
Segmentation of Hoechst stained nuclei in 3D using
segmct
, from Example 11. A) Raw nucleus stain, B) segmentation with iterative thresholding (
prm.method = ’itth’
) without splitting of cells, C) after splitting of cells. Note that after splitting several connected nuclei are disconnected into their separate compartments.
Figure 14
A batch processing of two data sets from two experimental conditions, as described in Example 12. The data is visualized for plane seven. A1-A4) Data set one and two in the two conditions. B1-B4) Segmentation using
CELLSEGM
. C1-C4) Segmentation using
CELLPROFILER
. For the strongly stained cells,
CELLPROFILER
provides a larger segmentation than
CELLSEGM
. For the weakly stained cells,
CELLPROFILER
is missing large cell fractions compared to
CELLSEGM
, probably due to uneven illumination. However, a correction of the uneven illumination pattern uneven did not improve the results (data not shown). For visualization, the objects segmented in
CELLPROFILER
where eroded by one voxel to highlight the contours.
Figure 15
Segmentation of a paraffine embedded human skin biopsy. Upper row: Light microscopical image of the whole sample, visible are the layers of the epidermis and dermis, including a part of a hair follicle. Stained are CD44 (red) and p53 (brown). Middle row: One plane of a 3D confocal fluorescence image stack of CD44 (VulcanRed; white), overlaid with the segmentation from
CELLSEGM
(red). For visualization purposes, the contours were dilated with a structural element of one pixel radius, and then closed with a structural element of four pixel radius. Lower row: Segmentation results using
CELLSEGM
(no dilation and no closing here). The segmentation is essentially confined to the cells expressing the marker at the plasma membrane to a sufficient amount.
Similar articles
- FocAn: automated 3D analysis of DNA repair foci in image stacks acquired by confocal fluorescence microscopy.
Memmel S, Sisario D, Zimmermann H, Sauer M, Sukhorukov VL, Djuzenova CS, Flentje M. Memmel S, et al. BMC Bioinformatics. 2020 Jan 28;21(1):27. doi: 10.1186/s12859-020-3370-8. BMC Bioinformatics. 2020. PMID: 31992200 Free PMC article. - An analytical tool that quantifies cellular morphology changes from three-dimensional fluorescence images.
Haass-Koffler CL, Naeemuddin M, Bartlett SE. Haass-Koffler CL, et al. J Vis Exp. 2012 Aug 31;(66):e4233. doi: 10.3791/4233. J Vis Exp. 2012. PMID: 22951512 Free PMC article. - A fully automated cell segmentation and morphometric parameter system for quantifying corneal endothelial cell morphology.
Al-Fahdawi S, Qahwaji R, Al-Waisy AS, Ipson S, Ferdousi M, Malik RA, Brahma A. Al-Fahdawi S, et al. Comput Methods Programs Biomed. 2018 Jul;160:11-23. doi: 10.1016/j.cmpb.2018.03.015. Epub 2018 Mar 22. Comput Methods Programs Biomed. 2018. PMID: 29728238 - Automated method for the rapid and precise estimation of adherent cell culture characteristics from phase contrast microscopy images.
Jaccard N, Griffin LD, Keser A, Macown RJ, Super A, Veraitch FS, Szita N. Jaccard N, et al. Biotechnol Bioeng. 2014 Mar;111(3):504-17. doi: 10.1002/bit.25115. Epub 2013 Oct 5. Biotechnol Bioeng. 2014. PMID: 24037521 Free PMC article. - CellTracker: an automated toolbox for single-cell segmentation and tracking of time-lapse microscopy images.
Hu T, Xu S, Wei L, Zhang X, Wang X. Hu T, et al. Bioinformatics. 2021 Apr 19;37(2):285-287. doi: 10.1093/bioinformatics/btaa1106. Bioinformatics. 2021. PMID: 33416830
Cited by
- Computational methods and biomarker discovery strategies for spatial proteomics: a review in immuno-oncology.
Mi H, Sivagnanam S, Ho WJ, Zhang S, Bergman D, Deshpande A, Baras AS, Jaffee EM, Coussens LM, Fertig EJ, Popel AS. Mi H, et al. Brief Bioinform. 2024 Jul 25;25(5):bbae421. doi: 10.1093/bib/bbae421. Brief Bioinform. 2024. PMID: 39179248 Free PMC article. Review. - Rapid, biochemical tagging of cellular activity history in vivo.
Zhang R, Anguiano M, Aarrestad IK, Lin S, Chandra J, Vadde SS, Olson DE, Kim CK. Zhang R, et al. Nat Methods. 2024 Sep;21(9):1725-1735. doi: 10.1038/s41592-024-02375-7. Epub 2024 Aug 5. Nat Methods. 2024. PMID: 39103446 Free PMC article. - Engineered Cardiac Microtissue Biomanufacturing Using Human Induced Pluripotent Stem Cell Derived Epicardial Cells.
Butler K, Ahmed S, Jablonski J, Hookway TA. Butler K, et al. bioRxiv [Preprint]. 2024 May 15:2024.05.13.593960. doi: 10.1101/2024.05.13.593960. bioRxiv. 2024. PMID: 38798424 Free PMC article. Preprint. - Rapid, biochemical tagging of cellular activity history in vivo.
Zhang R, Anguiano M, Aarrestad IK, Lin S, Chandra J, Vadde SS, Olson DE, Kim CK. Zhang R, et al. bioRxiv [Preprint]. 2024 May 14:2023.09.06.556431. doi: 10.1101/2023.09.06.556431. bioRxiv. 2024. PMID: 38798353 Free PMC article. Updated. Preprint. - All-optical interrogation of brain-wide activity in freely swimming larval zebrafish.
Chai Y, Qi K, Wu Y, Li D, Tan G, Guo Y, Chu J, Mu Y, Shen C, Wen Q. Chai Y, et al. iScience. 2023 Nov 3;27(1):108385. doi: 10.1016/j.isci.2023.108385. eCollection 2024 Jan 19. iScience. 2023. PMID: 38205255 Free PMC article.
References
- Tscherepanow M, Zöllner F, Kummert F. Advances in Mass Data Analysis of Images and Signals in Medicine, Biotechnology, Chemistry and Food Industry (MDA 2008) Springer Lecture Notes in Computer Science Volume 5108; 2008. Automatic segmentation of unstained living cells in bright-field microscope images; pp. 158–172.
- Yu D, Pham TD, Yan H, Whang B, Crane DI. Segmentation of cultured neurons using logical analysis of grey and distance differences. J Neurosci methods. 2007;166:125–137. doi: 10.1016/j.jneumeth.2007.06.028. citeseer.ist.psu.edu/wu95live.html. - DOI - PubMed
LinkOut - more resources
Full Text Sources
Other Literature Sources