GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - vince-npec/NPEC-Labeling-Tool: Desktop annotation, segmentation, time-series tracking, and phenotyping for Hades and Lucifer plant imaging datasets.

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
docs
docs
 
 
environments
environments
 
 
licenses
licenses
 
 
resources
resources
 
 
tests
tests
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
AUTHORS.md
AUTHORS.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CITATION.cff
CITATION.cff
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
THIRD_PARTY_NOTICES.md
THIRD_PARTY_NOTICES.md
 
 
TRADEMARKS.md
TRADEMARKS.md
 
 
VERSION
VERSION
 
 
pytest.ini
pytest.ini
 
 
requirements-dev.txt
requirements-dev.txt
 
 

Repository files navigation

NPEC Labeling Tool

NPEC Labeling Tool is a desktop application for image annotation, semantic plant segmentation, time-series tracking, and phenotyping. It supports Hades grayscale images, Lucifer RGB images, dark-background RGB experiments, and single-plant potato endpoint images.

This repository is the publication reproducibility snapshot for release 2026.8.2.5, including the five-seedling Lucifer RGB pipeline used for the Yang Song Arabidopsis analyses in the DroughtFighters project, Plant Microbe Interaction group, Utrecht University.

The historical technical token yang in filenames, paths, profile keys, and commands refers to Yang Song. Those identifiers remain unchanged for backward compatibility and checksum-level reproducibility; human-facing provenance uses her full name and project affiliation.

For the documented Yang Song workflow, images were acquired with a Canon EOS R5 and 50 mm EF lens at f/5.6, ISO 100, and 1/20 s, then converted from .cr3 to PNG before post-processing. See the pipeline record for the complete measurement method and its limitations.

Main capabilities

  • Layered pixel annotation for roots, shoots, lateral roots, and custom classes.
  • Hades/Lucifer PyPhenotyper-compatible model routing.
  • Recursive Lazy Folder processing with plate identity and timestamp grouping.
  • Plant/top-root or dish-frame stabilization for plate time series.
  • Primary/lateral root decomposition from whole-root masks.
  • Plate-total and per-seedling root metrics, shoot area, QC, workbooks, and CSVs.
  • Temporal five-lane seedling tracking with visible ownership boxes.
  • Source-image mask-overlay videos and mask-only review videos.
  • Project persistence in the .oclp format.
  • macOS and Windows packaging scripts.

Scientific scope

Plate-total root length is independent of seedling ownership and is the most robust measurement when neighboring roots overlap. Per-seedling allocation is an inferred, quality-gated measurement. Ambiguous crossings can be marked invalid, and invalid per-seedling aggregates can be NaN while the conserved plate total remains available.

Bacterial occlusion is treated as unknown visibility. The default Yang Song workflow profile does not invent hidden root pixels. Optional gap-repair outputs must be reported separately with their own provenance.

See the Yang Song pipeline record for the exact presets, model hashes, validation design, limitations, and reproduction commands. The source-snapshot and verification record is in docs/RELEASE_PROVENANCE.md.

Install from source

Python 3.11 is recommended.

git clone https://github.com/vince-npec/NPEC-Labeling-Tool.git
cd NPEC-Labeling-Tool
python3.11 -m venv .venv
source .venv/bin/activate
pip install -r resources/requirements.txt
python -m resources.main

The app starts maximized by default. Set NPEC_WINDOWED_START=1 to start in a regular window.

MP4 generation requires an FFmpeg executable. The public macOS installer does not bundle the GPL-enabled development binary. Install FFmpeg separately (for example, brew install ffmpeg) or set NPEC_FFMPEG_EXE=/path/to/ffmpeg before starting the app.

Yang Song Lucifer RGB recipe

  1. Open Segmentation Pipeline.
  2. Select the PyPhenotyper backend.
  3. Select Arabidopsis - Lucifer RGB inoculated hybrid (5 seedlings).
  4. Set the source folder and a new output-mask folder.
  5. Review plate identities if plate-ID scanning is enabled.
  6. Choose Plate + per-seedling metrics.
  7. Keep expected plants 5, root classes 1,3, shoot class 2, and total-root metric.
  8. Enable previous-frame stabilization with plants/top roots.
  9. Keep source-overlay video and RGB green-shoot recomputation enabled.
  10. Leave Lucifer GAN repair disabled unless its precomputed output is part of the documented protocol.
  11. Run Folder (Lazy) and archive the generated manifests and run report.

