Skip to content

Commit

Permalink
MILESTONE: Complete 5ARIP10 project
Browse files Browse the repository at this point in the history
  • Loading branch information
LucidCodeAI committed Jun 13, 2024
2 parents a44e80b + 970a999 commit c193c05
Show file tree
Hide file tree
Showing 133 changed files with 6,145 additions and 12,518 deletions.
6 changes: 1 addition & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,13 @@ venv.bak/

# Data
/data
/data081
/SAM-Med3D
/models
*.pth
/assets

#WandB
/notebooks/wandb
/src/wandb
/wandb

# Medical files
*.dcm
*.nii
*.nii.gz
395 changes: 395 additions & 0 deletions Demo-notebooks/DRR.ipynb

Large diffs are not rendered by default.

431 changes: 431 additions & 0 deletions Demo-notebooks/Evaluation.ipynb

Large diffs are not rendered by default.

499 changes: 499 additions & 0 deletions Demo-notebooks/Training.ipynb

Large diffs are not rendered by default.

497 changes: 497 additions & 0 deletions Deprecated-notebooks/diffdrr.ipynb

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions notebooks/evaluate.ipynb → Deprecated-notebooks/evaluate.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,31 @@
"new_image = nib.Nifti1Image(seg_numpy, np.eye(4))\n",
"nib.save(new_image, \"target.nii\")"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"torch.Size([1, 512, 512, 133])"
]
},
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"from diffdrr.data import load_example_ct\n",
"\n",
"# Load the example CT data\n",
"subject = load_example_ct()\n",
"\n",
"subject.volume.data.shape"
]
}
],
"metadata": {
Expand Down
806 changes: 806 additions & 0 deletions Deprecated-notebooks/pipeline.ipynb

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion DiffDRR
Submodule DiffDRR deleted from 8d3248
Empty file removed Functions/tace_net_input.py
Empty file.
44 changes: 0 additions & 44 deletions Functions/vessel-registration.py

This file was deleted.

31 changes: 22 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,33 @@
# 5ARIP10 Interdisciplinary team project
# 5ARIP10 Interdisciplinary Team Project Track 3 Group 3

## Introduction
This project, conducted in collaboration between Eindhoven University of Technology (TU/e) and Philips, is focused on .......... for the Image Guided Therapy Challenge on Transarterial Chemoembolization (TACE) procedures. The goal of this project ..........

This project, conducted in collaboration between Eindhoven University of Technology (TU/e) and Philips, is focused on developing an AI solution for the Image Guided Therapy Challenge on Transarterial Chemoembolization (TACE) procedures. The goal of this project is to enhance the efficiency and accuracy of TACE procedures using advanced AI techniques.

## Getting Started

### Prerequisites

List what software and libraries you need to install the software and how to install them.
This project is developed using Python and pip for package management. Ensure you have the following installed on your system:

- Python 3.7 or higher

### Installation

Provide step by step series of examples that tell you how to get a development environment running.
To set up a development environment for this project, follow these steps:

1. Clone the repository to your local machine: `git clone https://github.com/LucianoDeben/5ARIP10-ITP-T3G3.git`
2. Navigate to the project directory.
3. Create a virtual environment: `python -m venv env` or `conda create --name env`.
4. Activate the virtual environment: `source env/bin/activate` (Linux/macOS) or `.\env\Scripts\activate` (Windows) or `conda activate myenv` (Conda).
5. Install the required packages: `pip install -r requirements.txt`

## Usage
### Usage

Explain how to use your project. Provide examples.
After setting up the project, you can run the Streamlit demo application in `src`:

1. `cd src`
2. `streamlit run app.py`

## License

Expand All @@ -30,8 +42,9 @@ We would like to thank the following resources and individuals:
- Gopalakrishnan, Vivek, and Golland, Polina for their work on [fast auto-differentiable digitally reconstructed radiographs](https://link.springer.com/chapter/10.1007/978-3-031-23179-7_1). We utilized their [`DiffDRR`](https://github.com/eigenvivek/DiffDRR?tab=readme-ov-file#user-content-fn-1-aa759ff9097582506ce05933e125ab0a): Auto-differentiable DRR rendering and optimization in PyTorch in our project.

## Authors

This project was developed by:

- Author 1: Crapels, Dhani - [email protected]
- Author 2: Deben, Luciano - [email protected]
- Author 3: Bierenbroodspot, Sven - [email protected]
- Crapels, Dhani - <[email protected]>
- Deben, Luciano - <[email protected]>
- Bierenbroodspot, Sven - <[email protected]>
Binary file added Results/deformed_eval_metric.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Results/deformed_prediction.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added data081/HCC-TACE-Seg/HCC_081/300/seg/00000001.dcm
Binary file not shown.
Empty file removed docs/.gitkeep
Empty file.
Empty file removed models/.gitkeep
Empty file.
Binary file added models/TACEnet_vessel_enhancement_29052024.pth
Binary file not shown.
Binary file not shown.
Binary file not shown.
1,011 changes: 0 additions & 1,011 deletions notebooks/diffdrr.ipynb

This file was deleted.

1,013 changes: 0 additions & 1,013 deletions notebooks/pipeline.ipynb

This file was deleted.

Loading

0 comments on commit c193c05

Please sign in to comment.