Home

Awesome

Centroid UNet - Locating Object Centroids in Aerial/Serial Images

Paper (Proccedings of the 42nd Asian Conference on Remote Sensing, 2021, Can Tho city, Vietnam) - https://arxiv.org/abs/2112.06530

Introduction

Centroid-UNet is deep neural network model to detect centroids from Aerial/Satellite images. We have tested this model with two case studies (building centroid detection and coconut tree centroid detection). This network is based on classic U-Net sematic segmentation architecture. In case of aerial/satellite image analysis (remote sensing), generation of exact shapes of objects is cumbersome task. And, most of application such as counting requires estimation of only locations of objects. Hence, locating objects centroids from aerial/satellite image is an easy solution for tasks where object exact shape is not necessary. Sample input and prediction from the model is shown in below figure.

<table style="width:100%"> <tr> <th>Sample Input</th> <th>Sample Prediction</th> </tr> <tr> <td> <p align="center"> <img src="./graphics/sample_input2.png" alt="sample_input" width="75%"/> </p> </td> <td> <p align="center"> <img src="./graphics/sample_pred2.png" alt="sample_pred" width="75%"/> </p> </td> </tr> <tr> <td> <p align="center"> <img src="./graphics/sample_input1.png" alt="sample_input" width="75%"/> </p> </td> <td> <p align="center"> <img src="./graphics/sample_pred1.png" alt="sample_pred" width="75%"/> </p> </td> </tr> </table>

How to Use

Input data are RGB satellite images. Target data can be given as JSON files with list of centroids points in each aerial/satellite image tiles. First Gaussians are generated around lists of centroids points, then images are generated as targets for the model during preprocessing steps (/code/DataUtils.py). If we use centroids as it is without Gaussians, training process will be challenging. Using Gaussians instead of just centroids make training process more stable. Radius of the Gaussian (in pixels) can be modified depending on the application to minimize overlapping. Few sample data is also given with this repository (/code/data/MassachBuilding/ and /code/data/AgriPlot/) to understand data format required to run.

Our model is U-Net architecture which was written in Keras with Tensorflow backend (/code/Model.py). You can modify the model according to your requirement as well. Two Jupyter notebooks (/code/Centroid-UNet_MassachBuilding.ipynb and /code/Centroid-UNet_TongoCoconutTree.ipynb) were used to run two case studies (building centroid detection and coconut tree centroid detection). If you are using this repository, you can start with one of these notebooks and adapt to your datasets.

Libraries used

References