This project converts DICOM files to NIfTI format and provides visualization capabilities using AWS services.
pip install -r requirements.txtpython data_generator.pyGenerated data will be in: data/raw_dicoms
python main.pyConverted data will be in: data/bids_output
pip install boto3 streamlit-
Get your AWS credentials
- Log into AWS Console
- Click your name in top right
- Click "Security credentials"
- Create new access key
- Save both the Access Key ID and Secret Access Key
-
Set up credentials on your computer
# Option 1: Set environment variables
export AWS_ACCESS_KEY_ID='your-key-here'
export AWS_SECRET_ACCESS_KEY='your-secret-here'
# Option 2: Create AWS credentials file
mkdir ~/.aws
touch ~/.aws/credentialsThen add to credentials file:
[default]
aws_access_key_id = your-key-here
aws_secret_access_key = your-secret-here
streamlit run visualization_app.pyThen open your browser to: http://localhost:8501
Step 1: DICOM Processing
Your DICOM Files → Convert to NIfTI → Save Locally
Step 2: AWS Storage
Local Files → Upload to AWS → Safe Storage in the Cloud
Step 3: Visualization
Cloud Data → Process → Show Pretty Charts
DICOM Files
↓
Data Generator
↓
Converter
↓
AWS Upload
↓
Visualization