Plugin napari — Segmentation Cellpose (DIC) et application du masque sur Shift Brillouin
Ce plugin napari prend en entrée des images DIC et Shift Brillouin.
Il segmente automatiquement la zone d’intérêt (cellule) à partir de l’image DIC avec Cellpose (modèle cyto3 fine-tuné spécifiquement sur le DIC), puis applique le masque obtenu sur l’image de shift.
Fonctionnalités
- Sélection d’une image DIC (pour la segmentation) et d’une image Shift Brillouin (pour l’application du masque).
- Segmentation automatique via Cellpose (cyto3 fine-tuné DIC).
- Création d’une couche Labels/Masque dans napari.
- Création d’une couche Shift masqué (shift restreint à la cellule).
Structure du dépôt (plugin)
src/ivBM4PAPLUGIN/_widget.py: widget napari (UI)src/ivBM4PAPLUGIN/segmentation.py: segmentation (Cellpose)src/ivBM4PAPLUGIN/processing.py: application du masque / post-traitementssrc/ivBM4PAPLUGIN/napari.yaml: déclaration du plugin (nom, commandes, widget)
Prérequis
- Dépendances Python typiques :
naparicellposenumpyscikit-imagetorch
Installation (recommandée en mode développement)
Depuis la racine du plugin :
python -m pip install -U pip
python -m pip install -e .
Lancer napari
napari
Utilisation
- Ouvre napari.
- Va dans le menu Plugins et sélectionne le widget correspondant au plugin.
- Le nom exact du widget dépend de
src/ivBM4PAPLUGIN/napari.yaml.
- Le nom exact du widget dépend de
- Dans le widget :
- Sélectionne la couche (ou le fichier) DIC.
- Sélectionne la couche (ou le fichier) Shift Brillouin.
- Sélectionne le modèle à utiliser pour la segmentation.
- Lance la segmentation :
- Le plugin produit une couche Labels/Masque correspondant à la cellule (ROI).
- Applique le masque sur le shift :
- Le plugin ajoute une couche Shift masqué (ROI extraite/isolée).
Hypothèses importantes
- L’image DIC et l’image Shift doivent être alignées (même champ) pour que le masque s’applique correctement.
- La qualité dépend des conditions d’acquisition et du fine-tuning du modèle.
Metadata
Release files for ivBM4PAPLUGIN 0.1.4
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 | |
|---|---|---|---|---|
| ivbm4paplugin-0.1.4.tar.gz | 24.7 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ivbm4paplugin-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 49.3 MB
Release files / ivbm4paplugin-0.1.4.tar.gz
| Download URL | ivbm4paplugin-0.1.4.tar.gz |
|---|---|
| Size | 24.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b0c7918f6eb3c8b6222f0791958126441673845a67c4f31469f87a563dbe6727
|
|
BLAKE2b-256 checksum How to use checksums |
913972bf3c0ffc1850ff3755ff1dbde3c4a8b0a78801169578ea8a804ae85382
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.4
|
Release files / ivbm4paplugin-0.1.4-py3-none-any.whl
| Download URL | ivbm4paplugin-0.1.4-py3-none-any.whl |
|---|---|
| Size | 24.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
763ad8e63836637b0554aa18d821a323935c25dd367e8f8aa6d325fbf948963e
|
|
BLAKE2b-256 checksum How to use checksums |
b36c249001feded952406f4bf038cbe2d3798acd95eb5bce8f2fa75b84cd6fc7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.4
|
Security for ivBM4PAPLUGIN 0.1.4
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.