Giter Club home page Giter Club logo

medical-images's Introduction

Medical Images

Repository for project involving DL with High Resolution Microscopy Images (Whole-Slide Images).

Background

Tomita et.al 2018 explain clearly the challenge: "In the field of pathology, tissue slides are scanned as high resolution images, which can have sizes up to 10,000 ร— 10,000 pixels. This high resolution is necessary because each whole slide contains thousands of cells, for which the cellular structures must be visible in order to identify regions of the tissue that indicate disease (lesions). However, the size of lesions is often relatively small, typically around 100 ร— 100 pixels, as most of the cells in a given slide are normal. Therefore, the decisive regions of interest containing lesions usually comprise much less than one percent of the tissue area."

Useful tips:

  • For preprocessing, we removed white background on the slides and extracted only regions of the images that contain tissue. (Tomita et.al 2018). See example here

Installation

Setup your python environment. For linux/mac:

make venv

Or perform the equivalent commands:

git clone https://github.com/diogoaurelio/medical-images.git .
cd medical-images
virtualenv -p python3 venv
source venv/bin/activate
pip3 install -e .

To use the OpenSlide Python interface to view whole slide images, we are using a script provided in openslide-python repo to use the DeepZoom deepzoom_multiserver.py script.

git clone https://github.com/openslide/openslide-python.git

Since we already have copied this script:

# install dependencies
sudo apt-get install openslide-tools
sudo apt-get install python-openslide

make py_update
source venv/bin/activate
python openslide/deepzoom_multiserver.py -Q 100 ./data/

This approach was taken from IBM blog post Whole-slide image processing in python.

Reference sources

Here is a collection of materials (blog articles, papers, code repositories, forum threads, etc.) that I found helpful while working on this project:

medical-images's People

Contributors

diogoaurelio avatar

Watchers

 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.