Skip to main content

Python bindings of FAST - a framework for high performance medical image computing and visualization on heterogeneous systems utilizing multi-core CPUs and GPUs.

Project description

GitHub Discussions Pip Downloads GitHub Downloads Documentation

FAST is an open-source framework developed by researchers at the Norwegian University of Science and Technology (NTNU) and SINTEF. The main goal of FAST is to make it easier to do high-performance processing, neural network inference, and visualization of medical images utilizing multi-core CPUs and GPUs. To achieve this, FAST use modern C++, OpenCL and OpenGL, and neural network inference libraries such as TensorRT, OpenVINO, TensorFlow and ONNX Runtime.

Get started

See installation instructions for Windows, Ubuntu Linux, macOS and Docker containers.

To start using the framework, check out the C++ tutorials or the Python tutorials.

Learn best by example? Check out all the examples for C++ and Python.

For more examples and documentation, go to fast-imaging.github.io.

Need help? Post your questions on the Discussions page.

Main features

  • Data streaming – Processing pipelines in FAST can handle both static and dynamic/temporal data without any change to the code. FAST can stream data from movie files, your webcamera, an Intel RealSense camera, a sequence of images and even directly from ultrasound scanners such as Clarius.
  • Deep learning – FAST provides a common interface for neural networks supporting different model formats (ONNX, protobuf, SavedModel, OpenVINO, UFF) and backends (Google TensorFlow, NVIDIA TensorRT, Intel OpenVINO, Microsoft ONNX Runtime), making it possible to create real-time neural network pipelines.
  • High-level data management – Data objects in FAST represent data, such as an image, on all processors. FAST keeps data coherent across the different storage areas thereby removing the burden of explicit memory handling from the developer.
  • Wide data format support - FAST supports several data formats (DICOM, metaimage (MHD), NIFTI, regular jpg/png/bmp images, videos, HDF5, VTK polydata, whole slide images, ultrasound file format) and data types (images 2D and 3D, grayscale and color, image pyramids, surface mesh, vertices, lines, text ++).
  • High performance algorithms – FAST has several high performance parallel OpenCL implementations of common algorithms, such as marching cubes surface extraction, Gaussian smoothing, non-local means, block matching tracking and seeded region growing.
  • Fast concurrent visualization – Rendering and computation are done in separate threads to ensure smooth responsive visualizations. Several types of visualizations are supported both 3D (mesh, point, line, image slice and volume rendering) and 2D (2D image, image slice and segmentation/label rendering, whole slide image (WSI) pyramids).
  • Interoperability – FAST can be used with Python and can also be easily integrated into existing Qt applications.

License

The source code of FAST is licensed under the BSD 2-clause license, however the FAST binaries use and are linked with many third-party libraries which has a number of different open source licences (MIT, Apache 2.0, LGPL ++), see the licences folder in the release for more details.

Research

FAST has been described in the following research articles. If you use this framework for research please cite them:

FAST: framework for heterogeneous medical image computing and visualization Erik Smistad, Mohammadmehdi Bozorgi, Frank Lindseth International Journal of Computer Assisted Radiology and Surgery 2015

High Performance Neural Network Inference, Streaming, and Visualization of Medical Images Using FAST Erik Smistad, Andreas Østvik, André Pedersen IEEE Access 2019

Build

To setup and build the framework, see the instructions for your operating system:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyfast-4.17.0-cp36-abi3-win_amd64.whl (76.6 MB view details)

Uploaded CPython 3.6+Windows x86-64

pyfast-4.17.0-cp36-abi3-manylinux1_x86_64.whl (84.5 MB view details)

Uploaded CPython 3.6+

pyfast-4.17.0-cp36-abi3-macosx_11_0_arm64.whl (51.9 MB view details)

Uploaded CPython 3.6+macOS 11.0+ ARM64

pyfast-4.17.0-cp36-abi3-macosx_10_13_x86_64.whl (70.7 MB view details)

Uploaded CPython 3.6+macOS 10.13+ x86-64

File details

Details for the file pyfast-4.17.0-cp36-abi3-win_amd64.whl.

File metadata

  • Download URL: pyfast-4.17.0-cp36-abi3-win_amd64.whl
  • Upload date:
  • Size: 76.6 MB
  • Tags: CPython 3.6+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.13

File hashes

Hashes for pyfast-4.17.0-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 05f521d464bcba6526512a81e63388ac37753723867fbe73a29301ccc4c4bd83
MD5 5417139f63f629b64d0dee686ca0a192
BLAKE2b-256 1dc5c4b1bf44b21261dc708ace2de86fd1b434bc8c868e274b13f6d7a734c7f2

See more details on using hashes here.

File details

Details for the file pyfast-4.17.0-cp36-abi3-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pyfast-4.17.0-cp36-abi3-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e0afe2db0244dafeccdd6e7e7f0d434a6a86188fd0c7d1f90da222ded6efaacd
MD5 0ef49f92fd2a26443977db447bc5486d
BLAKE2b-256 4c15b09e652db6700cfffd24b65a9eb3299b8aa32baf78b6298f2377b68c8a50

See more details on using hashes here.

File details

Details for the file pyfast-4.17.0-cp36-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyfast-4.17.0-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b82f3af71803c50a4740ee1d727f189cbfefdd54d53670bc55ea1214461163e0
MD5 e14ad6d767b336c6d9635477b1107e1c
BLAKE2b-256 783bf2c9eb4786fc69f21de47fac3cf8718111e01c0324f89738581b9ca38ccc

See more details on using hashes here.

File details

Details for the file pyfast-4.17.0-cp36-abi3-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: pyfast-4.17.0-cp36-abi3-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 70.7 MB
  • Tags: CPython 3.6+, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.10.0 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.20 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.9

File hashes

Hashes for pyfast-4.17.0-cp36-abi3-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 b0623dc21c5fea81eca0f482c5427cabbb0e4482f4bd2cc74be0ac2cd80998c5
MD5 e1807297cab5e64b24290808b761ab23
BLAKE2b-256 c5a75427788f05a273e4473b147d669aad33d68191f346ae8161509f0c4a926c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page