Plugin icon

Plant Pixel Extractor

Plugin ID: 7052

Plant and soil segmentation for RGB, multispectral and hyperspectral drone imagery.

Download latest
Versions JSON
Latest version

Plant Pixel Extractor (PPE) separates plant pixels from soil in drone orthomosaics without training data. It ranks the vegetation indices the image allows by how well they spread plant from soil, splits the three best with four automatic thresholds (Otsu, CDF knee, k-means, multi-Otsu) and lets the twelve results vote. Guards remove shadows, algae on wet soil and grey objects. Works with RGB cameras, multispectral sensors (MicaSense, Sequoia, DJI and others, as one file, a folder or separate band files) and hyperspectral cubes; thermal bands are ignored. The image appears on the map as soon as it is chosen, a live slider previews the mask, and results export as rasters, per-band and per-index layers, and plot statistics for an AOI. A Batch tab runs a whole folder of images and lets you review each mask. Two more goals use the same mask: a plant counter (early season) that proposes one point per plant, finds the crop rows itself and marks plants between rows as possible weeds, which you then check and correct on the map with add, remove and plant or weed tools; and training data for a fast plant and soil model, image tiles with PPE labels and no hand labelling (the included tools/ppe_train.py trains, checks and updates the model outside QGIS and needs PyTorch). No extra installation: it uses the GDAL and NumPy that ship with QGIS. Tested on QGIS 3.34 (Linux); feedback from Windows and macOS users is welcome.

Version QGIS >= QGIS <= Date
3.7.7 - 3.28.0 3.99.0 36 [email protected] 2026-11-17T14:22:29.801087+00:00