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.
Metadata
Release files for orseg 0.0.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 | Provenance | |
|---|---|---|---|---|
| orseg-0.0.2.tar.gz | 7.4 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| orseg-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.8 MB
Release files / orseg-0.0.2.tar.gz
| Download URL | orseg-0.0.2.tar.gz |
|---|---|
| Size | 7.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
25dc12e39dd54b48bf44289d2b3400e35e8f6861ef84a01a9646ac443bdf8b7b
|
|
BLAKE2b-256 checksum How to use checksums |
a08f51e719889816980a8bad50ce8deb9bc22e536e2244edee09060adb52b579
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.13
|
Release files / orseg-0.0.2-py3-none-any.whl
| Download URL | orseg-0.0.2-py3-none-any.whl |
|---|---|
| Size | 7.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4faa6ce176a60898bf441e92830915aab610dbfd729c795ccc81277c6c5b5213
|
|
BLAKE2b-256 checksum How to use checksums |
e3a97815c6c53742a7b4118af1385c5442262aadb022240ab73806fa1443518a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.13
|
Security for orseg 0.0.2
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.