Skip to content

falcaop/ProjectImgProc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Landscape classification with satellite images

Developed by:

  • Diogo Castanho Emídio - 11297274
  • Pedro Falcão Rocha - 12692408
  • Pedro Henrique Magalhães Cisdeli - 10289804

Introduction

The main objective is to classify the landscape of an satellite image to provide information for ambiental studies. The datasets used are from the satellite Sentinel-2 and Google Earth. The input images are rasters formed by eight bands that will be processed with the intention of providing indexes and other usefull statistics. The landscape and forest classification is determined by a machine learning method called Naive Bayes.

Selected images

For now, both datasets are composed by eight bands (B01, ..., B08) and provided by Sentinel-2:

  1. 2018-10-13, Sentinel-2B L1C

dataset_1

  1. outFile

dataset_2

Steps descriptions

  1. Load a satellite image
  2. Extract the blue, red, green, and NIR bands in separate images
  3. Apply contrast to the input image and compare the difference.
  4. Calculate the Normalized Difference Vegetation index described in the next section
  5. Calculate the Normalized Difference Water index described in the next section
  6. Identify and highlight areas of live vegetation in the input image
  7. Use this data to assist a machine learning method in better classifying the type of landscape

Processing of the input image

A contrast filter was applied to the input images to compare its effects on the vegetation and water indexes. The k value from the contrast operation is 0.035.

  1. 2018-10-13, Sentinel-2B L1C input_image_01

  2. outFile input_image_02

The contrast filter applied removed some of the brightness of the input image, so the lower frequencies were lost with this operation.
With more testing it was determined that brightening the image resulted in worse indexes.

Normalized Difference Vegetation Index and Normalized Difference Water Index

The Normalized Difference Vegetation Index (NVDI) and Normalized Difference Water Index (NVWI) are a simple graphical indicator used to avaluate live green vegetation and water.

NDVI examples with both datasets:

  1. 2018-10-13, Sentinel-2B L1C

dataset_1_nvdi

  1. outFile

dataset_2_nvdi

Contrast effects on Vegetation and Water indexes

The contrast filter helped with both indexes to highlight and differentiate regions on the landscape.

  1. 2018-10-13, Sentinel-2B L1C

dataset_1_compare

  1. outFile

dataset_2_compare

Classification process with naive Bayes

The training set used a shapefile to describe geospatial data with the form of a vector.
After the classification process an algorithm was developed to color the predicted regions with the respective colors.

The classes used for the Naive Bayes model are:

  • Emergent Wetland
  • Forested Wetland
  • Herbaceous
  • Sand
  • Subtidal Haline
  • WetSand
  1. 2018-10-13, Sentinel-2B L1C

dataset_1_classification

The naive bayes model was successful even with the hard task to classify the lower left section of the image where there is the presence of a bay mixed with some wetland, wich the dictionary represents it as purple.

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages