Skip to content

Centroid-UNet is deep neural network model to detect centroids from satellite images.

License

Notifications You must be signed in to change notification settings

gicait/centroid-unet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

Sample Input Sample Prediction

sample_input

sample_pred

sample_input

sample_pred

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

  • numpy
  • matplotlib
  • imageio
  • keras (tensorflow)

References

Releases

No releases published

Packages

No packages published