Git Product home page Git Product logo

cu-cellseg's Introduction

header

CU-CellSeg

Cell segmentation of multi-channel images

DOI

Segmentation method

The CU-CellSeg macro implements a "classic" cell segmentation method with a marker-based cell expansion: In short, pixel probability maps for nucleus channels (mandatory) and cell matrix channels (optional) are thresholded and segmented by ImageJ's watershed algorithm (nuclei) and by the "Find maxima..." function (cell matrix) to create individual cellular compartments. Typical nucleus channels would be markers for DAPI, dsDNA, or histone. Cell matrix channels could be cytoplasm markers (beta-tubulin, keratin, vimentin, ...) or membrane markers (V-ATPase, HLA class 1, CD8, ...), or both. If no cell matrix channel is specified (default), cell outlines are generated from the expansion of the nuclei outlines by a fixed radius. Both cell matrix options generate non-overlapping cell outlines.

segmentation

Figure 1: Segmentation example. Segmentation of the composite image (top). The dsDNA channel was used to segment nuclei (gold). The beta-tubulin channel allowed for the cell expansion (white) with a minimum cellExpansion of 1.5 µm and a maximum cellExpansionLimit of 100 µm.

Software documentation

The documentation of our macros is in the corresponding source code: You can view the source code on GitHub by following the links to the macros.

Software requirements

CU-CellSeg requires a recent version of the Fiji image processing package:

  • ImageJ2 executable (>= 1.52u)
  • Trainable Weka Segmentation plugin (>= 3.2.24)

Any multi-channel image that can be imported with the Bio-Formats plugin can be processed by CU-CellSeg. However, you might have to adjust the suffixes variable to select the file extensions for your specific instrument. In addition, if the metadata extraction and therefore the slice labeling fails, you will have to refer to individual channels explicitly by slice number, e.g. "1", "14" instead of using the convenient pattern matching available for labeled channels, e.g. "beta-tubulin", "dsdna".

CU-CellSeg requires a recent version of CU-MacroLibrary to be installed.

Example files

The example folder contains a single MIBIscope™ image (800x800 px) and two corresponding pixel-classifier models - trained with dsDNA (nu.model) and beta-tubulin (ce.model), respectively. Running CU-CellSeg with the default userThresholds and with the cellMatrixChannels variable set to newArray("beta-tubulin"), should yield results similar (within numerical precision limits) to the data in the results subfolder. However, the measurements table (>500 MiB) has been compressed with 7-zip before uploading.

CU-CellSeg produces distinct result files for every multi-channel image in the batch:

Copyright notices

The MIBIscope™ image was kindly provided by Ionpath for demonstration purposes.

cu-cellseg's People

Contributors

christianrickert avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.