File size: 2,311 Bytes
8a8a5d0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
license: cc-by-4.0
task_categories:
  - image-segmentation
task_ids:
  - instance-segmentation
  - semantic-segmentation
language:
  - en
tags:
  - medical-imaging
  - electron-microscopy
  - nuclei-segmentation
  - 3d-segmentation
  - zebrafish
  - neuroscience
pretty_name: NucMM-Z (Neuronal Nuclei from Zebrafish)
size_categories:
  - 1K<n<10K
---

# NucMM-Z Dataset

## Overview

**NucMM-Z** (Neuronal Nuclei from Zebrafish) is a 3D electron microscopy (EM) dataset for nuclei instance segmentation from zebrafish brain tissue.

| Property | Value |
|----------|-------|
| **Modality** | Electron Microscopy (EM) |
| **Task** | Nuclei instance segmentation |
| **Anatomy** | Zebrafish brain |
| **Volume Size** | 64 × 64 × 64 voxels per patch |
| **Train Volumes** | 27 |
| **Val Volumes** | 27 |
| **Total Size** | ~1.09 GB |

## Dataset Structure

```
NucMM-Z/
├── image.tif           # Full raw volume (~1 GB)
├── mask.h5             # Full annotation volume
├── README.txt          # Original readme
├── Image/
│   ├── train/          # 27 training patches (.h5)
│   └── val/            # 27 validation patches (.h5)
└── Label/
    ├── train/          # 27 training labels (.h5)
    └── val/            # 27 validation labels (.h5)
```

## Label Format

- **Instance Segmentation**: Each nucleus has a unique integer ID
- Background: 0
- Typical density: 50-300 nuclei per 64×64×64 volume

## Usage with EasyMedSeg

```python
from dataloader import NucMMZImageDataset, NucMMZVideoDataset

# Image mode (2D slices) - Recommended
dataset = NucMMZImageDataset(split='train')
sample = dataset[0]  # Returns dict with 'image' and 'mask'

# Video mode (3D volumes as frame sequences)
dataset = NucMMZVideoDataset(split='train')
video = dataset[0]  # Returns dict with 'frames' and 'masks'
```

## Benchmark Results (SAM2)

| Mode | Model | Mean Dice | Mean IoU |
|------|-------|-----------|----------|
| **Image** | sam2_hiera_large | **0.3438** | 0.2566 |
| Video | sam2_video_hiera_large | 0.0631 | 0.0425 |

**Recommendation**: Use image mode for this dataset.

## Source

- **Original**: [PyTorch Connectomics NucMM](https://connectomics-bazaar.github.io/proj/NucMM/index.html)
- **Paper**: Wei et al., MICCAI 2020

## License

CC BY 4.0