Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
sample_id
int64
config_name
large_string
sample_idx
int64
global_idx
int64
seed
int64
object_family
large_string
objects_placed
int64
background_electrons
float64
clipped_fraction
float64
z_true
float64
z_nominal
float64
0
ideal/red_blood_cells
0
0
10,000
red_blood_cells
251
2,735
0
20
20
1
ideal/red_blood_cells
1
1
10,001
red_blood_cells
251
2,735
0
20
20
2
ideal/red_blood_cells
2
2
10,002
red_blood_cells
251
2,735
0
20
20
3
ideal/red_blood_cells
3
3
10,003
red_blood_cells
251
2,735
0
20
20
4
ideal/red_blood_cells
4
4
10,004
red_blood_cells
251
2,735
0
20
20
5
ideal/red_blood_cells
5
5
10,005
red_blood_cells
251
2,735
0
20
20
6
ideal/red_blood_cells
6
6
10,006
red_blood_cells
251
2,735
0
20
20
7
ideal/red_blood_cells
7
7
10,007
red_blood_cells
251
2,735
0
20
20
8
ideal/red_blood_cells
8
8
10,008
red_blood_cells
251
2,735
0
20
20
9
ideal/red_blood_cells
9
9
10,009
red_blood_cells
251
2,735
0
20
20
10
ideal/red_blood_cells
10
10
10,010
red_blood_cells
251
2,735
0
20
20
11
ideal/red_blood_cells
11
11
10,011
red_blood_cells
251
2,735
0
20
20
12
ideal/red_blood_cells
12
12
10,012
red_blood_cells
251
2,735
0
20
20
13
ideal/red_blood_cells
13
13
10,013
red_blood_cells
251
2,735
0
20
20
14
ideal/red_blood_cells
14
14
10,014
red_blood_cells
251
2,735
0
20
20
15
ideal/red_blood_cells
15
15
10,015
red_blood_cells
251
2,735
0
20
20
16
ideal/red_blood_cells
16
16
10,016
red_blood_cells
251
2,735
0
20
20
17
ideal/red_blood_cells
17
17
10,017
red_blood_cells
251
2,735
0
20
20
18
ideal/red_blood_cells
18
18
10,018
red_blood_cells
251
2,735
0
20
20
19
ideal/red_blood_cells
19
19
10,019
red_blood_cells
251
2,735
0
20
20
20
ideal/red_blood_cells
20
20
10,020
red_blood_cells
251
2,735
0
20
20
21
ideal/red_blood_cells
21
21
10,021
red_blood_cells
251
2,735
0
20
20
22
ideal/red_blood_cells
22
22
10,022
red_blood_cells
251
2,735
0
20
20
23
ideal/red_blood_cells
23
23
10,023
red_blood_cells
251
2,735
0
20
20
24
ideal/red_blood_cells
24
24
10,024
red_blood_cells
251
2,735
0
20
20
25
ideal/red_blood_cells
25
25
10,025
red_blood_cells
251
2,735
0
20
20
26
ideal/red_blood_cells
26
26
10,026
red_blood_cells
251
2,735
0
20
20
27
ideal/red_blood_cells
27
27
10,027
red_blood_cells
251
2,735
0
20
20
28
ideal/red_blood_cells
28
28
10,028
red_blood_cells
251
2,735
0
20
20
29
ideal/red_blood_cells
29
29
10,029
red_blood_cells
251
2,735
0
20
20
30
ideal/red_blood_cells
30
30
10,030
red_blood_cells
251
2,735
0
20
20
31
ideal/red_blood_cells
31
31
10,031
red_blood_cells
251
2,735
0
20
20
32
ideal/red_blood_cells
32
32
10,032
red_blood_cells
251
2,735
0
20
20
33
ideal/red_blood_cells
33
33
10,033
red_blood_cells
251
2,735
0
20
20
34
ideal/red_blood_cells
34
34
10,034
red_blood_cells
251
2,735
0
20
20
35
ideal/red_blood_cells
35
35
10,035
red_blood_cells
251
2,735
0
20
20
36
ideal/red_blood_cells
36
36
10,036
red_blood_cells
251
2,735
0
20
20
37
ideal/red_blood_cells
37
37
10,037
red_blood_cells
251
2,735
0
20
20
38
ideal/red_blood_cells
38
38
10,038
red_blood_cells
251
2,735
0
20
20
39
ideal/red_blood_cells
39
39
10,039
red_blood_cells
251
2,735
0
20
20
40
ideal/red_blood_cells
40
40
10,040
red_blood_cells
251
2,735
0
20
20
41
ideal/red_blood_cells
41
41
10,041
red_blood_cells
251
2,735
0
20
20
42
ideal/red_blood_cells
42
42
10,042
red_blood_cells
251
2,735
0
20
20
43
ideal/red_blood_cells
43
43
10,043
red_blood_cells
251
2,735
0
20
20
44
ideal/red_blood_cells
44
44
10,044
red_blood_cells
251
2,735
0
20
20
45
ideal/red_blood_cells
45
45
10,045
red_blood_cells
251
2,735
0
20
20
46
ideal/red_blood_cells
46
46
10,046
red_blood_cells
251
2,735
0
20
20
47
ideal/red_blood_cells
47
47
10,047
red_blood_cells
251
2,735
0
20
20
48
ideal/red_blood_cells
48
48
10,048
red_blood_cells
251
2,735
0
20
20
49
ideal/red_blood_cells
49
49
10,049
red_blood_cells
251
2,735
0
20
20
50
ideal/red_blood_cells
50
50
10,050
red_blood_cells
251
2,735
0
20
20
51
ideal/red_blood_cells
51
51
10,051
red_blood_cells
251
2,735
0
20
20
52
ideal/red_blood_cells
52
52
10,052
red_blood_cells
251
2,735
0
20
20
53
ideal/red_blood_cells
53
53
10,053
red_blood_cells
251
2,735
0
20
20
54
ideal/red_blood_cells
54
54
10,054
red_blood_cells
251
2,735
0
20
20
55
ideal/red_blood_cells
55
55
10,055
red_blood_cells
251
2,735
0
20
20
56
ideal/red_blood_cells
56
56
10,056
red_blood_cells
251
2,735
0
20
20
57
ideal/red_blood_cells
57
57
10,057
red_blood_cells
251
2,735
0
20
20
58
ideal/red_blood_cells
58
58
10,058
red_blood_cells
251
2,735
0
20
20
59
ideal/red_blood_cells
59
59
10,059
red_blood_cells
251
2,735
0
20
20
60
ideal/red_blood_cells
60
60
10,060
red_blood_cells
251
2,735
0
20
20
61
ideal/red_blood_cells
61
61
10,061
red_blood_cells
251
2,735
0
20
20
62
ideal/red_blood_cells
62
62
10,062
red_blood_cells
251
2,735
0
20
20
63
ideal/red_blood_cells
63
63
10,063
red_blood_cells
251
2,735
0
20
20
64
ideal/red_blood_cells
64
64
10,064
red_blood_cells
251
2,735
0
20
20
65
ideal/red_blood_cells
65
65
10,065
red_blood_cells
251
2,735
0
20
20
66
ideal/red_blood_cells
66
66
10,066
red_blood_cells
251
2,735
0
20
20
67
ideal/red_blood_cells
67
67
10,067
red_blood_cells
251
2,735
0
20
20
68
ideal/red_blood_cells
68
68
10,068
red_blood_cells
251
2,735
0
20
20
69
ideal/red_blood_cells
69
69
10,069
red_blood_cells
251
2,735
0
20
20
70
ideal/red_blood_cells
70
70
10,070
red_blood_cells
251
2,735
0
20
20
71
ideal/red_blood_cells
71
71
10,071
red_blood_cells
251
2,735
0
20
20
72
ideal/red_blood_cells
72
72
10,072
red_blood_cells
251
2,735
0
20
20
73
ideal/red_blood_cells
73
73
10,073
red_blood_cells
251
2,735
0
20
20
74
ideal/red_blood_cells
74
74
10,074
red_blood_cells
251
2,735
0
20
20
75
ideal/red_blood_cells
75
75
10,075
red_blood_cells
251
2,735
0
20
20
76
ideal/red_blood_cells
76
76
10,076
red_blood_cells
251
2,735
0
20
20
77
ideal/red_blood_cells
77
77
10,077
red_blood_cells
251
2,735
0
20
20
78
ideal/red_blood_cells
78
78
10,078
red_blood_cells
251
2,735
0
20
20
79
ideal/red_blood_cells
79
79
10,079
red_blood_cells
251
2,735
0
20
20
80
ideal/red_blood_cells
80
80
10,080
red_blood_cells
251
2,735
0
20
20
81
ideal/red_blood_cells
81
81
10,081
red_blood_cells
251
2,735
0
20
20
82
ideal/red_blood_cells
82
82
10,082
red_blood_cells
251
2,735
0
20
20
83
ideal/red_blood_cells
83
83
10,083
red_blood_cells
251
2,735
0
20
20
84
ideal/red_blood_cells
84
84
10,084
red_blood_cells
251
2,735
0
20
20
85
ideal/red_blood_cells
85
85
10,085
red_blood_cells
251
2,735
0
20
20
86
ideal/red_blood_cells
86
86
10,086
red_blood_cells
251
2,735
0
20
20
87
ideal/red_blood_cells
87
87
10,087
red_blood_cells
251
2,735
0
20
20
88
ideal/red_blood_cells
88
88
10,088
red_blood_cells
251
2,735
0
20
20
89
ideal/red_blood_cells
89
89
10,089
red_blood_cells
251
2,735
0
20
20
90
ideal/red_blood_cells
90
90
10,090
red_blood_cells
251
2,735
0
20
20
91
ideal/red_blood_cells
91
91
10,091
red_blood_cells
251
2,735
0
20
20
92
ideal/red_blood_cells
92
92
10,092
red_blood_cells
251
2,735
0
20
20
93
ideal/red_blood_cells
93
93
10,093
red_blood_cells
251
2,735
0
20
20
94
ideal/red_blood_cells
94
94
10,094
red_blood_cells
251
2,735
0
20
20
95
ideal/red_blood_cells
95
95
10,095
red_blood_cells
251
2,735
0
20
20
96
ideal/red_blood_cells
96
96
10,096
red_blood_cells
251
2,735
0
20
20
97
ideal/red_blood_cells
97
97
10,097
red_blood_cells
251
2,735
0
20
20
98
ideal/red_blood_cells
98
98
10,098
red_blood_cells
251
2,735
0
20
20
99
ideal/red_blood_cells
99
99
10,099
red_blood_cells
251
2,735
0
20
20
End of preview. Expand in Data Studio

