Posts

Sentinel-2 Super-Resolution Showdown: SR4RS vs. S2DR3

Image
Remote sensing images are crucial for planetary monitoring but are often limited by the spatial resolution of sensors and the high costs of obtaining very high-resolution data. The Sentinel-2 (S2) mission provides valuable multispectral imagery across 13 bands at 10, 20, and 60-meter resolutions. However, these resolutions may not capture fine details needed for tasks like land cover mapping, agricultural monitoring, or disaster assessment. Super-Resolution (SR) techniques address this by reconstructing high-resolution images from lower-resolution ones, enhancing the spatial detail of S2 imagery for more accurate and insightful applications. I have been exploring Sentinel-2 super-resolution techniques for some time, particularly since the rise of machine learning and artificial intelligence in remote sensing for tasks like classification, segmentation, and image enhancement. In this post, I will discuss two approaches to achieving super-resolution for Sentinel-2 imagery...

Mapping Made Smarter: Automated Building Detection with GeoAI

Image
Buildings are one of the most important types of geospatial data, useful for a wide range of applications such as urban analysis, city planning, population studies, disaster management, etc. In the previous post, I discussed how to download building footprints from Google and Microsoft . Some of you might be curious about how these companies are able to provide such extensive building data for the entire globe. Of course, they don’t do it manually. They rely on advanced computational approaches using the latest machine learning and AI technologies. In this post, I’ll discuss how you can implement a similar approach to automatically detect buildings from satellite imagery using GeoAI . We’ll cover the following topics: What is GeoAI? Installing the GeoAI library on your machine Downloading a building detection model Running building detection Generalizing building geometries Exporting results to vector format What is GeoAI? GeoAI is a...

Image Segmentation with Machine Learning Made Easy in QGIS

Image
The use of machine learning in GIS is increasingly transforming how we analyze and interpret spatial data, making complex tasks like image segmentation more accessible than ever. By leveraging the power of QGIS, an open-source geospatial platform, users can now integrate machine learning techniques to segment satellite imagery, aerial photos, or other raster data with remarkable ease. Whether you're a GIS professional mapping land cover or a researcher studying urban sprawl, this blog post will guide you through the process of using machine learning for image segmentation in QGIS. In this post, I’d like to discuss how to do image segmentation with the ML4QGIS plugin, a powerful tool that simplifies the application of machine learning models directly within the QGIS environment, enabling users to classify and segment images without needing advanced programming skills. Installing ML4QGIS Plugin Let's start this tutorial by installing the ml4qgis plugin. The plugin can be downloa...

How to Automate GIS Tasks with QGIS and AI: A Step-by-Step Guide

Image
Artificial intelligence (AI) is generating significant buzz these days. A variety of models have emerged, starting with ChatGPT, followed by Gemini, DeepSeek, Claude, and many others. Each day, I witness AI’s growing influence in shaping our world, answering questions, assisting with coding, generating images and videos, and powering countless other applications. As a GIS professional, I naturally want AI to support us in tackling GIS tasks. In a previous discussion, I explored how to make a map with ChatGPT . However, I believe AI offers far more to GIS professionals than just map creation. Beyond generating maps based on provided data, AI can enhance our ability to perform complex GIS analysis and streamline workflows. In this post, I’d like to explore how AI can assist us in automating GIS tasks, from creating a new project and adding data to selecting features, performing processing, and exporting results. For this guide, I’ll use a protocol called th...

How to Perform Automatic Segmentation with Python on Google Colab

Image
It's been quite some time since I last wrote a post, as I've been caught up with numerous activities related to projects I needed to complete. Honestly, I miss writing on this blog to share my experiences, as it not only helps me remember what I've learned but also proves useful to others.    In my previous post I explained how to download building dataset from Google or Microsoft . You might be wondering how these companies manage to generate millions of building footprints all over the world. Essentially there are two primary approaches to this process: object identification and segmentation. In this post, I'd like to discuss about segmentation, specifically how to segment satellite imagery using Python. I'll discuss how to perform a segmentation task by utilizing the Geographical Segment Anything Model (SAMGeo). In this tutorial you'll learn how to install the SAMGeo module, download satellite imagery as an image, perform segmentation and optim...