Code Monkey home page Code Monkey logo

car-t-image-analysis's Introduction

README

Repository Structure

The repository contains general tools (tools folder) for the analysis of imaging studies, as well as scripts and processing results of specific studies (analysis folder).

Frequently used data and selected processing results are stored as part of the repository in the data folder. Those (larger) files are managed using git-lfs.

Various 'global' settings, such as local project paths, are defined in config.py and can be made available throughout the project using import config.

How to use

Get Data from git-lfs

After normal git clone, the data directory may still be empty. In this case, perform

git lfs pull

If git-lfs is not activated on your system, follow installation instructions at (https://git-lfs.github.com).

Install Dependencies

Only Jupyter Notebooks

If you are only interested in the final statistical analyses, without prior image processing, you can use the Jupyter notebooks in the relvant analysis subfolders. These use processing results from the data folder.

The file environment_notebook_analysis.yml defines a minimum CONDA environment for running the Jupyter notebooks included in this project.

Steps for set-up:

  • Go to the root directory of the project project-root
  • The command
    conda env create -f environment_notebook_analysis.yml
    
    will create a CONDA environment with the name 'notebook-analysis'.
  • Activate this environment by
    source activate notebook-analysis
    
  • Start Jupyter notebook
    jupyter notebook
    
    Importing custom project libraries should work from within the ipython notebooks, if jupyter has been started from project-root. Jupyter's working directory can be controlled by:
    jupyter notebook --notebook-dir=<path-to-dir>
    

Image Processing

For image processing more libraries are needed. Major dependencies are:

  • always:
    • pandas
    • matplotlib
    • numpy
  • most image processing:
    • grabbit
    • SimpleITK
    • pydicom
    • dicom2nifti
    • vtk

If running CONDA python on MacOS, you can create a suitable python environment by

conda env create -f environment.yml

For image registration & LVd computation, the following additional dependencies need to be installed and path / environment settings in config.py be updated for the specific local installation:
- ANTs

These dependencies can be installed using the install_dependencies.sh script.

car-t-image-analysis's People

Contributors

drejom avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.