Skip to content

Commit

Permalink
Merge pull request #345 from kostrykin/add_otsu_workflow
Browse files Browse the repository at this point in the history
Add workflow for segmentation and counting of cell nuclei in fluorescence microscopy images
  • Loading branch information
mvdbeek authored Feb 29, 2024
2 parents f65dc1a + f90e087 commit 0c071b4
Show file tree
Hide file tree
Showing 9 changed files with 398 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 1.2
workflows:
- name: main
subclass: Galaxy
publish: true
primaryDescriptorPath: /segmentation-and-counting.ga
testParameterFiles:
- /segmentation-and-counting-tests.yml
authors:
- name: Leonid Kostrykin
orcid: 0000-0003-1323-3762
url: https://github.com/kostrykin/
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Changelog

## [0.1] - 2024-02-29

- Creation of workflow for segmentation and counting of cell nuclei in fluorescence microscopy images.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Segmentation and counting of cell nuclei in fluorescence microscopy images

This workflow performs segmentation and counting of cell nuclei using fluorescence microscopy images. The segmentation step is performed using Otsu thresholding (Otsu, 1979). The workflow is based on the tutorial: https://training.galaxyproject.org/training-material/topics/imaging/tutorials/imaging-introduction/tutorial.html

![](test-data/overlay_image.png)

## Inputs

**`input_image`:** The fluorescence microscopy images to be segmented. Must be the single image channel, which contains the cell nuclei.

## Outputs

**`overlay_image`:** An overlay of the original image and the outlines of the segmentated objects, each also annotated with a unique number.

**`objects_count`:** Table with a single column `objects` and a single row (the actual number of objects).

**`label_image`:** The segmentation result (label map, which contains a unique label for each segmented object).
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
- doc: Test outline for segmentation-and-counting.ga
job:
input_image:
class: File
path: test-data/input_image.tiff
filetype: tiff
outputs:
overlay_image:
path: test-data/overlay_image.png
compare: sim_size
delta: 100
objects_count:
path: test-data/objects_count.tabular
compare: diff
lines_diff: 0
label_image:
path: test-data/label_image.tiff
compare: sim_size
delta: 100
Loading

0 comments on commit 0c071b4

Please sign in to comment.