Feature Forest
A napari plugin for making image annotation using feature space of vision transformers and random forest classifier.
We developed a napari plugin to train a Random Forest model using extracted features of vision foundation models and just a few scribble labels provided by the user as input. This approach can do the segmentation of desired objects almost as well as manual segmentations but in a much shorter time with less manual effort.
Documentation
You can check the documentation here (⚠️ work in progress!).
Installation
We provided install.sh for Linux & Mac OS users, and install.bat for Windows users.
First you need to clone the repo:
git clone https://github.com/juglab/featureforest
cd ./featureforest
Now run the installation script:
# Linux or Mac OS
sh ./install.sh
# Windows
./install.bat
For developers that want to contribute to FeatureForest, you need to use this command to install the dev dependencies:
pip install -U "featureforest[dev]"
And make sure you have pre-commit installed in your environment, before committing changes:
pre-commit install
For more detailed installation guide, check out here.
Cite us
Seifi, Mehdi, Damian Dalle Nogare, Juan Battagliotti, Vera Galinova, Ananya Kediga Rao, AI4Life Horizon Europe Programme Consortium, Johan Decelle, Florian Jug, and Joran Deschamps. "FeatureForest: the power of foundation models, the usability of random forests." bioRxiv (2024): 2024-12. DOI: 10.1101/2024.12.12.628025
License
Distributed under the terms of the BSD-3 license, "featureforest" is free and open source software.
Issues
If you encounter any problems, please file an issue along with a detailed description.
Metadata
Release files for featureforest 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| featureforest-0.1.2.tar.gz | 12.1 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| featureforest-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.5 MB
Release files / featureforest-0.1.2.tar.gz
| Download URL | featureforest-0.1.2.tar.gz |
|---|---|
| Size | 12.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0d2540f63317bea4a39e8e7d4bcae59e65eb3d929be2487e7b06d2419a877cf8
|
|
BLAKE2b-256 checksum How to use checksums |
bccdf9490ee0768059eacffe661ffcee9feb5cfba9d4942dd7671e14f13c318b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 28, 2025.
Transparency logRelease files / featureforest-0.1.2-py3-none-any.whl
| Download URL | featureforest-0.1.2-py3-none-any.whl |
|---|---|
| Size | 10.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6a13d3f3c1cda3eabef2aba07123c492005a3f4bb7d469c4632a24ce56bd8fa6
|
|
BLAKE2b-256 checksum How to use checksums |
391d385813bb5bcc22642c2e4a82cf365c503302ed413db2e467267c031ea6ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 28, 2025.
Transparency log