Get Statistics for Image Segments with Python @geospatialschool
Get Statistics for Image Segments with Python  @geospatialschool
Uploaded March 2020 | Updated September 2026, 2 weeks ago
After the image is segmented we need to get statistics describing the data for each band within each segment. The tutorial will show you how to use numpy and scipy to get statistics from image segments. Once we have the statistics we can begin to group segments based on the statistics values. This is what will eventually allow us to group, or classify, image segments. Stay tuned for the next tutorial in the object-based image analysis playlist. At the end of this tutorial series (playlist) we will have covered how to go from a downloaded image to a fully classified image.

Code for each step is available here: opensourceoptions.com/blog/python-geographic-object-based-image-analysis-geobia

Visit opensourceoptions.com for more content and courses
Get Statistics for Image Segments with PythonQGIS Sample Raster Values at PointsElevation Data for North America in QGISQGIS Import data and save a project (Version 3.x)QGIS 3D Map Animation (Version 3.x)Merge Raster Layers in QGIS (Create a Raster Mosaic)QGIS Terrain Analysis: hillshade, slope, aspect (Version 3.x)Elevation Contour Lines in Adobe Illustrator - or any graphics editorUse Python and QGIS (pyQGIS) to Automate GIS Tasks and WorkflowsSetup PyCharm and GDAL for Image AnalysisQGIS Select by Location (Version 3.x)Run Python Scripts from the Terminal
Geospatial School |

Get Statistics for Image Segments with Python

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER