Skip to content

Commit 0c071b4

Browse files
authored
Merge pull request #345 from kostrykin/add_otsu_workflow
Add workflow for segmentation and counting of cell nuclei in fluorescence microscopy images
2 parents f65dc1a + f90e087 commit 0c071b4

File tree

9 files changed

+398
-0
lines changed

9 files changed

+398
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
version: 1.2
2+
workflows:
3+
- name: main
4+
subclass: Galaxy
5+
publish: true
6+
primaryDescriptorPath: /segmentation-and-counting.ga
7+
testParameterFiles:
8+
- /segmentation-and-counting-tests.yml
9+
authors:
10+
- name: Leonid Kostrykin
11+
orcid: 0000-0003-1323-3762
12+
url: https://github.com/kostrykin/
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Changelog
2+
3+
## [0.1] - 2024-02-29
4+
5+
- Creation of workflow for segmentation and counting of cell nuclei in fluorescence microscopy images.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Segmentation and counting of cell nuclei in fluorescence microscopy images
2+
3+
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
4+
5+
![](test-data/overlay_image.png)
6+
7+
## Inputs
8+
9+
**`input_image`:** The fluorescence microscopy images to be segmented. Must be the single image channel, which contains the cell nuclei.
10+
11+
## Outputs
12+
13+
**`overlay_image`:** An overlay of the original image and the outlines of the segmentated objects, each also annotated with a unique number.
14+
15+
**`objects_count`:** Table with a single column `objects` and a single row (the actual number of objects).
16+
17+
**`label_image`:** The segmentation result (label map, which contains a unique label for each segmented object).
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
- doc: Test outline for segmentation-and-counting.ga
2+
job:
3+
input_image:
4+
class: File
5+
path: test-data/input_image.tiff
6+
filetype: tiff
7+
outputs:
8+
overlay_image:
9+
path: test-data/overlay_image.png
10+
compare: sim_size
11+
delta: 100
12+
objects_count:
13+
path: test-data/objects_count.tabular
14+
compare: diff
15+
lines_diff: 0
16+
label_image:
17+
path: test-data/label_image.tiff
18+
compare: sim_size
19+
delta: 100

0 commit comments

Comments
 (0)