The normal combined run writes, among other files:

  • npec_root_measurements_master.csv
  • npec_total_root_length_timelapse.csv
  • npec_total_root_and_shoot_from_masks.csv
  • npec_per_plant_all_metrics.xlsx
  • npec_root_growth_analysis_video.mp4
  • npec_root_and_shoot_masks_analysis_video.mp4
  • npec_root_growth_video_summary.csv
  • npec_root_growth_video_sample_frame.png

Model artifacts

Checkpoint binaries are intentionally kept out of normal Git history. The exact Yang Song workflow production artifacts have been cleared for redistribution and are published as a checksum-verified release asset and in the corresponding macOS installer. The repository records all expected filenames and hashes in docs/MODEL_SHA256SUMS and scientific scope in docs/MODELS.md. Other models may be supplied externally through the application model selectors.

Real images, .oclp templates, annotation corpora, paper drafts, and generated analysis outputs are not part of this source repository.

Build

macOS:

NPEC_MODEL_PROFILE=yang ./resources/build_macos.sh

Public-release macOS builds use a no-FFmpeg OpenCV wheel; follow docs/BUILD_MACOS.md rather than distributing a wheel that silently carries GPL video libraries.

The 2026.8.2.5 macOS installer is an Apple Silicon build for macOS 14 or newer.

Windows builds must run on Windows:

.\resources\build_windows.ps1

Both platform builders default to none for bundled model checkpoints. Pass NPEC_MODEL_PROFILE=yang on macOS or -ModelProfile yang on Windows to build the authorized Yang Song workflow release profile. Both builders verify all publication artifact hashes before packaging.

Installers must be built from a tagged commit. Release 2026.8.2.5 uses the frozen macOS ARM64 environment in environments/macos-arm64-2026.8.2.5.txt.

Test

pip install -r requirements-dev.txt
QT_QPA_PLATFORM=offscreen pytest -q

Citation

Use GitHub's Cite this repository control or the metadata in CITATION.cff. For a paper, cite the tagged release actually used for analysis rather than the moving default branch.

Acknowledgements

The NPEC Labeling Tool was conceived and developed entirely by Vinicius Lube to support users of Lucifer, the imaging acquisition system at the Netherlands Plant Eco-phenotyping Centre (NPEC). The tool was subsequently used to generate research results for Yang Song within the "Drought Fighters" project, led by Yang Song and funded by the Dutch Research Council (NWO) through the Open Competition Domain Science – XS programme (OCENW.XS25.2.311). This funding supported the research project; the Drought Fighters project did not contribute to the development of the NPEC Labeling Tool.

We gratefully acknowledge Clara Chng, Lydia Bucciero, Yizhu Qiao, Junqing Qiao, and Wout van der Molen for conducting experiments, collecting experimental data, and manually annotating images to produce the ground-truth datasets used in the project-specific analyses and validation. These contributions concern the experimental research and its datasets, and are distinct from the authorship and development of the software.

The project thanks Jason van Hamond for extensive testing and feedback that helped improve the NPEC Labeling Tool's reliability, usability, and release readiness. The project also thanks Francisco Ribeiro Mansilha (BUas) for help optimizing the computer-vision pipeline and model workflows. Contributor roles and research provenance are recorded in AUTHORS.md.

Contributing

See CONTRIBUTING.md. Security issues should follow SECURITY.md.

Release changes are recorded in CHANGELOG.md.

The original NPEC Labeling Tool code is licensed under Apache-2.0, Copyright 2026 Vinicius Lube. Third-party components retain their own licenses.

The software license does not grant rights to NPEC names or logos; see TRADEMARKS.md. Third-party components retain their own terms, summarized in THIRD_PARTY_NOTICES.md.

About

Desktop annotation, segmentation, time-series tracking, and phenotyping for Hades and Lucifer plant imaging datasets.

Topics

arabidopsisbioimage-analysiscomputer-visionmacosplant-phenotypingpyside6root-segmentationtimeseries

Resources

Readme
Apache-2.0 license

Contributing

Contributing

Security policy

Security policy
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.