AI-based foreground extraction in scientific and natural images.
Project description
napari-rembg
Select the foreground of images using AI in Napari. This plugin is based on the rembg project.
Why use napari-rembg
?
- It runs fast even on a laptop's CPU (a few seconds per image).
- It is easy to install compared to other AI tools for segmentation.
- It is a quick and easy solution to automatically extract the foreground of scientific and natural images.
This plugin is primarily intended for analyzing 2D and 2D (RGB) images, however it can also be used to segment a particular slice in a 2D + time, 2D + channel or 3D image.
New!
Run rembg
in individual regions of interest defined by bounding boxes to segment multiple objects:
- Insert a
Shapes
layer and draw rectangles to define regions of interest (ROIs) in which to run the foreground selection. You can choose to auto-increment the label index to distinguish objects in different ROIs. - Select the
Labels
layer in which to write the output of the foreground segmentation (or let the plugin create aLabels
layer automatically).
Installation
You can install napari-rembg
via pip:
pip install napari-rembg
Usage
Start napari-rembg
from the Plugins
menu of Napari:
Plugins > Select foreground (napari-rembg)
Contributing
Contributions are very welcome. Please get in touch if you'd like to be involved in improving or extending the package.
License
Distributed under the terms of the BSD-3 license, "napari-rembg" is free and open source software.
Issues
If you encounter any problems, please file an issue along with a detailed description.
This napari plugin was generated with Cookiecutter using @napari's cookiecutter-napari-plugin template.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for napari_rembg-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4baa48910a54868deb1b8209fd0a3528e43a500718fb1c07f7f922ded971d61d |
|
MD5 | fad3e3ebfaabb3c27829eaa865864afa |
|
BLAKE2b-256 | 29d48e48a5fd134cefb2109ef112e0d4e0eed57077c90330a9e81dad1f09a9d4 |