Highlights
We are very excited to announce the release of **Slideflow 3.0**, a pivotal update that not only introduces powerful new features and models but also marks a significant shift in our licensing structure to better support the needs of our community. This release includes **three new foundation models, expanded MIL capabilities, faster tissue segmentation, and an improved toolset for Slideflow Studio**. Slideflow 3.0 also introduces **plugin support** for seamless integration of custom tools and models, along with a number of other new features and optimizations.
Table of Contents
1. **Open-Source License**
2. **Slideflow Studio Updates**
- New ROI Annotation Tools
- Tissue Segmentation
- Improved MIL Support
3. **New Foundation Models**
- Virchow
- UNI
- GigaPath
4. **MIL Updates**
- Continuous Outcomes
- BYOM (Bring Your Own Model)
- Improved API
5. **Plugin Support**
6. **Other New Features**
7. **Dependencies**
Open-Source License
![apache-header](https://github.com/user-attachments/assets/48fd3f7b-3c15-48e3-aad6-ffc0aada6cba)
With the release of Slideflow 3.0, **we've made significant changes to our licensing structure** to better support open-source collaboration and accommodate a broader range of users, from academic researchers to industry professionals. These changes reflect our ongoing commitment to supporting open science while respecting the legal considerations of the third-party tools we integrate.
Core Package: Apache-2.0 License
The core Slideflow package is now licensed under the **Apache-2.0** license. This permissive license allows users to freely use, modify, and distribute Slideflow, whether in commercial or non-commercial settings.
>[!NOTE]
> While the Apache-2.0 license allows for commercial use, it’s important to remember that Slideflow remains a research-focused tool, developed by a small academic team. We encourage users, especially those considering commercial applications, to thoroughly test and validate the software within their specific environments.
Extensions: Tailored Licensing
To respect the original licenses of various third-party tools integrated into Slideflow, we've created separate extensions with tailored licenses:
- **[Slideflow-NonCommercial](https://github.com/slideflow/slideflow-noncommercial)**: Licensed under **Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)**. This package includes advanced tools and models available for non-commercial use only, such as StyleGAN3, BISCUIT, and the newly introduced UNI and GigaPath models.
- **[Slideflow-GPL](https://github.com/slideflow/slideflow-gpl)**: Licensed under **GPL-3.0**. This package includes tools that are distributed under the GPL-3.0 license, such as RetCCL, CTransPath, and CLAM models. Users are free to use, modify, and distribute these tools under the same GPL-3.0 license, which requires that derivative works also be open-sourced under the same license. Please note that the authors of these tools have requested that use be restricted to academic, non-commercial purposes.
While all of these tools are accessible for academic, non-commercial use, please be aware that respecting these licenses is important when using Slideflow in a commercial environment to avoid potential legal issues.
How to Install
Installing Slideflow and its extensions is straightforward:
- **Core Slideflow**: `pip install slideflow`
- **Non-Commercial Tools**: `pip install slideflow-noncommercial`
- **GPL-3 Licensed Tools**: `pip install slideflow-gpl`
Slideflow Studio Updates
Version 3.0 brings improved functionality to Slideflow Studio, with more advanced ROI annotation tools, a new tissue segmentation widget, and other performance and quality of life enhancements designed to save you time and effort.
New ROI Tools
Studio now includes two tools for annotating ROIs: a lasso tool and polygon tool. The new polygon tool enables users to more precisely outline tricky features and comes with a new ability to manually edit ROIs that have been created. Although Slideflow Studio does not yet contain a full arsenal of ROI tools you might find in other software, these new additions will make it easier to make minor adjustments directly within Slideflow, decreasing the need to edit ROIs in other software.
https://github.com/user-attachments/assets/edf7c377-af40-4f8e-a4cb-f84024988e91
ROIs are now displayed as filled by default, making it easier to both see and interact with slide annotations.
Tissue Segmentation Widget
Tissue segmentation models can now be trained within Slideflow Studio, using ROI annotations also created in Studio. This exciting new functionality means that you can execute a full segmentation experiment - from training to deployment - directly within the UI. For example, you can now annotate tissues with labeled ROIs, train segmentation models, and deploy these models to new slides, all within the same user interface.
https://github.com/user-attachments/assets/6f0da6be-da47-443e-b08e-1bab978fb345
Improved MIL Support
MIL model compatibility for Slideflow Studio has been further expanded. All MIL model architectures, including both classification and regression MIL models, as well as multi-attention and multi-magnification MIL models, can be used for live predictions in Studio.
[CLAM_MB.webm](https://github.com/user-attachments/assets/7f4eabbc-6a9c-4239-bc38-896f23c1dcf1)
Other Studio Updates
The project pane now contains a tool for filtering a slide list:
https://github.com/user-attachments/assets/e55339a9-69ce-4fa6-a3de-66a4a5244704
New Foundation Models