Skip to main content

The Integrated Retinal Fundus Set (IRFundusSet) systematically integrates 46,064 RFPs from ten distinct public sources into a unified structure, implementing essential methodological steps to enable collation of archives, standardization of image pixel data, and seamless integration into a modelling pipeline.

Project description

IRFundusSet

Ocular conditions are a global concern and computational tools utilizing retinal fundus color photographs can aid in routine screening and management. Obtaining comprehensive and sufficiently sized datasets, however, is non-trivial for the intricate retinal fundus, which exhibits heterogeneities within pathologies, in addition to variations from demographics and acquisition. Moreover, retinal fundus datasets in the public space suffer fragmentation in the organization of data and definition of a healthy observation. We present Integrated Retinal Fundus Set (IRFundusSet), a dataset that consolidates, harmonizes and curates several public datasets, facilitating their consumption as a unified whole and with a consistent is_normal label. IRFundusSet comprises a Python package that automates harmonization and avails a dataset object in line with the PyTorch approach. Moreover, images are physically reviewed and a new is_normal label is annotated for a consistent definition of a healthy observation. Ten public datasets are initially considered with a total of 46064 images, of which 25406 are curated for a new is_normal label and 3515 are deemed healthy across the sources.

Curated catalogue on Zenodo

The curated catalogue is available on Zenodo here

Usage

Installation

pip install irfundusset

Data Sources

Identified datasets are in the public space and, therefore, we leave it to the researcher to access and directly download the datasets.

For testing purposes, you can download CHASEDB, which is currently the smallest source in the collection (about 73 Mb).

Generate integrated dataset

Once downloaded, obtain the template configuration file template_set_cohorts.ini and indicate where the datasets are located.

Then initialize your IRFundusSet data object as shown below to generated the consolidated dataset and save it to your desired location.

## Creating IRFundusSet Dataset object 
## Generates the unified dataset if it does not already exist
irf_dataset = IRFundusSet(out_dir="../output_irfundus_set",
                        ## Set output image sizes and harmonization method
                        out_img_w_size=256,
                        harmonize_method=None,
                        clahe_b4_harmonize=False,
                        ## Set which of the 10 public sources to unify 
                        in_cohorts_config="../cohorts.ini", 
                        generate_only=False,
                        force_regenerate=False, 
                        ## Setting which column to use for target label 
                        target_col=None,     
                        ## Provide transforms for X image features or y-target labels   
                        xtransform=None, 
                        ytransform=None,)

User guide (Jupyter Notebook) An introductory user guide in the form of Jupyter Notebook is available at the root of this repository. The file name is irfundusset_user_guide.ipynb

License

MIT License

Citing

@misc{githinji2024irfundussetintegratedretinalfundus,
      title={IRFundusSet: An Integrated Retinal Fundus Dataset with a Harmonized Healthy Label}, 
      author={P. Bilha Githinji and Keming Zhao and Jiantao Wang and Peiwu Qin},
      year={2024},
      eprint={2402.11488},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2402.11488}, 
}

Citing only the catalogue

Githinji, P. B., Zhao, K., Wang, J., & Qin, P. (2024). Curated catalogue for IRFundusSet (Integrated Retinal Fundus Set) [Data set]. Zenodo. https://doi.org/10.5281/zenodo.10819965

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

irfundusset-1.0.0.tar.gz (2.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

irfundusset-1.0.0-py3-none-any.whl (2.1 MB view details)

Uploaded Python 3

File details

Details for the file irfundusset-1.0.0.tar.gz.

File metadata

  • Download URL: irfundusset-1.0.0.tar.gz
  • Upload date:
  • Size: 2.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for irfundusset-1.0.0.tar.gz
Algorithm Hash digest
SHA256 83c0f4a62e0344e6d96f855eb11892561ed73b107d83cb101f04c638319741aa
MD5 d3cea16b451a4681153c056b1914e00a
BLAKE2b-256 567e4692f2b92847a50061a1b6e9f6ab5f91b95b362b7b803f48298c1de2d8c7

See more details on using hashes here.

File details

Details for the file irfundusset-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: irfundusset-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for irfundusset-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7ba3b5727923021bee6c2c7e52b44de9b02ccac079bbfb7ddb651cff2dcf3a2f
MD5 6fe6e24ad932c7454f787eb51ef55ac6
BLAKE2b-256 56a73aa47126523e7b2fbc24a2efa6ccc3bbb5363e2b6a3ce2ddbd3636712747

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page