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

Uploaded CPython 3.6+Windows x86-64

pyfast-4.17.1-cp36-abi3-manylinux1_x86_64.whl (85.3 MB view details)

Uploaded CPython 3.6+

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

Uploaded CPython 3.6+macOS 11.0+ ARM64

pyfast-4.17.1-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.1-cp36-abi3-win_amd64.whl.

File metadata

  • Download URL: pyfast-4.17.1-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.1-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 490159f7276b45ea75dfa8f22edeacf72094eb2269b2d4a0b8dc1e9865a2abdd
MD5 2fafe860c547b10ffd7d6bbc8d3e57c0
BLAKE2b-256 6029252e8bff08d9725e9b3c97499a0b5944a9c123535b3351c4568b2838eb4b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyfast-4.17.1-cp36-abi3-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b0d1db8bae7be62939d50b853daac9e7df9bb95288e31e64aa60134f2669f5ae
MD5 fc1ea67e3dc5a8e7cceaed4da132b736
BLAKE2b-256 8080849d17575a9f64045dbf86d32d94fdc73ab3a07a681efbff72c584752d0b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyfast-4.17.1-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 423c6f8acab447c7758691f46cdee89f1dc29c645d7de9e4ccfd41f8b97757c2
MD5 1b0a526c5b75a8adc0dc6f7a85088941
BLAKE2b-256 5ef5f59700cc621640e7d122d6947ba1b09a925b7860ca18f57682d5515939d6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyfast-4.17.1-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.1-cp36-abi3-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 a2f5cf94deb0d530065d7b2ac871731b4e423f5cde506a384b9ed8bec61c3f02
MD5 4d85ff0e7a4a71e4f0d01a8d062d4367
BLAKE2b-256 4965e80ef98519a353f1da491bf9c7b42d0523fe2c6645197c7df5a9a4e3a522

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