TokyoTechMagicYang commited on
Commit
02a40c5
·
verified ·
1 Parent(s): 405ae00

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +512 -514
README.md CHANGED
@@ -1,515 +1,513 @@
1
- ---
2
- language:
3
- - en
4
- pretty_name: RAM-H1200
5
- size_categories:
6
- - 1K<n<10K
7
- task_categories:
8
- - image-segmentation
9
- # - object-detection
10
- - image-classification
11
- task_ids:
12
- - semantic-segmentation
13
- - instance-segmentation
14
- - object-detection
15
- - multi-class-classification
16
- tags:
17
- - medical
18
- - radiography
19
- - x-ray
20
- - rheumatoid-arthritis
21
- - musculoskeletal
22
- - svdh
23
- - bone-segmentation
24
- - joint-localization
25
- - bone-erosion
26
- - jsn
27
- license: cc-by-4.0
28
- ---
29
-
30
- # RAM-H1200
31
-
32
- ## Dataset Summary
33
-
34
- RAM-H1200 is a multi-task full-hand radiograph dataset for rheumatoid arthritis (RA) related image analysis. It is designed to support several clinically relevant computer vision tasks, including:
35
-
36
- - hand bone structure segmentation
37
- - bone erosion related segmentation
38
- - joint localization for Sharp/van der Heijde (SvdH) scoring
39
- - joint-level SvdH bone erosion (BE) scoring
40
- - joint-level SvdH joint space narrowing (JSN) scoring
41
-
42
- The dataset contains full-hand radiographs in BMP format, COCO-format annotations for segmentation and joint detection, joint-level ROI crops for scoring tasks, and study-level metadata.
43
-
44
- ## Homepage
45
-
46
- - Dataset repository: `https://huggingface.co/datasets/TokyoTechMagicYang/RAM-H1200-v1`
47
- - Benchmark repository: `https://github.com/YSongxiao/RAM-H1200`
48
-
49
- ## License
50
-
51
- This dataset is released under the **Creative Commons Attribution 4.0 International (CC BY 4.0)** license.
52
-
53
- ## Supported Tasks and Applications
54
-
55
- RAM-H1200 supports the following research tasks:
56
-
57
- - **Segmentation**
58
- - Bone segmentation on full-hand radiographs
59
- - Bone erosion related segmentation
60
-
61
- - **Detection / Localization**
62
- - Joint localization for BE-related regions
63
- - Joint localization for JSN-related regions
64
-
65
- - **Classification / Scoring**
66
- - Joint-level SvdH BE score prediction
67
- - Joint-level SvdH JSN score prediction
68
-
69
- Potential use cases include:
70
-
71
- - automated RA severity assessment
72
- - multi-task medical image analysis
73
- - musculoskeletal structure segmentation
74
- - joint-level radiographic scoring
75
- - benchmarking AI systems for RA-related radiograph analysis
76
-
77
- ## Dataset Structure
78
-
79
- ```text
80
- RAM-H1200-v1/
81
- |-- Segmentation/
82
- | |-- train/
83
- | | |-- JP_HMCRD_P0001_20210203_6791_L.bmp
84
- | | |-- JP_HMCRD_P0001_20210203_6791_R.bmp
85
- | | |-- ...
86
- | | |-- _annotations_bone_rle.coco.json
87
- | | |-- _annotations_be_rle.coco.json
88
- | |-- val/
89
- | | |-- ...
90
- | | |-- _annotations_bone_rle.coco.json
91
- | | |-- _annotations_be_rle.coco.json
92
- | |-- test/
93
- | | |-- ...
94
- | | |-- _annotations_bone_rle.coco.json
95
- | | |-- _annotations_be_rle.coco.json
96
- |-- SvdH_Scoring/
97
- | |-- SvdH_BE_Scoring/
98
- | | |-- train/
99
- | | | |-- JP_HMCRD_P0001_20210203_6791_L/
100
- | | | | |-- CMC-T.bmp
101
- | | | | |-- IP.bmp
102
- | | | | |-- L.bmp
103
- | | | | |-- MCP-I.bmp
104
- | | | | |-- ...
105
- | | | |-- _annotations_be_joint_detection.coco.json
106
- | | | |-- _annotation_be_scores.json
107
- | | |-- val/
108
- | | | |-- ...
109
- | | | |-- _annotations_be_joint_detection.coco.json
110
- | | | |-- _annotation_be_scores.json
111
- | | |-- test/
112
- | | | |-- ...
113
- | | | |-- _annotations_be_joint_detection.coco.json
114
- | | | |-- _annotation_be_scores.json
115
- | |-- SvdH_JSN_Scoring/
116
- | | |-- train/
117
- | | | |-- JP_HMCRD_P0001_20210203_6791_L/
118
- | | | | |-- CMC-M.bmp
119
- | | | | |-- CMC-R.bmp
120
- | | | | |-- CMC-S.bmp
121
- | | | | |-- MCP-I.bmp
122
- | | | | |-- ...
123
- | | | |-- _annotations_jsn_joint_detection.coco.json
124
- | | | |-- _annotation_jsn_scores.json
125
- | | |-- val/
126
- | | | |-- ...
127
- | | | |-- _annotations_jsn_joint_detection.coco.json
128
- | | | |-- _annotation_jsn_scores.json
129
- | | |-- test/
130
- | | | |-- ...
131
- | | | |-- _annotations_jsn_joint_detection.coco.json
132
- | | | |-- _annotation_jsn_scores.json
133
- |-- Metadata.xlsx
134
- ```
135
-
136
- ## Data Organization
137
-
138
- ### 1. Segmentation
139
-
140
- The `Segmentation/` directory contains full-hand radiographs in BMP format, organized into `train`, `val`, and `test` splits.
141
-
142
- A typical filename looks like:
143
-
144
- ```text
145
- JP_HMCRD_P0001_20210203_6791_L.bmp
146
- ```
147
-
148
- This naming scheme generally encodes:
149
-
150
- - country or source prefix
151
- - acquisition center
152
- - anonymized patient identifier
153
- - study date (de-identified via a consistent temporal offset per patient)
154
- - image identifier
155
- - hand side (`L` for left, `R` for right)
156
-
157
- Each split contains two COCO-format annotation files:
158
-
159
- - `_annotations_bone_rle.coco.json`
160
- - `_annotations_be_rle.coco.json`
161
-
162
- #### Bone Segmentation Annotations
163
-
164
- `_annotations_bone_rle.coco.json` stores segmentation masks using COCO RLE encoding. The annotation categories include anatomical structures such as:
165
-
166
- - Capitate
167
- - Hamate
168
- - Lunate
169
- - Scaphoid
170
- - Trapezium
171
- - Trapezoid
172
- - Radius
173
- - Ulna
174
- - MC1--MC5
175
- - PP1--PP5
176
- - DP1--DP5
177
-
178
- The annotation file also contains some additional categories related to non-bony structures or acquisition artifacts, such as soft tissue or implants.
179
-
180
- Example COCO annotation:
181
-
182
- ```json
183
- {
184
- "id": 1,
185
- "image_id": 0,
186
- "category_id": 30,
187
- "bbox": [14.0, 198.0, 852.0, 1233.0],
188
- "area": 515212.0,
189
- "segmentation": {
190
- "size": [1431, 893],
191
- "counts": "..."
192
- }
193
- }
194
- ```
195
-
196
- #### Bone Erosion Related Segmentation Annotations
197
-
198
- `_annotations_be_rle.coco.json` provides segmentation annotations related to bone erosion patterns. The category set includes:
199
-
200
- - `Fusion`
201
- - `Non-SvdH-BE`
202
- - `OP`
203
- - `SvdH-BE-50`
204
- - `SvdH-BE-90`
205
-
206
- These annotations are also stored in COCO RLE format.
207
-
208
- ### 2. SvdH BE Scoring
209
-
210
- The `SvdH_Scoring/SvdH_BE_Scoring/` directory contains ROI crops for bone erosion scoring. Each case is stored in a separate folder named by a case identifier.
211
-
212
- Example:
213
-
214
- ```text
215
- JP_HMCRD_P0001_20210203_6791_L/
216
- ```
217
-
218
- A typical BE case folder contains 16 ROI images corresponding to joints or anatomical regions such as:
219
-
220
- - `CMC-T.bmp`
221
- - `IP.bmp`
222
- - `L.bmp`
223
- - `Tm.bmp`
224
- - `R.bmp`
225
- - `U.bmp`
226
- - `MCP-T.bmp`
227
- - `MCP-I.bmp`
228
- - `MCP-M.bmp`
229
- - `MCP-R.bmp`
230
- - `MCP-S.bmp`
231
- - `PIP-I.bmp`
232
- - `PIP-M.bmp`
233
- - `PIP-R.bmp`
234
- - `PIP-S.bmp`
235
-
236
- Each split also includes:
237
-
238
- - `_annotations_be_joint_detection.coco.json`
239
- - `_annotation_be_scores.json`
240
-
241
- #### BE Joint Detection
242
-
243
- `_annotations_be_joint_detection.coco.json` stores joint localization annotations in COCO format. The categories map to BE-relevant joints or regions, including:
244
-
245
- - `R`
246
- - `U`
247
- - `L`
248
- - `CMC-T`
249
- - `S`
250
- - `Tm`
251
- - `IP`
252
- - `MCP-T`
253
- - `MCP-I`
254
- - `MCP-M`
255
- - `MCP-R`
256
- - `MCP-S`
257
- - `PIP-I`
258
- - `PIP-M`
259
- - `PIP-R`
260
- - `PIP-S`
261
-
262
- #### BE Score Labels
263
-
264
- `_annotation_be_scores.json` stores ground-truth joint-level BE scores indexed by full image filename.
265
-
266
- Example:
267
-
268
- ```json
269
- {
270
- "JP_HMCRD_P0167_20111230_3497_L.bmp": {
271
- "BE_MCP-T": 0,
272
- "BE_MCP-I": 1,
273
- "BE_MCP-M": 0,
274
- "BE_MCP-R": 0,
275
- "BE_MCP-S": 0,
276
- "BE_IP": 0,
277
- "BE_PIP-I": 0,
278
- "BE_PIP-M": 0,
279
- "BE_PIP-R": 1,
280
- "BE_PIP-S": 1,
281
- "BE_CMC-T": 0,
282
- "BE_Tm": 1,
283
- "BE_S": 0,
284
- "BE_L": 0,
285
- "BE_U": 0,
286
- "BE_R": 0
287
- }
288
- }
289
- ```
290
-
291
- ### 3. SvdH JSN Scoring
292
-
293
- The `SvdH_Scoring/SvdH_JSN_Scoring/` directory contains ROI crops for joint space narrowing scoring.
294
-
295
- A typical JSN case folder contains 15 ROI images corresponding to:
296
-
297
- - `CMC-M.bmp`
298
- - `CMC-R.bmp`
299
- - `CMC-S.bmp`
300
- - `SC.bmp`
301
- - `SR.bmp`
302
- - `STT.bmp`
303
- - `MCP-T.bmp`
304
- - `MCP-I.bmp`
305
- - `MCP-M.bmp`
306
- - `MCP-R.bmp`
307
- - `MCP-S.bmp`
308
- - `PIP-I.bmp`
309
- - `PIP-M.bmp`
310
- - `PIP-R.bmp`
311
- - `PIP-S.bmp`
312
-
313
- Each split also includes:
314
-
315
- - `_annotations_jsn_joint_detection.coco.json`
316
- - `_annotation_jsn_scores.json`
317
-
318
- #### JSN Joint Detection
319
-
320
- `_annotations_jsn_joint_detection.coco.json` stores COCO-format joint localization annotations. Categories include:
321
-
322
- - `CMC-M`
323
- - `CMC-R`
324
- - `CMC-S`
325
- - `SC`
326
- - `SR`
327
- - `STT`
328
- - `MCP-T`
329
- - `MCP-I`
330
- - `MCP-M`
331
- - `MCP-R`
332
- - `MCP-S`
333
- - `PIP-I`
334
- - `PIP-M`
335
- - `PIP-R`
336
- - `PIP-S`
337
-
338
- #### JSN Score Labels
339
-
340
- `_annotation_jsn_scores.json` stores ground-truth joint-level JSN scores indexed by full image filename.
341
-
342
- Example:
343
-
344
- ```json
345
- {
346
- "JP_HMCRD_P0167_20111230_3497_L.bmp": {
347
- "JSN_MCP-T": 2,
348
- "JSN_MCP-I": 0,
349
- "JSN_MCP-M": 0,
350
- "JSN_MCP-R": 0,
351
- "JSN_MCP-S": 0,
352
- "JSN_PIP-I": 0,
353
- "JSN_PIP-M": 0,
354
- "JSN_PIP-R": 0,
355
- "JSN_PIP-S": 0,
356
- "JSN_STT": 0,
357
- "JSN_SC": 0,
358
- "JSN_SR": 0,
359
- "JSN_CMC-M": 0,
360
- "JSN_CMC-R": 0,
361
- "JSN_CMC-S": 0
362
- }
363
- }
364
- ```
365
-
366
- ## Metadata
367
-
368
- The file `Metadata.xlsx` contains study-level metadata. Key columns include:
369
-
370
- - `Mapped Image Stem`
371
- - `StudyID`
372
- - `Normalized PatientID`
373
- - `isRA`
374
- - `Sex`
375
- - `Age`
376
- - `Center`
377
- - `PixelSpacing`
378
- - `ImageSize`
379
- - `LR`
380
-
381
- These fields provide normalized identifiers, demographic information, acquisition center information, study date, image geometry, and hand laterality.
382
-
383
- ## Splits
384
-
385
- RAM-H1200 is distributed with predefined splits:
386
-
387
- - `train`
388
- - `val`
389
- - `test`
390
-
391
- These splits are consistently provided for:
392
-
393
- - segmentation
394
- - BE scoring
395
- - JSN scoring
396
-
397
- ## Data Loading Notes
398
-
399
- This repository stores raw files rather than a single tabular annotation file. Depending on the task, users will typically load data as follows:
400
-
401
- - use BMP images together with the corresponding COCO JSON files for segmentation or detection tasks
402
- - use per-case ROI folders together with score JSON files for BE and JSN scoring tasks
403
- - use `Metadata.xlsx` for study-level metadata lookup and cohort analysis
404
-
405
- ## Example Usage
406
-
407
- ### Load COCO annotations
408
-
409
- ```python
410
- import json
411
- from pathlib import Path
412
-
413
- ann_path = Path("Segmentation/train/_annotations_bone_rle.coco.json")
414
- with ann_path.open("r", encoding="utf-8") as f:
415
- coco = json.load(f)
416
-
417
- print(len(coco["images"]))
418
- print(len(coco["annotations"]))
419
- print(coco["categories"][:5])
420
- ```
421
-
422
- ### Load BE score labels
423
-
424
- ```python
425
- import json
426
- from pathlib import Path
427
-
428
- label_path = Path("SvdH_Scoring/SvdH_BE_Scoring/train/_annotation_be_scores.json")
429
- with label_path.open("r", encoding="utf-8") as f:
430
- labels = json.load(f)
431
-
432
- sample_key = next(iter(labels))
433
- print(sample_key)
434
- print(labels[sample_key])
435
- ```
436
-
437
- ### Load JSN score labels
438
-
439
- ```python
440
- import json
441
- from pathlib import Path
442
-
443
- label_path = Path("SvdH_Scoring/SvdH_JSN_Scoring/train/_annotation_jsn_scores.json")
444
- with label_path.open("r", encoding="utf-8") as f:
445
- labels = json.load(f)
446
-
447
- sample_key = next(iter(labels))
448
- print(sample_key)
449
- print(labels[sample_key])
450
- ```
451
-
452
- ## Intended Uses
453
-
454
- RAM-H1200 is intended for research and benchmarking in:
455
-
456
- - rheumatoid arthritis radiograph analysis
457
- - automated scoring of structural damage
458
- - medical image segmentation
459
- - joint localization and ROI extraction
460
- - multi-task learning with hand radiographs
461
-
462
- ## Out-of-Scope Uses
463
-
464
- This dataset is not intended for:
465
-
466
- - direct clinical deployment without independent validation
467
- - standalone medical decision-making
468
- - patient re-identification
469
- - non-research use without checking the dataset license and ethics approvals
470
-
471
- ## Source Data
472
-
473
- RAM-H1200 consists of anonymized full-hand radiographs and derived annotations from multiple acquisition centers. It includes full-image labels, ROI-level labels, and metadata relevant to RA-related structural assessment.
474
-
475
- ## Personal and Sensitive Information
476
-
477
- The dataset uses anonymized patient and study identifiers. Metadata is limited to research-relevant study and demographic information and does not include direct personal identifiers.
478
-
479
- ## Bias, Risks, and Limitations
480
-
481
- - The dataset may reflect center-specific acquisition protocols and patient populations.
482
- - Annotation quality depends on the consistency of expert labeling and task definitions.
483
- - Some anatomical regions or score levels may be imbalanced.
484
- - Models trained on this dataset may not generalize to other institutions, scanners, or populations without additional validation.
485
- - The dataset is intended for research use, not for direct clinical diagnosis or treatment planning.
486
-
487
- ## Citation
488
-
489
- If you use RAM-H1200 in your research, please cite the dataset and the associated paper.
490
-
491
- ### BibTeX
492
-
493
- If there is an associated paper, add it here as well:
494
-
495
- ```bibtex
496
- @article{ram_h1200_paper_2026,
497
- title = {<PAPER_TITLE_HERE>},
498
- author = {<AUTHOR_LIST>},
499
- journal = {<JOURNAL_OR_CONFERENCE_HERE>},
500
- year = {2026},
501
- url = {<PAPER_URL_HERE>}
502
- }
503
- ```
504
-
505
- ## Acknowledgements
506
-
507
- We thank the annotators, clinicians, and collaborating institutions who contributed to the collection, curation, and quality control of RAM-H1200.
508
-
509
- ## Contact
510
-
511
- For questions, issues, or collaboration inquiries, please contact:
512
-
513
- - `Songxiao Yang, Yafei Ou`
514
- - `syang(at)ok.sc.e.titech.ac.jp, yafei.ou(at)riken.jp`
515
  - `https://yafeiou.github.io/RAM10K`
 
