Published September 12, 2023 | Journal article | Version v1 | https://doi.org/10.21105/joss.05663

samgeo: A Python package for segmenting geospatial data with the Segment Anything Model (SAM)

Files

joss.05663.pdf

Files (380.0 kB)

Name Size Download all
md5:b16f63b74c27775ad32f2e2f3f3232a4
189.1 kB Preview Download
md5:13313d995b9258319cefcc013e6ac4a6
114.5 kB Preview Download
md5:2957643a22861e6b66b3f5ed90fc6cc9
76.3 kB Preview Download

Additional details

Dates

Issued
September 12, 2023

References

  1. Wu, Q., & Osco, L. P. (2023). samgeo: A Python package for segmenting geospatial data with the Segment Anything Model (SAM) (Version v0.10.1) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.8338074
  2. Jordahl, K., Bossche, J. V. D., Fleischmann, M., McBride, J., Wasserman, J., Gerard, J., Badaracco, A. G., Snow, A. D., Tratner, J., Perry, M., Farmer, C., Hjelle, G. A., Cochran, M., Gillies, S., Culbertson, L., Bartos, M., Caria, G., Eubank, N., Sangarshanan, … Abonte. (2021). geopandas/geopandas: v0.9.0 (Version v0.9.0) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.4569086
  3. Grout, J., Frederic, J., Corlay, S., Bugnion, P., & others. (2021). ipywidgets: Interactive HTML Widgets. Github. https://github.com/jupyter-widgets/ipywidgets
  4. Kirillov, A., Mintun, E., Ravi, N., Mao, H., Rolland, C., Gustafson, L., Xiao, T., Whitehead, S., Berg, A. C., Lo, W.-Y., Dollár, P., & Girshick, R. (2023). Segment Anything. https://arxiv.org/abs/2304.02643
  5. Wu, Q. (2021). Leafmap: A Python package for interactive mapping and geospatial analysis with minimal coding in a Jupyter environment. Journal of Open Source Software, 6(63), 3414. https://doi.org/10.21105/joss.03414
  6. Gillies, S., Ward, B., Petersen, A., & others. (2013). Rasterio: Geospatial raster i/o for python programmers. https://github.com/rasterio/rasterio
  7. Wu, Q. (2023). segment-anything-py: An unofficial Python package for Meta AI's Segment Anything Model (Version 1.0) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.7948229
  8. Zhang, C., Liu, L., Cui, Y., Huang, G., Lin, W., Yang, Y., & Hu, Y. (2023). A Comprehensive Survey on Segment Anything Model for Vision and Beyond (Version 2) [Article]. arXiv. https://doi.org/10.48550/arxiv.2305.08196
  9. Ma, J., He, Y., Li, F., Han, L., You, C., & Wang, B. (2023). Segment Anything in Medical Images [Article]. https://doi.org/10.48550/arxiv.2304.12306
  10. Hancharenka, A. (2023). Segment-anything-eo: Earth observation tools for meta AI segment anything. GitHub. https://github.com/aliaksandr960/segment-anything-eo
  11. Ji, W., Li, J., Bi, Q., Liu, T., Li, W., & Cheng, L. (2023). Segment Anything Is Not Always Perfect: An Investigation of SAM on Different Real-world Applications [Article]. https://doi.org/10.48550/arxiv.2304.05750
  12. Liu, S., Zeng, Z., Ren, T., Li, F., Zhang, H., Yang, J., Li, C., Yang, J., Su, H., Zhu, J., & Zhang, L. (2023). Grounding DINO: Marrying DINO with grounded pre-training for open-set object detection. https://arxiv.org/abs/2303.05499

