RACLAHE (Region-Adaptive Contrast Limited Adaptive Histogram Equalization) is an image enhancement method specifically designed for improving CNN-based segmentation of the prostate and prostatic zones in T2-Weighted MR images.
This repository supports the original publication in Nature’s Scientific Reports: “Region-Adaptive Magnetic Resonance Image Enhancement for improving CNN-based segmentation of the prostate and prostatic zones” doi:10.1038/s41598-023-27671-8
📖 See QUICKSTART.md for detailed step-by-step instructions
# 1. Prepare your data
mkdir -p input output shared
cp -r /path/to/your/patients/* input/
# 2. Run processing
docker-compose up --build
# 3. Get results from output/RACLAHE OUTPUT/
.dcm) or NIfTI (.nii, .nii.gz) formatOrganize your data with one folder per patient:
input/
├── patient001/
│ ├── slice001.dcm
│ ├── slice002.dcm
│ └── ...
└── patient002/
├── slice001.dcm
└── ...
input/
├── patient001/
│ └── scan.nii.gz
└── patient002/
└── scan.nii.gz
Enhanced images are saved in the same format as input:
output/RACLAHE OUTPUT/
├── patient001/
│ ├── image_1.dcm (if DICOM input)
│ ├── image_2.dcm
│ └── ...
└── patient002/
└── patient002.nii.gz (if NIfTI input)
docker-compose up --build
# Build
docker build -t raclage:3.0 .
# Run
docker run \
-v $(pwd)/input:/home/ds/datasets:ro \
-v $(pwd)/output:/home/ds/persistent-home \
raclage:3.0
docker run \
-e INPUT_DIR=/custom/input \
-e OUTPUT_DIR=/custom/output \
-v /your/input:/custom/input:ro \
-v /your/output:/custom/output \
raclage:3.0
This image is fully EUCAIM-compliant:
ds (uid 1000, gid 1000)/home/ds/datasets - Input datasets (read-only)/home/ds/persistent-home - Output storage/home/ds/persistent-shared-folder - Shared storageRACLAHE enhances medical images by:
This targeted approach improves CNN segmentation performance by 3-9% (Dice score) across different prostatic regions.
If you use RACLAHE in your research, please cite:
@article{zaridis2023region,
title={Region-adaptive magnetic resonance image enhancement for improving CNN-based segmentation of the prostate and prostatic zones},
author={Zaridis, Dimitrios I and Mylona, Eugenia and Tachos, Nikolaos and Pezoulas, Vasileios C and Grigoriadis, Grigorios and Tsiknakis, Nikos and Marias, Kostas and Tsiknakis, Manolis and Fotiadis, Dimitrios I},
journal={Scientific Reports},
volume={13},
number={1},
pages={714},
year={2023},
publisher={Nature Publishing Group UK London}
}
For questions or issues:
This work is supported by the ProCancer-I project, funded by the European Union’s Horizon 2020 research and innovation program under grant agreement No 952159.