Choosing the right Machine Learning approach for your geospatial project

,

Machine learning (ML) helps us find patterns in data through the use of algorithms. By using algorithms to build models that uncover connections, organisations can make better decisions faster and without human intervention. From a geospatial perspective, an example of using ML is via image analysis in remote sensing work. But how do you choose the most suitable ML model for your project? 

The first step in selecting your ML model is to define your problem in terms of what your output will look like. The output of a ML model can be a class label per image, a bounding box around an object of interest, or very accurate class boundaries. The final output depends on your project requirements, your evaluation criteria and the level of detail you want in your results. 

For example, if you are required to find the approximate location of tailings dams in your satellite imagery, generating accurate class boundaries would be overkill. You are better off with a bounding box detection or a binary classification approach.  

In this Geotech Friday blog, we will look at the different categories of computer vision and image processing tasks and their use cases, all in the context of geospatial and remote sensing.

 

Image classification

Image classification models return one class label per image or tile. This is best utilised when the user only needs information about the presence or absence of an object in an image. Using the example below, the user simply wants to know which images contain airplanes, and which do not.

The output of a ML model for an image classification task is a set of probabilities for each individual class. The class with the highest probability is assigned as the output class for the input image. 

For image classification methods, visit: https://paperswithcode.com/task/image-classification 
 

Use case:

We want to train a ML model to predict the absence or presence of an airplane in an image. A sample output from such a model is shown below. The ML model only tells us if there is an airplane in the input image or not. This approach would not be suitable for a scenario where the goal is to count the number of airplanes in an image. The output of an image classification approach is as follows:  

 

 

Object detection 

Object detection methods go one step further than image classification and output a bounding box around the object of interest. They also return a class label for each of the detected bounding boxes. The output of an object detection model consists of two components: 

  1. A class label obtained from a classification layer
  2. Bounding box coordinates from a regression layer 

Using the example below, the user wants to know exactly how many airplanes are detected in the images. 

For object detection methods, visit: https://paperswithcode.com/task/object-detection 
 

Use case:

Suppose we want to train a ML model to detect and count the occurrences of a particular object in a satellite image. Object detection would be the most suitable approach to solve this task. The output of an object detector will look something like this: 

 

 

Image segmentation 

Image segmentation classifies each pixel in the input image to its respective class, producing very accurate class boundaries. It is a form of pixel-level prediction because each pixel in an image is classified according to a category. 

The output of the ML model in this scenario is a probability map for each input pixel. Image segmentation methods are suited to tasks where the user wants to obtain accurate class boundaries or areas of a particular class.  

For segmentation methods, visit: https://paperswithcode.com/task/semantic-segmentation
 

Use case:

Let’s consider a scenario where the user wants to explore the vegetation in an area using Skysat imagery (50cm resolution) from Planetscope. The user wants to pinpoint the location of all the above ground vegetation and calculate the total vegetated area. Image classification and object detection approaches won’t be able to fulfil these requirements – image segmentation is the ideal solution for this task. The output of the resulting ML model will look something like this: 

 

 

Change detection

Change detection approaches are used to detect changes between a pair of consecutive images that can be further classified into classification, detection or segmentation based on the output that is desired. 

Unlike previously mentioned approaches, change detection approaches require an input image pair or a time series to work. The output of a change detection approach depends on the user requirements. Moreover, these requirements will also dictate if we use an object detection based approach or image segmentation.  

For change detection methods, visit: https://paperswithcode.com/task/change-detection-for-remote-sensing-images 
 

Use case:

We can detect wheat harvesting events in the before and after Planetscope images using a segmentation based change detection framework. We need to use a segmentation based approach to be able to accurately pick out the boundaries of a harvested area. An example output for a few harvesting events between November and December 2019 is shown below:  

  

 

What’s next?  

Once you have selected the right ML approach for your project, the next step is preparing a quality dataset for it. Regardless of the selected ML approach, here are some guidelines on how to prepare quality training data: https://newsroom.ngis.com.au/using-the-right-dataset-to-train-your-machine-learning-models-properly 

 

Find out what you can achieve with ML

You have identified your project’s outcomes and have prepared a dataset for it. Get in touch with the NGIS team to discuss the prospects of using ML for your project.   

Related Articles

Here are more related articles you may be interested in.

Launching a Sustainable Coffee Future

Posted on
During Climate Week 2024, a groundbreaking initiative was announced, uniting key global players to transform the coffee supply chain. The UNIDO Solutions Platform is a digital tool that helps coffee producers gain important insights into their supply chains. By using artificial intelligence (AI), the platform enables producers to understand the environmental impacts of their operations and adopt more sustainable practices. It specifically addresses the new and evolving regulatory requirements, providing data-driven solutions to create a sustainable and climate-resilient coffee supply chain for everyone involved.
Read More Launching a Sustainable Coffee Future

Empowering the Abu Dhabi Department of Municipalities and Transport in Traffic Monitoring and Flood Mitigation

Posted on
TraceMarkâ„¢ Flow an NGIS Solution has helped the Abu Dhabi Department of Municipalities and Transport (DMT) in traffic monitoring and flood mitigation. During the heavy rain event in April 2024, TraceMarkâ„¢ Flow proved instrumental in managing traffic disruptions and infrastructure challenges by providing real-time data and intuitive dashboards for swift, informed decision-making. Beyond traffic monitoring, TraceMarkâ„¢…
Read More Empowering the Abu Dhabi Department of Municipalities and Transport in Traffic Monitoring and Flood Mitigation

TraceMark takes home the Transformative Solutions Award at The INCITE Awards

Posted on
We are pleased to announce that NGIS has won the Transformative Solutions Award for our TraceMarkâ„¢ Sustainable Sourcing platform at this year’s INCITE Awards. Earlier this month, our team attended the awards ceremony at The Westin Perth. It was a wonderful evening, and a fantastic opportunity to meet so many West Australian innovators. This award…
Read More TraceMark takes home the Transformative Solutions Award at The INCITE Awards

NGIS shines at Locate24: celebrating success and innovation in geospatial technology

Posted on
Last month, NGIS had the pleasure of being the premium sponsor at Locate24, a premier event packed with highlights and opportunities for the geospatial community. The bustling three-day conference, held at ICC in Sydney, saw over 1000 delegates attend from around Australia and overseas. It was a fantastic platform for connecting with our peers, partners…
Read More NGIS shines at Locate24: celebrating success and innovation in geospatial technology

Unveiling our Inaugural Impact Report: Building a Better Future Together

Posted on
We are thrilled to unveil our first Impact Report, showcasing our commitment to making a positive impact in everything we do. We’re proud to share with you the initiatives we’ve undertaken to solve some of the most pressing global issues. Join us as we celebrate our achievements and highlight impact through geospatial. Key Achievements: Bridging…
Read More Unveiling our Inaugural Impact Report: Building a Better Future Together