1
+ ---
2
+ language:
3
+ - en
4
+ pretty_name: RAM-H1200
5
+ size_categories:
6
+ - 1K<n<10K
7
+ task_categories:
8
+ - image-segmentation
9
+ # - object-detection
10
+ - image-classification
11
+ task_ids:
12
+ - semantic-segmentation
13
+ - instance-segmentation
14
+ - object-detection
15
+ - multi-class-classification
16
+ tags:
17
+ - medical
18
+ - radiography
19
+ - x-ray
20
+ - rheumatoid-arthritis
21
+ - musculoskeletal
22
+ - svdh
23
+ - bone-segmentation
24
+ - joint-localization
25
+ - bone-erosion
26
+ - jsn
27
+ license: cc-by-4.0
28
+ ---
29
+
30
+ # RAM-H1200
31
+
32
+ ## Dataset Summary
33
+
34
+ RAM-H1200 is a multi-task full-hand radiograph dataset for rheumatoid arthritis (RA) related image analysis. It is designed to support several clinically relevant computer vision tasks, including:
35
+
36
+ - hand bone structure segmentation
37
+ - bone erosion related segmentation
38
+ - joint localization for Sharp/van der Heijde (SvdH) scoring
39
+ - joint-level SvdH bone erosion (BE) scoring
40
+ - joint-level SvdH joint space narrowing (JSN) scoring
41
+
42
+ The dataset contains full-hand radiographs in BMP format, COCO-format annotations for segmentation and joint detection, joint-level ROI crops for scoring tasks, and study-level metadata.
43
+
44
+ ## Homepage
45
+
46
+ - Dataset repository: `https://huggingface.co/datasets/TokyoTechMagicYang/RAM-H1200-v1`
47
+ - Benchmark repository: `https://github.com/YSongxiao/RAM-H1200`
48
+
49
+ ## License
50
+
51
+ This dataset is released under the **Creative Commons Attribution 4.0 International (CC BY 4.0)** license.
52
+
53
+ ## Supported Tasks and Applications
54
+
55
+ RAM-H1200 supports the following research tasks:
56
+
57
+ - **Segmentation**
58
+ - Bone segmentation on full-hand radiographs
59
+ - Bone erosion related segmentation
60
+
61
+ - **Detection / Localization**
62
+ - Joint localization for BE-related regions
63
+ - Joint localization for JSN-related regions
64
+
65
+ - **Classification / Scoring**
66
+ - Joint-level SvdH BE score prediction
67
+ - Joint-level SvdH JSN score prediction
68
+
69
+ Potential use cases include:
70
+
71
+ - automated RA severity assessment
72
+ - multi-task medical image analysis
73
+ - musculoskeletal structure segmentation
74
+ - joint-level radiographic scoring
75
+ - benchmarking AI systems for RA-related radiograph analysis
76
+
77
+ ## Dataset Structure
78
+
79
+ ```text
80
+ RAM-H1200-v1/
81
+ |-- Segmentation/
82
+ | |-- train/
83
+ | | |-- JP_HMCRD_P0001_20210203_6791_L.bmp
84
+ | | |-- JP_HMCRD_P0001_20210203_6791_R.bmp
85
+ | | |-- ...
86
+ | | |-- _annotations_bone_rle.coco.json
87
+ | | |-- _annotations_be_rle.coco.json
88
+ | |-- val/
89
+ | | |-- ...
90
+ | | |-- _annotations_bone_rle.coco.json
91
+ | | |-- _annotations_be_rle.coco.json
92
+ | |-- test/
93
+ | | |-- ...
94
+ | | |-- _annotations_bone_rle.coco.json
95
+ | | |-- _annotations_be_rle.coco.json
96
+ |-- SvdH_Scoring/
97
+ | |-- SvdH_BE_Scoring/
98
+ | | |-- train/
99
+ | | | |-- JP_HMCRD_P0001_20210203_6791_L/
100
+ | | | | |-- CMC-T.bmp
101
+ | | | | |-- IP.bmp
102
+ | | | | |-- L.bmp
103
+ | | | | |-- MCP-I.bmp
104
+ | | | | |-- ...
105
+ | | | |-- _annotations_be_joint_detection.coco.json
106
+ | | | |-- _annotation_be_scores.json
107
+ | | |-- val/
108
+ | | | |-- ...
109
+ | | | |-- _annotations_be_joint_detection.coco.json
110
+ | | | |-- _annotation_be_scores.json
111
+ | | |-- test/
112
+ | | | |-- ...
113
+ | | | |-- _annotations_be_joint_detection.coco.json
114
+ | | | |-- _annotation_be_scores.json
115
+ | |-- SvdH_JSN_Scoring/
116
+ | | |-- train/
117
+ | | | |-- JP_HMCRD_P0001_20210203_6791_L/
118
+ | | | | |-- CMC-M.bmp
119
+ | | | | |-- CMC-R.bmp
120
+ | | | | |-- CMC-S.bmp
121
+ | | | | |-- MCP-I.bmp
122
+ | | | | |-- ...
123
+ | | | |-- _annotations_jsn_joint_detection.coco.json
124
+ | | | |-- _annotation_jsn_scores.json
125
+ | | |-- val/
126
+ | | | |-- ...
127
+ | | | |-- _annotations_jsn_joint_detection.coco.json
128
+ | | | |-- _annotation_jsn_scores.json
129
+ | | |-- test/
130
+ | | | |-- ...
131
+ | | | |-- _annotations_jsn_joint_detection.coco.json
132
+ | | | |-- _annotation_jsn_scores.json
133
+ |-- Metadata.xlsx
134
+ ```
135
+
136
+ ## Data Organization
137
+
138
+ ### 1. Segmentation
139
+
140
+ The `Segmentation/` directory contains full-hand radiographs in BMP format, organized into `train`, `val`, and `test` splits.
141
+
142
+ A typical filename looks like:
143
+
144
+ ```text
145
+ JP_HMCRD_P0001_20210203_6791_L.bmp
146
+ ```
147
+
148
+ This naming scheme generally encodes:
149
+
150
+ - country or source prefix
151
+ - acquisition center
152
+ - anonymized patient identifier
153
+ - study date (de-identified via a consistent temporal offset per patient)
154
+ - image identifier
155
+ - hand side (`L` for left, `R` for right)
156
+
157
+ Each split contains two COCO-format annotation files:
158
+
159
+ - `_annotations_bone_rle.coco.json`
160
+ - `_annotations_be_rle.coco.json`
161
+
162
+ #### Bone Segmentation Annotations
163
+
164
+ `_annotations_bone_rle.coco.json` stores segmentation masks using COCO RLE encoding. The annotation categories include anatomical structures such as:
165
+
166
+ - Capitate
167
+ - Hamate
168
+ - Lunate
169
+ - Scaphoid
170
+ - Trapezium
171
+ - Trapezoid
172
+ - Radius
173
+ - Ulna
174
+ - MC1--MC5
175
+ - PP1--PP5
176
+ - DP1--DP5
177
+
178
+ The annotation file also contains some additional categories related to non-bony structures or acquisition artifacts, such as soft tissue or implants.
179
+
180
+ Example COCO annotation:
181
+
182
+ ```json
183
+ {
184
+ "id": 1,
185
+ "image_id": 0,
186
+ "category_id": 30,
187
+ "bbox": [14.0, 198.0, 852.0, 1233.0],
188
+ "area": 515212.0,
189
+ "segmentation": {
190
+ "size": [1431, 893],
191
+ "counts": "..."
192
+ }
193
+ }
194
+ ```
195
+
196
+ #### Bone Erosion Related Segmentation Annotations
197
+
198
+ `_annotations_be_rle.coco.json` provides segmentation annotations related to bone erosion patterns. The category set includes:
199
+
200
+ - `Non-SvdH-BE`
201
+ - `SvdH-BE-50`
202
+ - `SvdH-BE-90`
203
+
204
+ These annotations are also stored in COCO RLE format.
205
+
206
+ ### 2. SvdH BE Scoring
207
+
208
+ The `SvdH_Scoring/SvdH_BE_Scoring/` directory contains ROI crops for bone erosion scoring. Each case is stored in a separate folder named by a case identifier.
209
+
210
+ Example:
211
+
212
+ ```text
213
+ JP_HMCRD_P0001_20210203_6791_L/
214
+ ```
215
+
216
+ A typical BE case folder contains 16 ROI images corresponding to joints or anatomical regions such as:
217
+
218
+ - `CMC-T.bmp`
219
+ - `IP.bmp`
220
+ - `L.bmp`
221
+ - `Tm.bmp`
222
+ - `R.bmp`
223
+ - `U.bmp`
224
+ - `MCP-T.bmp`
225
+ - `MCP-I.bmp`
226
+ - `MCP-M.bmp`
227
+ - `MCP-R.bmp`
228
+ - `MCP-S.bmp`
229
+ - `PIP-I.bmp`
230
+ - `PIP-M.bmp`
231
+ - `PIP-R.bmp`
232
+ - `PIP-S.bmp`
233
+
234
+ Each split also includes:
235
+
236
+ - `_annotations_be_joint_detection.coco.json`
237
+ - `_annotation_be_scores.json`
238
+
239
+ #### BE Joint Detection
240
+
241
+ `_annotations_be_joint_detection.coco.json` stores joint localization annotations in COCO format. The categories map to BE-relevant joints or regions, including:
242
+
243
+ - `R`
244
+ - `U`
245
+ - `L`
246
+ - `CMC-T`
247
+ - `S`
248
+ - `Tm`
249
+ - `IP`
250
+ - `MCP-T`
251
+ - `MCP-I`
252
+ - `MCP-M`
253
+ - `MCP-R`
254
+ - `MCP-S`
255
+ - `PIP-I`
256
+ - `PIP-M`
257
+ - `PIP-R`
258
+ - `PIP-S`
259
+
260
+ #### BE Score Labels
261
+
262
+ `_annotation_be_scores.json` stores ground-truth joint-level BE scores indexed by full image filename.
263
+
264
+ Example:
265
+
266
+ ```json
267
+ {
268
+ "JP_HMCRD_P0167_20111230_3497_L.bmp": {
269
+ "BE_MCP-T": 0,
270
+ "BE_MCP-I": 1,
271
+ "BE_MCP-M": 0,
272
+ "BE_MCP-R": 0,
273
+ "BE_MCP-S": 0,
274
+ "BE_IP": 0,
275
+ "BE_PIP-I": 0,
276
+ "BE_PIP-M": 0,
277
+ "BE_PIP-R": 1,
278
+ "BE_PIP-S": 1,
279
+ "BE_CMC-T": 0,
280
+ "BE_Tm": 1,
281
+ "BE_S": 0,
282
+ "BE_L": 0,
283
+ "BE_U": 0,
284
+ "BE_R": 0
285
+ }
286
+ }
287
+ ```
288
+
289
+ ### 3. SvdH JSN Scoring
290
+
291
+ The `SvdH_Scoring/SvdH_JSN_Scoring/` directory contains ROI crops for joint space narrowing scoring.
292
+
293
+ A typical JSN case folder contains 15 ROI images corresponding to:
294
+
295
+ - `CMC-M.bmp`
296
+ - `CMC-R.bmp`
297
+ - `CMC-S.bmp`
298
+ - `SC.bmp`
299
+ - `SR.bmp`
300
+ - `STT.bmp`
301
+ - `MCP-T.bmp`
302
+ - `MCP-I.bmp`
303
+ - `MCP-M.bmp`
304
+ - `MCP-R.bmp`
305
+ - `MCP-S.bmp`
306
+ - `PIP-I.bmp`
307
+ - `PIP-M.bmp`
308
+ - `PIP-R.bmp`
309
+ - `PIP-S.bmp`
310
+
311
+ Each split also includes:
312
+
313
+ - `_annotations_jsn_joint_detection.coco.json`
314
+ - `_annotation_jsn_scores.json`
315
+
316
+ #### JSN Joint Detection
317
+
318
+ `_annotations_jsn_joint_detection.coco.json` stores COCO-format joint localization annotations. Categories include:
319
+
320
+ - `CMC-M`
321
+ - `CMC-R`
322
+ - `CMC-S`
323
+ - `SC`
324
+ - `SR`
325
+ - `STT`
326
+ - `MCP-T`
327
+ - `MCP-I`
328
+ - `MCP-M`
329
+ - `MCP-R`
330
+ - `MCP-S`
331
+ - `PIP-I`
332
+ - `PIP-M`
333
+ - `PIP-R`
334
+ - `PIP-S`
335
+
336
+ #### JSN Score Labels
337
+
338
+ `_annotation_jsn_scores.json` stores ground-truth joint-level JSN scores indexed by full image filename.
339
+
340
+ Example:
341
+
342
+ ```json
343
+ {
344
+ "JP_HMCRD_P0167_20111230_3497_L.bmp": {
345
+ "JSN_MCP-T": 2,
346
+ "JSN_MCP-I": 0,
347
+ "JSN_MCP-M": 0,
348
+ "JSN_MCP-R": 0,
349
+ "JSN_MCP-S": 0,
350
+ "JSN_PIP-I": 0,
351
+ "JSN_PIP-M": 0,
352
+ "JSN_PIP-R": 0,
353
+ "JSN_PIP-S": 0,
354
+ "JSN_STT": 0,
355
+ "JSN_SC": 0,
356
+ "JSN_SR": 0,
357
+ "JSN_CMC-M": 0,
358
+ "JSN_CMC-R": 0,
359
+ "JSN_CMC-S": 0
360
+ }
361
+ }
362
+ ```
363
+
364
+ ## Metadata
365
+
366
+ The file `Metadata.xlsx` contains study-level metadata. Key columns include:
367
+
368
+ - `Mapped Image Stem`
369
+ - `StudyID`
370
+ - `Normalized PatientID`
371
+ - `isRA`
372
+ - `Sex`
373
+ - `Age`
374
+ - `Center`
375
+ - `PixelSpacing`
376
+ - `ImageSize`
377
+ - `LR`
378
+
379
+ These fields provide normalized identifiers, demographic information, acquisition center information, study date, image geometry, and hand laterality.
380
+
381
+ ## Splits
382
+
383
+ RAM-H1200 is distributed with predefined splits:
384
+
385
+ - `train`
386
+ - `val`
387
+ - `test`
388
+
389
+ These splits are consistently provided for:
390
+
391
+ - segmentation
392
+ - BE scoring
393
+ - JSN scoring
394
+
395
+ ## Data Loading Notes
396
+
397
+ This repository stores raw files rather than a single tabular annotation file. Depending on the task, users will typically load data as follows:
398
+
399
+ - use BMP images together with the corresponding COCO JSON files for segmentation or detection tasks
400
+ - use per-case ROI folders together with score JSON files for BE and JSN scoring tasks
401
+ - use `Metadata.xlsx` for study-level metadata lookup and cohort analysis
402
+
403
+ ## Example Usage
404
+
405
+ ### Load COCO annotations
406
+
407
+ ```python
408
+ import json
409
+ from pathlib import Path
410
+
411
+ ann_path = Path("Segmentation/train/_annotations_bone_rle.coco.json")
412
+ with ann_path.open("r", encoding="utf-8") as f:
413
+ coco = json.load(f)
414
+
415
+ print(len(coco["images"]))
416
+ print(len(coco["annotations"]))
417
+ print(coco["categories"][:5])
418
+ ```
419
+
420
+ ### Load BE score labels
421
+
422
+ ```python
423
+ import json
424
+ from pathlib import Path
425
+
426
+ label_path = Path("SvdH_Scoring/SvdH_BE_Scoring/train/_annotation_be_scores.json")
427
+ with label_path.open("r", encoding="utf-8") as f:
428
+ labels = json.load(f)
429
+
430
+ sample_key = next(iter(labels))
431
+ print(sample_key)
432
+ print(labels[sample_key])
433
+ ```
434
+
435
+ ### Load JSN score labels
436
+
437
+ ```python
438
+ import json
439
+ from pathlib import Path
440
+
441
+ label_path = Path("SvdH_Scoring/SvdH_JSN_Scoring/train/_annotation_jsn_scores.json")
442
+ with label_path.open("r", encoding="utf-8") as f:
443
+ labels = json.load(f)
444
+
445
+ sample_key = next(iter(labels))
446
+ print(sample_key)
447
+ print(labels[sample_key])
448
+ ```
449
+
450
+ ## Intended Uses
451
+
452
+ RAM-H1200 is intended for research and benchmarking in:
453
+
454
+ - rheumatoid arthritis radiograph analysis
455
+ - automated scoring of structural damage
456
+ - medical image segmentation
457
+ - joint localization and ROI extraction
458
+ - multi-task learning with hand radiographs
459
+
460
+ ## Out-of-Scope Uses
461
+
462
+ This dataset is not intended for:
463
+
464
+ - direct clinical deployment without independent validation
465
+ - standalone medical decision-making
466
+ - patient re-identification
467
+ - non-research use without checking the dataset license and ethics approvals
468
+
469
+ ## Source Data
470
+
471
+ RAM-H1200 consists of anonymized full-hand radiographs and derived annotations from multiple acquisition centers. It includes full-image labels, ROI-level labels, and metadata relevant to RA-related structural assessment.
472
+
473
+ ## Personal and Sensitive Information
474
+
475
+ The dataset uses anonymized patient and study identifiers. Metadata is limited to research-relevant study and demographic information and does not include direct personal identifiers.
476
+
477
+ ## Bias, Risks, and Limitations
478
+
479
+ - The dataset may reflect center-specific acquisition protocols and patient populations.
480
+ - Annotation quality depends on the consistency of expert labeling and task definitions.
481
+ - Some anatomical regions or score levels may be imbalanced.
482
+ - Models trained on this dataset may not generalize to other institutions, scanners, or populations without additional validation.
483
+ - The dataset is intended for research use, not for direct clinical diagnosis or treatment planning.
484
+
485
+ ## Citation
486
+
487
+ If you use RAM-H1200 in your research, please cite the dataset and the associated paper.
488
+
489
+ ### BibTeX
490
+
491
+ If there is an associated paper, add it here as well:
492
+
493
+ ```bibtex
494
+ @article{ram_h1200_paper_2026,
495
+ title = {RAM-H1200: A Unified Evaluation and Dataset on Hand Radiographs for Rheumatoid Arthritis},
496
+ author = {Songxiao Yang, Haolin Wang, Yao Fu, Junmu Peng, Lin Fan, Hongruixuan Chen, Jian Song, Masayuki Ikebe, Shinya Takamaeda-Yamazaki, Masatoshi Okutomi, Tamotsu Kamishima, Yafei Ou},
497
+ journal = {<JOURNAL_OR_CONFERENCE_HERE>},
498
+ year = {2026},
499
+ url = {<PAPER_URL_HERE>}
500
+ }
501
+ ```
502
+
503
+ ## Acknowledgements
504
+
505
+ We thank the annotators, clinicians, and collaborating institutions who contributed to the collection, curation, and quality control of RAM-H1200.
506
+
507
+ ## Contact
508
+
509
+ For questions, issues, or collaboration inquiries, please contact:
510
+
511
+ - `Songxiao Yang, Yafei Ou`
512
+ - `syang(at)ok.sc.e.titech.ac.jp, yafei.ou(at)riken.jp`
 
 
513
  - `https://yafeiou.github.io/RAM10K`