File size: 2,833 Bytes
27bae10
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
---
license: mit
task_categories:
  - image-segmentation
  - object-detection
tags:
  - yolo
  - phytoplankton
  - pseudo-nitzschia
  - ifcb
  - cell-counting
  - instance-segmentation
  - marine-biology
  - ecology
pretty_name: Pseudo-nitzschia Cell Segmentation Dataset
size_categories:
  - n<1K
---

# Pseudo-nitzschia Cell Segmentation Dataset

Instance segmentation dataset for counting individual *Pseudo-nitzschia* cells in chain colonies imaged by the Imaging FlowCytobot (IFCB).

## Dataset Description

*Pseudo-nitzschia* is a genus of harmful algal bloom (HAB) forming diatoms. Cells grow in stepped chains, making individual cell counting challenging. This dataset provides polygon annotations of individual cells within chain colonies, enabling automated cell counting via instance segmentation.

Images were collected by **IFCB104** at the Santa Cruz Municipal Wharf, Monterey Bay, California.

## Dataset Structure

```
data/
  images/    # 302 grayscale PNG images of Pseudo-nitzschia chains
  labels/    # 301 YOLO polygon segmentation label files
train.txt    # 180 images
val.txt      # 60 images
test.txt     # 61 images
instances_default.json  # COCO-format annotations (original CVAT export)
```

## Annotation Format

Labels are in **YOLO polygon segmentation** format:

```
class_id x1 y1 x2 y2 x3 y3 ... xn yn
```

- `class_id`: always `0` (single class: `Pseudo_nitzschia_cell`)
- Coordinates are normalized to `[0, 1]`
- Each line represents one cell polygon
- Multiple lines per file = multiple cells in the image

## Class Information

| ID | Name | Description |
|----|------|-------------|
| 0 | `Pseudo_nitzschia_cell` | Individual cell within a chain colony |

## Statistics

- **Total images:** 302
- **Annotated images:** 301 (with at least one cell polygon)
- **Train/Val/Test split:** 180 / 60 / 61
- **Image format:** Grayscale PNG (variable dimensions, typically ~600x50 px)
- **Source instrument:** IFCB104 (Imaging FlowCytobot)

## Usage with YOLO

```yaml
# cell_seg.yaml
path: ./data
train: ../train.txt
val: ../val.txt
test: ../test.txt
nc: 1
names:
  0: Pseudo_nitzschia_cell
```

```bash
yolo segment train data=cell_seg.yaml model=yolo11s-seg.pt epochs=100
```

## Source

- **Instrument:** [IFCB104 - Santa Cruz Municipal Wharf](https://ifcb.caloos.org/timeline?dataset=santa-cruz-municipal-wharf)
- **Annotation tool:** CVAT
- **Associated model:** [patcdaniel/pseudo-nitzschia-yolo11s-seg](https://huggingface.co/patcdaniel/pseudo-nitzschia-yolo11s-seg)

## Citation

If you use this dataset, please cite:

```bibtex
@dataset{pseudo_nitzschia_cell_seg,
  author = {Daniel, Patrick C.},
  title = {Pseudo-nitzschia Cell Segmentation Dataset},
  year = {2025},
  publisher = {Hugging Face},
  url = {https://huggingface.co/datasets/patcdaniel/pseudo-nitzschia-cell-segmentation}
}
```