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.16.1-cp36-abi3-win_amd64.whl (76.5 MB view details)

Uploaded CPython 3.6+Windows x86-64

pyfast-4.16.1-cp36-abi3-manylinux1_x86_64.whl (84.4 MB view details)

Uploaded CPython 3.6+

pyfast-4.16.1-cp36-abi3-macosx_11_0_arm64.whl (51.8 MB view details)

Uploaded CPython 3.6+macOS 11.0+ ARM64

pyfast-4.16.1-cp36-abi3-macosx_10_13_x86_64.whl (70.6 MB view details)

Uploaded CPython 3.6+macOS 10.13+ x86-64

File details

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

File metadata

  • Download URL: pyfast-4.16.1-cp36-abi3-win_amd64.whl
  • Upload date:
  • Size: 76.5 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.16.1-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 07ce18d9fe3490ac3485e7e0dfbbe89e43baa770f6ab26d0fc1fab23fc0d2dc6
MD5 0a61bbc8e84d8a8d772d577ee4dd5f06
BLAKE2b-256 a18e49436f791b4f14c43c6d0ab01555a64ffc83a16014fe886ed5e79ff5a874

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyfast-4.16.1-cp36-abi3-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b1e8af2613eb36156c05b509752f304a1db9a2cb2b97d3d209062fe2ef3cb374
MD5 f3e70a3f02e6903e493a667d475fae6b
BLAKE2b-256 467233b04a81b7d8fbccd3b8538d3e39b20a07e04b59933bc2d960591ca81058

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyfast-4.16.1-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5f7797b0dc233149aef384f16bbcd9e8fec55f475882549c6218f7526b840875
MD5 70d3eb8e3b0f8fc79ed2720feebd0456
BLAKE2b-256 44c20d3d7971deb9a1f8c493f3030696cd8f710ae743fbc7302972d3fb7f81b9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyfast-4.16.1-cp36-abi3-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 70.6 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.16.1-cp36-abi3-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 78bb14bc5a5067a3afd3902e367b21d165e26e4d26728e3006d7e7c3bf6e3137
MD5 1db3bc73c7938fe133b08301da4dfbc8
BLAKE2b-256 4a7be542b9d382b171970b32db00eac0b7d80da2f83127f443adb21653f3421f

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