HY2333 commited on
Commit
58a36d7
·
verified ·
1 Parent(s): 1c2aa3a

Upload external_waveplate pilot: README.md

Browse files
Files changed (1) hide show
  1. README.md +188 -1
README.md CHANGED
@@ -1,3 +1,190 @@
1
  ---
2
- license: apache-2.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ pretty_name: MMPD-Bench
3
+ license: cc-by-nc-4.0
4
+ tags:
5
+ - polarimetry
6
+ - mueller-matrix
7
+ - biomedical-imaging
8
+ - healthy-bone-cell
9
+ - scientific-computing
10
+ - parquet
11
+ task_categories:
12
+ - image-to-image
13
+ configs:
14
+ - config_name: external_waveplate
15
+ default: true
16
+ data_files:
17
+ - split: external_waveplate
18
+ path: data/external_waveplate-*.parquet
19
  ---
20
+
21
+ # MMPD-Bench
22
+
23
+ ## Dataset Summary
24
+
25
+ TODO: Describe MMPD-Bench, the scientific motivation, and the intended benchmark
26
+ use. Mention that the dataset contains paired Mueller matrix observations and
27
+ Lu-Chipman reference decomposition outputs.
28
+
29
+ Current pilot upload: `external_waveplate` only.
30
+
31
+ ## Task Definition
32
+
33
+ TODO: Define the task as modality fission from a Mueller matrix patch to six
34
+ polarimetric target modalities.
35
+
36
+ - Input: Mueller matrix tensor, shape `[16, H, W]`, channel-first.
37
+ - Output: target modality tensor, shape `[6, H, W]`, channel-first.
38
+ - Target channel order: `D`, `Delta`, `eta`, `theta`, `psi`, `R`.
39
+
40
+ ## Data Sources
41
+
42
+ TODO: Describe healthy bone cell samples, waveplate samples, and
43
+ multi-wavelength measurements. Include acquisition context and de-identification
44
+ statement if applicable.
45
+
46
+ ## File Structure
47
+
48
+ ```text
49
+ MMPD-Bench/
50
+ ├── README.md
51
+ ├── data/
52
+ ├── metadata/
53
+ ├── preview/
54
+ └── raw/
55
+ ```
56
+
57
+ TODO: Replace this with final shard counts and file sizes after conversion.
58
+
59
+ ## Tensor Schema
60
+
61
+ Each row represents one paired patch/sample:
62
+
63
+ ```python
64
+ {
65
+ "sample_id": str,
66
+ "source_id": str,
67
+ "split": str,
68
+ "subset": str, # healthy_bone_cell, waveplate, spectral
69
+ "specimen_type": str, # healthy_bone_cell, waveplate, spectral, unknown
70
+ "wavelength_nm": int,
71
+ "mueller_shape": list[int],
72
+ "target_shape": list[int],
73
+ "mueller": array, # float32, channel-first
74
+ "target": array, # float32, channel-first
75
+ }
76
+ ```
77
+
78
+ TODO: Confirm whether arrays are stored as physical values, normalized values,
79
+ or both. The `external_waveplate` pilot shard currently stores tensors with
80
+ shapes `[16, 200, 200]` and `[6, 200, 200]`.
81
+
82
+ ## Channel Conventions
83
+
84
+ Mueller channel order:
85
+
86
+ ```text
87
+ M11, M12, M13, M14,
88
+ M21, M22, M23, M24,
89
+ M31, M32, M33, M34,
90
+ M41, M42, M43, M44
91
+ ```
92
+
93
+ Target channel order:
94
+
95
+ ```text
96
+ D, Delta, eta, theta, psi, R
97
+ ```
98
+
99
+ TODO: Document the mapping from local filenames such as `Ita`, `ita`, or `Eta`
100
+ to public channel name `eta`.
101
+
102
+ ## Physical Parameter Definitions
103
+
104
+ TODO: Define every target parameter and confirm ranges.
105
+
106
+ ```text
107
+ D, Delta: [0, 1]
108
+ eta, R: [0, pi)
109
+ theta, psi: [-pi/2, pi/2)
110
+ ```
111
+
112
+ ## Reference Label Generation
113
+
114
+ The target modalities are generated using Lu-Chipman decomposition from the
115
+ measured Mueller matrices. They should be interpreted as reference solver
116
+ outputs for benchmarking surrogate models and physics consistency, rather than
117
+ direct human annotations or absolute ground truth for biological tissue.
118
+
119
+ TODO: Add decomposition implementation details, preprocessing, and any numerical
120
+ stability handling.
121
+
122
+ ## Splits
123
+
124
+ TODO: Fill exact counts after conversion.
125
+
126
+ | Split | Subset | Samples | Notes |
127
+ |---|---:|---:|---|
128
+ | train | healthy_bone_cell | TODO | Primary training split |
129
+ | validation | healthy_bone_cell | TODO | Model selection split |
130
+ | test | healthy_bone_cell | TODO | Clean healthy bone cell test |
131
+ | external_waveplate | waveplate | 18 | External generalisation at 633 nm |
132
+ | external_spectral_610 | spectral | TODO | External wavelength test |
133
+ | external_spectral_650 | spectral | TODO | External wavelength test |
134
+ | external_spectral_690 | spectral | TODO | External wavelength test |
135
+
136
+ TODO: State whether healthy bone cell splits are specimen-level or patch-level.
137
+ If patch-level, describe leakage risk as a limitation.
138
+
139
+ ## External Test Sets
140
+
141
+ TODO: Describe waveplate and spectral external test sets, including wavelength,
142
+ sample source, and intended usage.
143
+
144
+ ## Benchmark Protocols
145
+
146
+ 1. Clean healthy bone cell test: train on `train`, tune on `validation`, report on
147
+ `test`.
148
+ 2. Noisy healthy bone cell robustness: evaluate the test set with
149
+ `sigma_noise = 0.1 * sigma_pixel`.
150
+ 3. External generalisation: train only on healthy bone cell training data and
151
+ report on `external_waveplate` and each `external_spectral_*` split.
152
+
153
+ ## Metrics
154
+
155
+ TODO: List recommended metrics for each target modality and any aggregate score.
156
+
157
+ ## Loading Instructions
158
+
159
+ ```python
160
+ from datasets import load_dataset
161
+
162
+ ds = load_dataset("YOUR_ORG/MMPD-Bench")
163
+ print(ds)
164
+ print(ds["train"][0].keys())
165
+ ```
166
+
167
+ ```python
168
+ import torch
169
+
170
+ row = ds["train"][0]
171
+ mueller = torch.tensor(row["mueller"], dtype=torch.float32)
172
+ target = torch.tensor(row["target"], dtype=torch.float32)
173
+ ```
174
+
175
+ ## Ethics and Limitations
176
+
177
+ TODO: Add de-identification statement, biological ground-truth limitation, and
178
+ recommended use boundaries.
179
+
180
+ ## License
181
+
182
+ TODO: Add final dataset license and any access restrictions.
183
+
184
+ ## Citation
185
+
186
+ TODO: Add paper citation and BibTeX.
187
+
188
+ ## Contact
189
+
190
+ TODO: Add maintainer contact details.