Measures rock/soil grain sizes from a georeferenced photo (drone or ground) by photointerpretation: draw or import grain polygons, filter by sieve size, and get areas, percentages, and gradation reports.
Granulometria por Fotointerpretacion (Photointerpretation Grain Size Analysis) estimates the particle/grain size distribution of rock or soil material from a single georeferenced photo, typically captured by drone but also usable with ground-level or fixed-camera images.
Workflow: (1) draw or crop the photo outline to obtain the true analysed area (the plugin computes this from the raster's actual pixel footprint, not its bounding box, so transparent borders don't inflate the result), (2) draw or import grain polygons -- for example, produced by an external segmentation tool such as GeoAI/Segment Anything -- and adjust them manually if needed, (3) set a sieve-size threshold to separate coarse and fine material, (4) review results and export.
Exports: (1) an Excel workbook with per-grain area/diameter data in a fixed report template, (2) a second Excel workbook summarising the image and overall material composition, (3) a GeoPackage bundling the grain-polygon layer, the source photo raster, and an embedded QGIS project, exported as-is in the project's coordinate system (no reprojection). A separate "Label Photo" tool stamps a date, custom text, and an optional logo onto field/lab photos for documentation purposes.
No external Python packages required: the plugin uses only Qt (via qgis.PyQt) and qgis.core/qgis.gui, which ship with QGIS. Excel files are written natively via the zipfile/XML standard library, without an openpyxl dependency. Fully compatible with both Qt5 (QGIS 3.x) and Qt6 (QGIS 4.x).
Typical use cases: geotechnical field/lab characterization of granular material, sieve-analysis cross-checks, mining and quarry material control, riverbed/beach sediment studies, and any workflow needing a fast area-based grain-size estimate without physical sieving.
Licensed under GPLv3. For commercial use or adaptation, please contact the author first.
Plugin Tags