flexray-data / MTDDH /README.md
VictorButoi's picture
Add FleXray data release: 7 repackaged X-ray sources + MURA forearm/humerus annotations
3f8be54 verified
|
Raw
History Blame Contribute Delete
1.49 kB
# MTDDH (pediatric pelvic radiographs, Dataset2 bone masks)
Part of the FleXray data release. Repackaged from the original distribution at
https://doi.org/10.57760/sciencedb.24372 under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).
**Citation:** MTDDH: a multi-task dataset for developmental dysplasia of the hip. Science Data Bank (2025). doi:10.57760/sciencedb.24372 (CC BY 4.0 per the FigShare mirror, record 27999131).
## Contents
- 905 samples (test: 135, train: 632, val: 138); one image and one label per sample.
- `images/*.png`: 16-bit grayscale PNG, intensities in [0, 65535] map linearly to [0, 1].
- `labels/`: binary channel masks (NPY, C x H x W). Label ids/channels:
- channel `0`: background
- channel `1`: ilium
- channel `2`: pubis
- channel `3`: ischium
- channel `4`: femoral_head
- channel `5`: femur
- `dataset.yml`: `fxr-dataset` manifest (schema version 1). Splits are the
ones used in the FleXray paper; `metadata.original_shape` is the source image shape.
## Preprocessing
Every image was min-max normalized to [0, 1] per image, padded to a square with zeros
(centered) and resized to 256 x 256 (area interpolation for images, nearest for labels). Labels were remapped from the
source annotation to the dataset-native names listed above; the FleXray package maps
those names into its label protocol at training time.
## Usage
```bash
pip install flexray
fxr-dataset validate dataset.yml
fxr-dataset pack dataset.yml /data/flexray/MTDDH
```