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 Join the chat on Gitter Pip Downloads

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 and macOS.

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.eriksmistad.no.

Need help? Post your questions on the Discussions page or use the Gitter Chat.

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:

Surface mesh extracted from a large abdominal CT scan. Alpha blending ray casting rendering of a thorax CT image.

Ultrasound image segmentation using neural netwoks. Whole slide microscopy image.

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

pyFAST-4.9.2-cp36-abi3-win_amd64.whl (263.0 MB view details)

Uploaded CPython 3.6+ Windows x86-64

pyFAST-4.9.2-cp36-abi3-manylinux1_x86_64.whl (386.3 MB view details)

Uploaded CPython 3.6+

pyFAST-4.9.2-cp36-abi3-macosx_11_0_arm64.whl (35.5 MB view details)

Uploaded CPython 3.6+ macOS 11.0+ ARM64

pyFAST-4.9.2-cp36-abi3-macosx_10_13_x86_64.whl (161.2 MB view details)

Uploaded CPython 3.6+ macOS 10.13+ x86-64

File details

Details for the file pyFAST-4.9.2-cp36-abi3-win_amd64.whl.

File metadata

  • Download URL: pyFAST-4.9.2-cp36-abi3-win_amd64.whl
  • Upload date:
  • Size: 263.0 MB
  • Tags: CPython 3.6+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.9

File hashes

Hashes for pyFAST-4.9.2-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c31a1fc1ef301b5b4ca6dbce8bb5766deb19784a4dae74c9195ce60a85deae7b
MD5 837d428937e07792b1d44cd0e8d773cf
BLAKE2b-256 97d7a16efba2b0a9184cbaf780ba8e5c5275e75e61da23b9b7707ec1c3d51f94

See more details on using hashes here.

File details

Details for the file pyFAST-4.9.2-cp36-abi3-manylinux1_x86_64.whl.

File metadata

  • Download URL: pyFAST-4.9.2-cp36-abi3-manylinux1_x86_64.whl
  • Upload date:
  • Size: 386.3 MB
  • Tags: CPython 3.6+
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.31.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for pyFAST-4.9.2-cp36-abi3-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 727e77e49b566161da0339b7a3988168ae3ff2fb34050d2c219108b6c6e9ce19
MD5 2d221927a4e59ff454bed8bd91036b1c
BLAKE2b-256 345dc7aee14bfb7eb0d78b5adcbbc1652b525286bc0470f683792180ebdece35

See more details on using hashes here.

File details

Details for the file pyFAST-4.9.2-cp36-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyFAST-4.9.2-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 63b65a1b9e9d8b140e924888d7b86639d5a94d61408cbd8bf9ab9dd6eb377392
MD5 5e54706e3df0f2c310e0617a245e7e6c
BLAKE2b-256 5ccfb6308bf0025557adf9980b08dbc27b27dcd355def4b9faa5183df8f30156

See more details on using hashes here.

File details

Details for the file pyFAST-4.9.2-cp36-abi3-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: pyFAST-4.9.2-cp36-abi3-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 161.2 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.18 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.9.2-cp36-abi3-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 a6fcc721e9e09db674abd06f6481ad06a9186eb4c519beebb3505653465986a7
MD5 5fb08886c0801bd7b3757379657a9c3d
BLAKE2b-256 7ae183d346545d70dce60c860e0d87d963322e95ff6bc01d00b3a94f37d7b1c0

See more details on using hashes here.

Supported by

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