The napari hub is transitioning to a community-run implementation due to launch in June 2025.
Since October 1, 2024, this version is no longer actively maintained and will not be updated. New plugins and plugin updates will continue to be listed.

Feature Forest

featureforest

A napari plugin for segmentation using vision transformer features

    Workflow step:
    Image annotation
    Image segmentation

    License BSD-3 PyPI Python Version tests codecov napari hub

    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

    To install this plugin you need to use conda or mamba to create an environment and install the requirements. Use commands below to create the environment and install the plugin:

    git clone https://github.com/juglab/featureforest
    cd ./featureforest
    # for GPU
    conda env create -f ./env_gpu.yml
    # if you don't have a GPU
    conda env create -f ./env_cpu.yml

    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.

    Version:

    • 0.0.7

    Last updated:

    • 14 January 2025

    First released:

    • 10 October 2024

    License:

    Supported data:

    • Information not submitted

    Plugin type:

    GitHub activity:

    • Stars: 13
    • Forks: 0
    • Issues + PRs: 2

    Python versions supported:

    Operating system:

    • Information not submitted

    Requirements:

    • h5py
    • iopath>=0.1.10
    • magicgui
    • matplotlib
    • napari
    • numpy==1.24.4
    • opencv-python
    • pooch
    • pynrrd
    • pyqt5
    • qtpy
    • scikit-image
    • scikit-learn
    • segment-anything-py
    • timm==1.0.9
    • torch==2.3.1
    • torchvision==0.18.1