Home

Awesome

<div align="center"> <img src="data/Icons/fastpathology_logo.png" width="128"> <h1 align="center">FastPathology</h1> <h3 align="center">Open-source software for deep learning-based digital pathology</h3>

License CI CI CI

FastPathology was created by researchers at SINTEF and the Norwegian University of Science and Technology (NTNU). A paper presenting the software and some benchmarks has been published in IEEE Access.

<img src="data/Videos/fp_demo_v1.gif" style="background-color:black"> </div>

💻 Getting started

To install FastPathology, follow the instructions for your operating system:

<details open> <summary>

Windows (10 or newer)</summary>

</details> <details> <summary>

Ubuntu Linux (18.04 or newer)</summary>

sudo dpkg -i fastpathology_ubuntu*.deb
sudo apt remove fastpathology
# Optionally, you can also delete your fastpathology folder 
# which includes stored project results, pipelines and models.
# and the FAST folder which stores cache files.
rm -Rf $HOME/fastpathology
rm -Rf $HOME/FAST
</details> <details> <summary>

macOS (10.13 or newer)</summary>

Note that the macOS version of FastPathology is experimental.

brew install openslide libomp

Note: This is only required to be done once. For all future usage, launch FastPathology as a regular App bundle.

</details> <details> <summary>

Optional: NVIDIA GPU Inference</summary>

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.

</details>

License

The source code of FastPathology is licensed under the BSD 2-clause license, however the FastPathology program use and are linked with many great third-party libraries which have several different open source licenses, see the licenses folder in the installation folder for more details.

📹 Demos and tutorials

Very simple demonstrations of the platform 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.

Watch the video

🎊 Features

The software is implemented in C++ based using FAST. A wide range of features have been added to make working with whole slide images (WSIs) a piece of cake!

🔬 Applications of FastPathology

<details> <summary>

🔨 Development setup</summary>

  1. Either
  2. Clone this repository
    git clone https://github.com/AICAN-Research/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 has been tested with both FAST and FastPathology and works well.

</details>

✨ How to cite

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

<pre> @article{pedersen2021fastpathology, 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} } </pre>