Datasets:
BTXRD (musculoskeletal radiographs with primary bone tumor masks)
Part of the FleXray data release. Repackaged from the original distribution at https://doi.org/10.6084/m9.figshare.27865398 under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).
Citation: Yao, S., Huang, Y., Wang, X. et al. A radiograph dataset for the classification, localization, and segmentation of primary bone tumors. Sci. Data 12, 88 (2025). doi:10.1038/s41597-024-04311-y. Dataset: figshare, doi:10.6084/m9.figshare.27865398 (CC BY 4.0).
Contents
- 1867 samples (test: 281, train: 1305, val: 281); one image and one label per sample.
images/*.png: 16-bit grayscale PNG, intensities in [0, 65535] map linearly to [0, 1].labels/: dense index map (PNG). Label ids/channels:0: background1: tumordataset.yml:fxr-datasetmanifest (schema version 1). Splits are the ones used in the FleXray paper;metadata.original_shapeis 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
pip install flexray
fxr-dataset validate dataset.yml
fxr-dataset pack dataset.yml /data/flexray/BTXRD