Giter VIP home page Giter VIP logo

fast-pathology's Introduction

FastPathology

GitHub Downloads License

CI CI CI

FastPathology is an open-source platform for deep learning-based research and decision support in digital pathology, created by SINTEF Medical Technology and the Norwegian University of Science and Technology (NTNU).

A paper presenting the software and some benchmarks has been published in IEEE Access. The paper is open-access and can be accessed directly from this link.

alt-text

Install

Follow the instructions for your operating system:

Windows (10 or newer)

Ubuntu Linux (18.04 or newer)

  • Download the debian package from the release page.
  • Install the debian package from the terminal or by double-clicking it:
sudo dpkg -i fastpathology_ubuntu*.deb
  • Go the folder /opt/fastpathology/bin and run the fastpathology executable, or run it from the ubuntu menu (windows button->type fastpathology).

macOS (10.13 or newer)

Note that the macOS version of FastPathology is experimental.

  • Install homebrew if you don't already have it. Then, install the following packages using homebrew:
brew install openslide libomp
  • Download the tar.xz package from the release page.
  • Extract the archive to somewhere on your drive
  • Disable the gatekeeper from your terminal:
sudo spctl --master-disable
  • Go to extracted folder and find the bin folder and run the executable fastpathology

Optional: NVIDIA GPU Inference

If you have an NVIDIA GPU on your machine you can enable high-speed inference by downloading and installing the following:

Note: Make sure to download the correct versions. NVIDIA GPU inference is not supported on Mac.

Features

The software is implemented in C++ based on FAST. A wide range of features have been added to the platform and FAST to make working with Whole Slide Images (WSIs) a piece of cake!

  • Graphical User Interface - User-friendly GUI for working with WSIs without any code interaction
  • Deep learning - Deployment and support for multi-input/output Convolutional Neural Networks (CNNs)
  • Visualization - Real-time streaming of predictions on top of the WSI with low memory cost
  • Use cases - Patch-wise classification, low and high-resolution segmentation, and object detection are supported
  • Inference Engines - FAST includes a variety of different inference engines, i.e. TensorFlow CPU/CUDA (support both TF v1 and v2 models), TensorRT (UFF and ONNX), and OpenVINO (CPU/GPU/VPU)
  • Text pipelines - Possibility to create your own pipelines using the built-in script editor
  • Formats - Through OpenSlide FastPathology supports various WSI formats, as well as additional support for the CellSens VSI format through FAST

Demos

Very simple demonstrations of the platforms can be found on Youtube. More in-depth demonstrations will be added in the future. Wikis and tutorials can be found in the wiki. More information can be found from the pages section on the right in the wiki home.

Applications of FastPathology

Development setup

  1. Either
  2. Clone this repository
    git clone https://github.com/SINTEFMedtek/FAST-Pathology.git
  3. Setup build environment using CMake
    Linux (Ubuntu)
    mkdir build
    cd build
    cmake .. -DFAST_DIR=/path/to/FAST/cmake/
    Windows (Visual Studio) Modify generator -G string to match your Visual studio version. This command will create a visual studio solution in your build folder.
    mkdir build
    cd build
    cmake .. -DFAST_DIR=C:\path\to\FAST\cmake\ -G "Visual Studio 16 2019" -A x64
  4. Build
    cmake --build . --config Release --target fastpathology
  5. Run Linux (Ubuntu)
    ./fastpathology
    Windows
    cd Release
    fastpathology.exe

NOTE: Visual Studio 19 have been tested with both FAST and FastPathology and works well.

How to cite

Please, consider citing our paper, if you find the work useful:

  @ARTICLE{9399433,
  author={Pedersen, André and Valla, Marit and Bofin, Anna M. and De Frutos, Javier Pérez and Reinertsen, Ingerid and Smistad, Erik},
  journal={IEEE Access}, 
  title={FastPathology: An Open-Source Platform for Deep Learning-Based Research and Decision Support in Digital Pathology}, 
  year={2021},
  volume={9},
  number={},
  pages={58216-58229},
  doi={10.1109/ACCESS.2021.3072231}}

fast-pathology's People

Contributors

andreped avatar smistad avatar dbouget avatar

Watchers

James Cloos 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.