- Introduction
- Overview and evaluation method using Target Registration Error (TRE).
- Objectives
- Development, automation, and validation of the lung image registration process.
- Folders
- Descriptions of various folders like Noteebooks, Data, Parameters, etc.
- Installation and Usage
- Software requirements, installation guide, and usage instructions.
- Results
- Summary of project achievements and TRE results visualization.
- Authors
- Contributions and profiles of the project team.
- Achievements
- Awards and recognitions in relevant challenges.
- License
- Licensing information of the project.
This project aims to address the challenge of registering lung CT images between exhalation and inhalation phases. By aligning these images, the project seeks to facilitate detailed observation of lung tissue movement and changes. The effectiveness of image registration is evaluated using the Target Registration Error (TRE).
- Develop an algorithm for registering CT lung images between exhalation and inhalation phases.
- Automate the registration and TRE estimation process from 3D lung volumes.
- Validate the registration results through rigorous analysis.
- Noteebooks: Notebooks of the implementation of a registration.
- Data: raw data and landmarks information.
- Parameters: parameters files used on the registration with elastik.
- Experiments: Numeral results of our testing in json files
- Result Data: The data result from the preprocess and load data.
- Utils: Functions develop to solve this project.
elastic_helpers.py
: Facilitates the use of Elastix for image registration, simplifying complex processes.metrics.py
: Provides functions for calculating TRE and other metrics, essential for assessing registration accuracy.dataset.py
: Handles the loading, preprocessing, and management of MRI data.
01_dataset.ipynb
: Demonstrates how to load and preprocess the dataset.02_elastix.ipynb
: Details the implementation of the Elastix registration.03_ans.ipynb
: Implementation of Advance Normalization Tool.04_analyze_results.ipynb
: For analyzing and visualizing the results of the registration.05_challenge_tets.ipynb
: Implementation of the test data inference
- Python along with additional dependencies listed in a
requirements.txt
file.
To avoid conflicts with other Python projects, it's recommended to create a virtual environment:
- Install
virtualenv
if you haven't already:pip install virtualenv
- Create a new virtual environment:
virtualenv venv
(orpython -m venv venv
if using Python's built-in venv) - Activate the virtual environment:
- On Windows:
venv\Scripts\activate
- On macOS and Linux:
source venv/bin/activate
- On Windows:
- Your command prompt should now show the name of the activated environment.
- With the virtual environment activated, install the necessary Python packages:
pip install -r requirements.txt
- Follow the Jupyter notebooks in sequence to understand the data handling, registration process, and result analysis. Ensure the virtual environment is activated when running the notebooks.
The project successfully achieved automated registration of lung MRI images, with accuracy validated by TRE calculations. Detailed results are presented in the Jupyter notebooks.
- 3rd place on the Non rigid 3D Lung CT registration challenge with a average error of 1,3385
[mm]
on the 3 test cases.- 1st place of the elastik algorithm
This project is licensed under the Creative Common Lincense - see the LICENSE.md file for details.