Giter Club home page Giter Club logo

indiasat's Introduction

IndiaSat - A datset for pixel-level classification of Landsat-7, Landsat-8 and Sentinel-2A imagery

This repo contains an open dataset for pixel-level classification of Landsat 7, Landsat 8, and Sentinel 2A Imagery along with the code for classification as well as the error correction methods on top of it.

Methodology for pixel-level classification of Landsat 7 and Landsat 8 Imagery

alt text

Step by step procedure to do classification of a selected area.

  • Step 1 : Run the GEE script

Run the corresponding GEE script for Landsat 7 or Landsat 8. (landsat7_classification.js or landsat8_classification.js or sentinel2A_classification.js). The output of the GEE script will be three images for your area of interest (selected area) for each year.

Note - You should have the shapefile of that particular area or you can draw the area by hand in GEE. Someone, who is new to Google earth engine, can find all the help from this place

  • Step 2 : Run final_classification.py script

It will make a different folder of each area and put all classification outputs for that area (for all the years) in that folder.

The command-line argument for the script - the path of root folder for a given area. (path of the unique folder which you just created). For exmample if you are doing classification for an area name Delhi, then put all you classification outputs in a folder named and then run the following command from terminal.

    python3 final_classification.py Delhi

The final classification result will be stored in a folder inside root folder. For above example the classification results of each year will be in Delhi/results/combined_yearly_prediction_temp_corrected.

  • Optional- only_temporal_correction.py (for developers use)

the command-line argument to be given while running the script - the path of root folder for a given area. (which you created in step 2)

    python3 only_temporal_correction.py Delhi

This script is for experimentation with temporal correction technique. This performs only the temporal correction.

  • Optional- check_accuracy_2cat_landsat.py

The command-line argument to be given while running the script - the path of root folder for a given area. (which you created in step 2)

    python3 check_accuracy_2cat_landsat.py Delhi

This script is to check the BU/NBU accuracy when the ground-truth is available in four categories (green, water, bareland and built-up). This script will provide four options to the user to check the accuracy of outputs from four different methods/techniques. The output of this script will be saved in a .txt file.

Prerequisites

  • Google Earth Engine(GEE) account to run the google earth engine scripts for downloading and images and run the classifier
  • Following python libraries to run the python scripts
    • PIL (Pillow)
    • scipy
    • numpy
    • pandas

indiasat's People

Contributors

chahatbansal8060 avatar hariomahlawat avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

khansa-gulshad

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.