File size: 2,138 Bytes
6838838
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b6aa9fe
 
 
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
---
license: cc-by-nc-4.0
task_categories:
- image-feature-extraction
language:
- en
tags:
- medical
- image
- biometry
- measurement
- x-ray
- cephalogram
pretty_name: cephalogram400
size_categories:
- n<1K
---


## About
This is a modified version of [data](https://figshare.com/s/37ec464af8e81ae6ebbf) for the paper: 
[Fully Automatic System for Accurate Localisation and Analysis of Cephalometric Landmarks in Lateral Cephalograms](https://doi.org/10.1038/srep33581)

- We saved the original 2D `.bmp` images into pseudo 3D `.nii.gz` files in a manner that the original
  2D sagittal slices can be extracted from the 3D NIfTI files correctly assuming the standard RAS+
  orientation of `.nii.gz` files. A pseudo voxel size [0.1, 0.1, 0.1] is set in the NIfTI header,
  according to the data description in the paper: "The image resolution was 1935 × 2400 pixels with
  a pixel spacing of 0.1 mm."
- We change the landmarks coordinates to 3D, making it consistent with the new 3D NIfTI files.
- Figures of image and landmarks are added for visual inspection.
- Images (`.nii.gz` files), landmarks (`.json` files) and figures (`.png` files) are saved in
  `Images`, `Landmarks`, and `Landmarks-fig` folders.



## Download from Huggingface
```bash
#!/bin/bash
pip install --upgrade huggingface-hub[cli]
huggingface-cli login --token $HF_TOKEN
```
```python
# python
from huggingface_hub import snapshot_download
snapshot_download(repo_id="YongchengYAO/Cephalogram400", repo_type='dataset', local_dir="/your/local/folder")
```


## Landmarks Labels
```python
landmarks_map = {
    "P1": "sella",
    "P2": "nasion",
    "P3": "orbitale",
    "P4": "porion",
    "P5": "subspinale",
    "P6": "supramentale",
    "P7": "pogonion",
    "P8": "menton",
    "P9": "gnathion",
    "P10": "gonion",
    "P11": "incision inferius",
    "P12": "incision superius",
    "P13": "upper lip",
    "P14": "lower lip",
    "P15": "subnasale",
    "P16": "soft tissue pogonion",
    "P17": "posterior nasal spine",
    "P18": "anterior nasal spine",
    "P19": "articulare",
}
```

## License
This dataset is released under the `CC BY-NC 4.0` license.