Segtree is a plugin designed for the segmentation of individual trees from imagery. It isolates tree in ovelapping tree context.
Project description
orseg
Segtree is a plugin designed for the segmentation of individual trees from imagery. It isolates tree in ovelapping tree context.
How it works
The user provides as input a color image and, optionally, a trunk detector mask.
With a single click, the plugin automatically places prompt points on the detected trunk labels. These prompts are then used by SAM2 HQ (Segment Anything Model v2, High Quality mode) to segment the tree foliage associated with each trunk.
Article : Individual Segmentation of Intertwined Apple Trees in a Row via Prompt Engineering
METUAREA, Herearii, LAURENS, François, GUERRA, Walter, et al. Individual Segmentation of Intertwined Apple Trees in a Row via Prompt Engineering. Sensors, 2025, vol. 25, no 15, p. 4721.
Citing segtree
If you find segtree useful in your research, please star ⭐ this repository and consider citing 📝:
@article{metuarea2025individual,
title={Individual Segmentation of Intertwined Apple Trees in a Row via Prompt Engineering},
author={Metuarea, Herearii and Laurens, Fran{\c{c}}ois and Guerra, Walter and Lozano, Lidia and Patocchi, Andrea and Van Hoye, Shauny and Dutagaci, Helin and Labrosse, Jeremy and Rasti, Pejman and Rousseau, David},
journal={Sensors},
volume={25},
number={15},
pages={4721},
year={2025},
publisher={MDPI}
}
Installation
You can install orseg via pip:
pip install orseg
If napari is not already installed, you can install orseg with napari and Qt via:
pip install "orseg[all]"
To install latest development version :
pip install git+https://github.com/hereariim/orseg.git
Contact
Imhorphen team, bioimaging research group
42 rue George Morel, Angers, France
- Pr David Rousseau, david.rousseau@univ-angers.fr
- Herearii Metuarea, herearii.metuarea@univ-angers.fr
Contributing
Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.
License
Distributed under the terms of the BSD-3 license, "orseg" is free and open source software
Issues
If you encounter any problems, please file an issue along with a detailed description.
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file orseg-0.0.2.tar.gz.
File metadata
- Download URL: orseg-0.0.2.tar.gz
- Upload date:
- Size: 7.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25dc12e39dd54b48bf44289d2b3400e35e8f6861ef84a01a9646ac443bdf8b7b
|
|
| MD5 |
bc2245178feef3670743537870439d48
|
|
| BLAKE2b-256 |
a08f51e719889816980a8bad50ce8deb9bc22e536e2244edee09060adb52b579
|
File details
Details for the file orseg-0.0.2-py3-none-any.whl.
File metadata
- Download URL: orseg-0.0.2-py3-none-any.whl
- Upload date:
- Size: 7.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4faa6ce176a60898bf441e92830915aab610dbfd729c795ccc81277c6c5b5213
|
|
| MD5 |
cf6a8037a57faf8aee6c3c3cd658b9f4
|
|
| BLAKE2b-256 |
e3a97815c6c53742a7b4118af1385c5442262aadb022240ab73806fa1443518a
|