Dataset Preview
Full Screen
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    ArrowNotImplementedError
Message:      Cannot write struct type 'info' with no child field to Parquet. Consider adding a dummy child field.
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1870, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 620, in write_table
                  self._build_writer(inferred_schema=pa_table.schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 441, in _build_writer
                  self.pa_writer = self._WRITER_CLASS(self.stream, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/pyarrow/parquet/core.py", line 1010, in __init__
                  self.writer = _parquet.ParquetWriter(
                File "pyarrow/_parquet.pyx", line 2157, in pyarrow._parquet.ParquetWriter.__cinit__
                File "pyarrow/error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status
                File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status
              pyarrow.lib.ArrowNotImplementedError: Cannot write struct type 'info' with no child field to Parquet. Consider adding a dummy child field.
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1886, in _prepare_split_single
                  num_examples, num_bytes = writer.finalize()
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 639, in finalize
                  self._build_writer(self.schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 441, in _build_writer
                  self.pa_writer = self._WRITER_CLASS(self.stream, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/pyarrow/parquet/core.py", line 1010, in __init__
                  self.writer = _parquet.ParquetWriter(
                File "pyarrow/_parquet.pyx", line 2157, in pyarrow._parquet.ParquetWriter.__cinit__
                File "pyarrow/error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status
                File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status
              pyarrow.lib.ArrowNotImplementedError: Cannot write struct type 'info' with no child field to Parquet. Consider adding a dummy child field.
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1417, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1049, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 924, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1000, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1741, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1897, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

info
dict
licenses
sequence
images
list
categories
list
annotations
list
{}
[]
[{"id":0,"width":512,"height":512,"file_name":"RibFrac375lateral.png"},{"id":1,"width":512,"height":(...TRUNCATED)
[{"id":1,"supercategory":"","name":"lung_overall"},{"id":2,"supercategory":"","name":"lung_right"},{(...TRUNCATED)
[{"id":1,"image_id":0,"category_id":1,"segmentation":{"size":[512,512],"counts":"kXT26e?;I3J5N3L3N3H(...TRUNCATED)

PAXRay Dataset

PAXRay (Projected dataset for the segmentation of Anatomical structures in X-Ray data) is a synthetic dataset designed to facilitate research on anatomical segmentation in X-Ray imagery. The dataset contains projections of the RibFrac CT dataset onto a 2D plane to simulate realistic X-Ray data. It includes multi-label segmentation masks for fine-grained and hierarchical anatomical labeling.

For an extended version of this dataset, check out PAXRay++.

For models for anatomy segmentation of Chest X-Rays, check out CXAS.


Dataset Overview

  • Images: 880 synthetic X-Ray-like images, generated from CT projections.
  • Views: Both lateral and frontal views are included.
  • Segmentation Labels:
    • Fine-grained: 92 individual anatomical labels.
    • Super-classes: Combined into 166 hierarchical labels.
  • Purpose: Enabling segmentation of anatomical structures in X-Ray imagery for tasks such as:
    • Medical imaging analysis.
    • Transfer learning to real-world X-Ray segmentation.
    • Understanding anatomical structures for report generation.

Usage

Dataset Access

The dataset is not directly hosted here but is used with the provided tools and repositories for loading and applying models.

Loading the Dataset

For dataset loaders and utilities to work with PAXRay and other similar datasets, refer to the 2DAnatomyDatasets repository.

Model Application

For models trained and applied to this dataset, such as those for segmentation tasks, refer to the ChestXRayAnatomySegmentation repository.


Citation

If you use this dataset in your work, please cite:

@inproceedings{Seibold_2022_BMVC,
  author    = {Constantin Marc Seibold and Simon Reiß and M. Saquib Sarfraz and Matthias A. Fink and Victoria Mayer and Jan Sellner and Moon Sung Kim and Klaus H. Maier-Hein and Jens Kleesiek and Rainer Stiefelhagen},
  title     = {Detailed Annotations of Chest X-Rays via CT Projection for Report Understanding},
  booktitle = {33rd British Machine Vision Conference 2022, {BMVC} 2022, London, UK, November 21-24, 2022},
  publisher = {{BMVA} Press},
  year      = {2022},
  url       = {https://bmvc2022.mpi-inf.mpg.de/0058.pdf}
}

Acknowledgments

PAXRay leverages projections from the RibFrac CT dataset and benefits from extensive annotation efforts. This dataset has been designed to advance research in medical imaging, especially for tasks involving segmentation and understanding of chest X-Rays.

For further information or inquiries, please contact Constantin Marc Seibold.

Downloads last month
42