Synthetic In-line Holograms of Cells v4 (1024 px, magnified)

Simulated in-line (Gabor) holograms of red blood cells and adherent cells, recorded through a 10x/0.45 microscope objective on a Sony IMX183 camera at 532 nm, with the complex object field as ground truth. The dataset holds a training set, a training set with recording-distance errors, an in-distribution test set, four out-of-distribution splits paired hologram by hologram with the test set, a dense split and a distance sweep: 24,000 holograms of 1024 x 1024 pixels in all.

Every set was generated with hologen from a recipe file in holopaswin recipes/, and each set folder contains the complete recipe.toml it was made from, so every hologram can be regenerated bit for bit from its seed.

Examples from the test set

  • Curated by: Gökhan Koçmarlı (Gyokhan Kochmarla) | Google Scholar | GitHub
  • License: MIT
  • Generator: hologen, dataset format 2
  • Size: 24,000 holograms, 99.7 GB

Sets

Folder Split name Holograms Seeds What differs from the test set
train train 8,000 10000-17999 training distribution, nominal distance
train-z-augmented train_z_augmented 8,000 10000-17999 same cells as train, recording distance drawn from 14-26 um
test test 1,000 200000-200999 in-distribution test set
test-phase test_phase 1,000 200000-200999 twice the phase of every cell
test-absorption test_absorption 1,000 200000-200999 three times the haemoglobin absorption of training for red blood cells (rim transmission 0.94 -> 0.82); adherent cells unchanged
test-low-light test_low_light 1,000 200000-200999 a quarter of the exposure, twice the relative shot noise
test-strong-speckle test_strong_speckle 1,000 200000-200999 laser speckle contrast 0.25 instead of 0.12 (about twice)
test-dense test_dense 400 300000-300399 twice the red blood cell density (501 cells, 40 % of the field) and an adherent coverage of 0.5 instead of 0.263 (other cells)
sweep/offset_DZ sweep_offset_DZ 200 per offset 900000-900199 recording distance 20 + DZ um, DZ in 0, ±1, ±2, ±4, ±6, ±8, ±10 (m4 = -4, p4 = +4 in split names)