Citations

  1. Huang, H., Liu, C., Roozbahani, M. M., & Frost, J. D. (2027). SeismoMind: A zero-shot decision-tree based multimodal large language model framework for post-earthquake infrastructure damage understanding. Advanced Engineering Informatics, 77, 105207. https://doi.org/10.1016/j.aei.2026.105207
  2. Plumacker, A., Angoboy Ilondea, B., Barbier, N., Collet, T., de Lame, H., Depoortere, P., Favaro, A., Fayolle, A., Kaddouri, M., Mounziegou‐Mounziegou, C., Ploton, P., Rousseau, Z., Saint Denis, E., Tresson, P., Tulet, H., Vander Linden, A., & Bastin, J. (2026). Toward Consistent Canopy Characterization From Low‐Cost UAV Imagery. Ecology and Evolution, 16(9), Article e74260. https://doi.org/10.1002/ece3.74260
  3. Lahouel, L., Lopata, L., Gruening, S., Meoni, G., Petit, G., & Lobry, S. (2026). IC-EO: Interpretable Code-Based Assistant for Earth Observation. In Lecture Notes in Computer Science (pp. 202–216). Springer Nature Switzerland. https://doi.org/10.1007/978-3-032-31397-3_14
  4. Nieto Valencia, N. A., Páez Lancheros, A., Alberto Lancheros, M. G., Beltrán Fonseca, D. P., Flórez Gomez, L. E., & Delgado Correal, M. C. (2026). Field based spectra acquisition of roof materials: an application of field spectroradiometry and remote sensing in Colombia. Applied Geomatics, 18(1), Article 47. https://doi.org/10.1007/s12518-026-00700-7
  5. Maxwell, A. E., Ramezan, C. A., & He, Y. (2026). Current trends and frontiers. In Supervised Learning in Remote Sensing and Geospatial Science (pp. 365–399). Elsevier. https://doi.org/10.1016/b978-0-443-29306-1.00016-8
  6. Zhu, Y., Pan, Y., Hu, T., Liu, Y., & Wang, Y. (2026). A hierarchical foundation model framework for generalizable agricultural and crop parcel delineation. Computers and Electronics in Agriculture, 245, 111523. https://doi.org/10.1016/j.compag.2026.111523
  7. Afzaal, H., Farooque, A. A., Schumann, A. W., Randhawa, G. S., Dunnington, B., Esau, T. J., & Zaman, Q. U. (2026). Automated prompt engineering framework for the precise delineation of agricultural boundaries via zero-shot segment anything models. Information Processing in Agriculture. https://doi.org/10.1016/j.inpa.2026.10.003
  8. Zhao, W., Guo, S., Zhang, X., Tang, P., Pan, X., Mu, H., Yang, C., Xia, Z., Wang, Z., Du, J., & Du, P. (2026). A weakly supervised approach for large-scale agricultural parcel extraction from VHR imagery via foundation models and adaptive noise correction. ISPRS Journal of Photogrammetry and Remote Sensing, 233, 180–208. https://doi.org/10.1016/j.isprsjprs.2026.01.030
  9. Zhou, B., Huang, X., Wang, S., Mai, G., Li, D., Wang, Z., Wu, Q., Ning, H., Wang, J., Wu, Q., Jia, Y., Wang, R., Lyu, S., Tang, B., & Huang, Z. (2026). Measuring the spatial explicitness of GeoAI and geospatial foundation models: A systematic review and future roadmap. ISPRS Journal of Photogrammetry and Remote Sensing, 240, 601–622. https://doi.org/10.1016/j.isprsjprs.2026.08.001
  10. de Carvalho, O. L. F., de Carvalho Júnior, O. A., de Albuquerque, A. O., & e Silva, D. G. (2026). Remote SAMsing: From segment anything to segment everything. International Journal of Applied Earth Observation and Geoinformation, 153, 105528. https://doi.org/10.1016/j.jag.2026.105528
  11. Ha, T., Nketia, K. A., Fernando, H., van Steenbergen, S., Neudorf, S., & Shirtliffe, S. J. (2026). Field boundary delineation with seasonal sentinel 2 imagery using Segment Anything Model (SAM). MethodsX, 16, 103794. https://doi.org/10.1016/j.mex.2026.103794
  12. Peranović, F., & Labib, S. M. (2026). Identifying potential vertical spaces for nature-based solutions in dense urban context: GeoAI approach. Sustainable Cities and Society, 149, Article 107827. https://doi.org/10.1016/j.scs.2026.107827
  13. Tripathy, P., Baylis, K., Wu, K., Watson, J., & Jiang, R. (2026). Zero-shot inference strategies for smallholder (<0.1 ha) agriculture field delineation with the Segment Anything foundation model. Science of Remote Sensing, 13, 100425. https://doi.org/10.1016/j.srs.2026.100425
  14. Kwon, R., Ryu, Y., Lee, K., Tang, P., Choi, C., Jo, S., & Kwak, G.-H. (2026). Deep learning-based reconstruction of transplanting signals and parcel delineation enable smallholder rice paddy mapping in South Korea. Science of Remote Sensing, 14, Article 100541. https://doi.org/10.1016/j.srs.2026.100541
  15. Dash, S. S., Coates, T. W., & Madramootoo, C. A. (2026). UAV-Based Measurements of Methane Enhancements Reveal Hotspot Structure and Wind Effects. Environmental Science & Technology, 60(19), 13980–13996. https://doi.org/10.1021/acs.est.5c18173
  16. Kumar, S. (2026). Satellite-Monitoring Research Agenda for Urban Stormwater Infrastructure: Capabilities, Gaps, and a Community Benchmark Proposal. ACS ES&T Water, 6(9), 5641–5649. https://doi.org/10.1021/acsestwater.6c00939
  17. Różycki, S., Proch, J., Zachar, P., Lenarczyk, S., & Wilk, Ł. (2026). Predominantly non-invasive inventory and preservation-oriented documentation of the “Black Road” in Treblinka. Npj Heritage Science, 14(1), Article 552. https://doi.org/10.1038/s40494-026-02768-1
  18. Mendes, C. F., Liesenberg, V., Biffi, L. J., & Schimalski, M. B. (2026). Segmentation Approaches for Roof Detection in RPA Images. IGARSS 2026 - 2026 IEEE International Geoscience and Remote Sensing Symposium, 3410–3414. https://doi.org/10.1109/igarss60577.2026.11730274
  19. Tabassum, A., Eraqi, H. M., He, Y., Forman, G., & Moustafa, M. (2026). Cross-View Fusion for Occluded Roads Inpainting in Satellite Imagery. IGARSS 2026 - 2026 IEEE International Geoscience and Remote Sensing Symposium, 6216–6220. https://doi.org/10.1109/igarss60577.2026.11730962
  20. Carvalho, O. L. F., Carvalho, O. A., Albuquerque, A. O., & Silva, D. G. (2026). SAM-Mosaic: Scaling SAM2 to Large Remote Sensing Imagery. IGARSS 2026 - 2026 IEEE International Geoscience and Remote Sensing Symposium, 60–64. https://doi.org/10.1109/igarss60577.2026.11731259
  21. Wang, Z., Sun, S., Que, X., Ma, X., & García, C. G. (2026). Deep-Learning-Based Interactive Segmentation in Remote Sensing. IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing, 19, 6202–6213. https://doi.org/10.1109/jstars.2026.3659488
  22. Huang, R., Yue, H., Guo, J., Lu, X., & Yang, J. (2026). Test-Time Adaptation for Photovoltaic Installation Growth Assessment. IEEE Transactions on Geoscience and Remote Sensing, 64, 4705214–4705214. https://doi.org/10.1109/tgrs.2026.3703807
  23. Zhou, Y., Zhang, X., Liao, J., & Liu, L. (2026). Improving Global Tree Cover Estimation by Integrating AlphaEarth Foundations Embeddings and Biome Adaptive Modeling. IEEE Transactions on Geoscience and Remote Sensing, 64, 4420613–4420613. https://doi.org/10.1109/tgrs.2026.3748245
  24. Şimşek, F. F., Altay, M., Kalkan, K., & Arslanoğlu, M. C. (2026). Assessing the Impact of Spatial Resolution and Hyperparameters on Automatic Agricultural Parcel Delineation Using the Segment Anything Model With Multi‐Resolution and Super‐Resolved Satellite Imagery. Transactions in GIS, 30(4), Article e70306. https://doi.org/10.1111/tgis.70306
  25. Akhtar, M. S., Mahmood, Z., Fayyaz, M., Shami, U. A., Zafar, Z., Berns, K., & Fraz, M. M. (2025). Deciphering Crop Dynamics: Leveraging Field Geometry for Precise Image Registration and Enhanced Insights. In Communications in Computer and Information Science (pp. 1–12). Springer Nature Switzerland. https://doi.org/10.1007/978-3-031-89813-6_1

1–25 of 88