v4.15.0
Changes
- Added the display2D and display3D shortcut functions to both Python and C++ version of FAST for reducing boiler plate code when displaying data (see example below).
- Added support for PyTorch tensors in Image and Tensor in pyFAST with the two functions fast.Image.createFromTensor and fast.Tensor.createFromTensor.
- Fixed bug in DicomMultiFrameStreamer.
- Renamed DicomMultiFrameStreamer to DICOMMultiFrameStreamer, and FAST_MODULE_Dicom to FAST_MODULE_DICOM.
- Upgraded DCMTK on macOS arm64 to 3.6.9.
- Added possibility of specifying another image pyramid structure in ImagePyramid::create than the default downsample by factor 2.
- Removed check that removes any image pyramid levels less than 4 MB when importing with OpenSlide.
- macOS x86_64 builds are now done on macOS 15 since macOS 13 runner on github is being removed.
New display2D and display3D shortcut functions
Instead of this:
renderer1 = fast.ImageRenderer.create().connect(image)
renderer2 = fast.SegmentationRenderer.create(opacity=0.25).connect(segmentation)
fast.SimpleWindow2D.create(bgcolor=fast.Color.Black()).connect([renderer1, renderer2]).run()You can now just do this:
fast.display2D(image, segmentation, segmentationOpacity=0.25, bgcolor=fast.Color.Black())A 3D version display3D also exists. And these functions are also available for C++.
Download and Install
Release binaries and installers can be downloaded below by pressing "assets". Make sure you have the required dependencies installed on your system before using the release: see the installation instructions for Windows, Ubuntu Linux, macOS and Docker containers.