The phase, absorption, low-light and strong-speckle splits use the test set's seeds and groups, so hologram i of each holds the same cells as test hologram i and differs in one property. They keep the exposures calibrated for the training distribution on purpose, so some holograms saturate a few pixels more often than in training (fraction of holograms with any clipped pixel, largest clipped fraction of one hologram):

Set Red blood cells Adherent cells
train, test 0-4 %, at most 0.0003 % 2-8 %, at most 0.003 %
test_phase 100 %, at most 0.26 % 78-90 %, at most 0.024 %
test_strong_speckle (laser groups) 100 %, at most 0.0026 % 24 %, at most 0.0014 %
sweep_offset_p10 100 %, at most 0.05 % 0-12 %, at most 0.003 %

clipped_fraction in the metadata gives the value for every hologram.

Within each set the holograms are split equally over eight groups: four noise configurations times two object families. The noise levels below were measured with hologen measure on the training recipe; test_low_light has twice the relative shot noise and test_strong_speckle about twice the laser speckle.

Configuration Noise rms deviation from the noise-free hologram at the training exposures, red blood cells / adherent cells
ideal none (12-bit quantisation only) 0.04 % / 0.05 %
camera shot + dark current + read noise + 12-bit ADC 1.9 % / 2.3 %
camera_led_speckle camera + speckle contrast 0.014 2.4 % / 2.7 %
camera_laser_speckle camera + speckle contrast 0.12 12.9 % / 12.3 %

Simulation settings

Parameter Value
Wavelength 532 nm
Objective 10x, NA 0.45 (coherent pupil cutoff applied on the way to the sensor)
Camera Sony IMX183: 2.4 um pixels, 12 bit, saturation 14,837 e-, read noise 3.3 e- (EMVA 1288)
Pixel size in the object plane 0.24 um, field of view 245.8 x 245.8 um
Recording distance 20 um (nominal)
Background exposure 2,735 e- (red blood cells), 1,855 e- (adherent cells): per family, the largest background at which 95 % of noise-free laser-speckle holograms keep their brightest point plus three standard deviations of shot noise below saturation (400 calibration holograms per family)
Speckle grain size 0.59 um
Objects red blood cells (0.00415 cells per um², 251 per field) or adherent cells (coverage 0.263, median 27 cells per field; placement stops after 200 attempts, so a few fields stay just below the target)

The full set of values, with their sources, is in each folder's recipe.toml.

Files

Each set folder holds, per batch of 250 holograms:

  • hologram_XXXX.parquet: sample_id, intensity (1024 x 1024, uint16 camera counts).
  • ground_truth_XXXX.parquet: sample_id, real and imag (1024 x 1024, float32), the complex object field relative to the illumination.
  • metadata_XXXX.parquet: sample_id, config_name, object_family, seed, objects_placed, background_electrons, clipped_fraction, z_true and z_nominal (um).
  • recipe.toml: the complete recipe the set was generated from.

Rows of the three files of one batch belong together by sample_id.

The true phase of the thickest adherent cells exceeds π (about 4.8 rad at the 95th percentile of peak optical path difference), and in test_phase both families exceed it, so angle(real + i imag) wraps. Compare complex fields, or unwrap, when computing phase metrics.

Loading

With HoloPASWIN, which reads the format and the recording distance:

from huggingface_hub import snapshot_download
from holopaswin.dataset import HoloDataset

root = snapshot_download("gokhankocmarli/inline-digital-holography-v4", repo_type="dataset", allow_patterns="test/*")
dataset = HoloDataset(f"{root}/test", target_size=224, img_dim=1024, return_z=True)
hologram, field, z = dataset[0]  # (1, 224, 224), (2, 224, 224) real and imaginary, z in m

With datasets, one config per file type and one split per set:

from datasets import load_dataset

metadata = load_dataset("gokhankocmarli/inline-digital-holography-v4", "metadata", split="test")
holograms = load_dataset("gokhankocmarli/inline-digital-holography-v4", "hologram", split="test", streaming=True)

Regenerating

hologen generate --recipe recipes/test.toml --output test

hologen generate warns for the phase, absorption, strong-speckle and dense recipes, because they change settings the exposures were calibrated for; this is intended.

Limitations

  • The holograms are simulated. The cell models are procedural and calibrated to published optical path statistics, not traced from real cells.
  • Adherent cells are pure phase objects in every set, as no measured absorption of stained adherent cells near 532 nm was available.
  • Earlier versions (v1-v3, 224 px, ellipse objects, lensless geometry) are not compatible with this one.

Changes

  • 2026-10-24: test-dense regenerated. The first upload requested three times the red blood cell density, which random placement without overlap cannot reach, and stopped placing cells early (about 1.5 times the training density and an adherent coverage of 0.37). It now holds twice the red blood cell density and an adherent coverage of 0.5, as stated above. Every other set is unchanged.
  • 2026-10-22: first upload.

Citation

@misc{kochmarla2026synthetic_inline_holograms_of_cells_v4,
  author       = {Ko{\c{c}}marl{\i}, G{\"o}khan},
  title        = {Synthetic In-line Holograms of Cells v4 (1024 px)},
  year         = {2026},
  publisher    = {Hugging Face},
  howpublished = {\url{https://huggingface.co/datasets/gokhankocmarli/inline-digital-holography-v4}}
}
Downloads last month
192