Data loaders READMEΒΆ
Supported DataSetsΒΆ
2DeteCTΒΆ
A dataset of uCT scans with different settings for sinograms. The data is made of composition of different materials. Read more in the Nature paper.
To install 2DeteCT, run python ./LION/data_loaders/2DeteCT/dowload.py and once finished (probably a few hours later) run python ./LION/data_loaders/2DeteCT/pre_processs_2deteCT.py. Once finished, you should have LION_DATA_PATH/processed/2detect folder in your system. You can now delete LION_DATA_PATH/raw/2detect to save space if you want.
LIDC-IDRIΒΆ
A dataset of 1100 lung 3D CT scans with segmentations and diagnostics of lung nodules. These are available from the TCIA website here. However, a convenient download functionality is provided at LION/LION/data_loaders/LIDC_IDRI/download_LIDC_IDRI.sh. Running this should download the full dataset to your LION_DATA_PATH/raw/LIDC-IDRI, and will attempt to use Java, Apptainer, Singularity then Docker to run the NBIA downloader tool.
This should give a folder structure as:
LION_DATA_PATH/raw/LIDC-IDRI/
βββ LIDC-IDRI
βββ metadata.csv
βββ tcia-diagnosis-data-2012-04-20.xls
Then, to process the dataset, create a new conda enviroment with conda env create -f ./LION/data_loaders/LIDC_IDRI/pre_process_lidc_idri_environment.yml, activate it as conda activate lidc_idri and run the python file python ./LION/data_loaders/LIDC_IDRI/pre_process_lidc_idri.py.
You can now delete LION_DATA_PATH/raw/LIDC-IDRI to save space if you want. Note that the download size is around 133GB, so both download and processing can take hours.
More details on the downloader tool are available here
WalnutsΒΆ
A dataset of uCT scans of walnuts. Read more in the Nature paper.
You can dowload it using python LION/data_loaders/walnuts/dowload_walnuts.py
pre-processing and Data Loading WIP