Code Monkey home page Code Monkey logo

randomclasiter's Introduction

randomclasiter

Iterative random selection of train sites for supervised classification of image using GRASS GIS and R

The procedure combines GRASS GIS, R and bash scripts to automatically perform several supervised classifications, randomly selecting a different subset of train areas each time.

Authors

Maria Francisca Carreño (mariafra # um.es), Jose Antonio Palazon (palazon # um.es) and Javier Martinez-Lopez (javier.martinez # um.es).

Ecology and Hydrology Department - University of Murcia (Spain)

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.

Citation

Carreño, M. Francisca, Palazón, José Antonio, & Martínez-López, Javier. (2013, May 19). randomclasiter (Version 1.0). Zenodo. http://doi.org/10.5281/zenodo.1415391

Description

Plain text scripts used for the iterative train selection classification procedure (in order of execution). Tested under Linux. The # symbol appear before comments and '...' stands for input variables.

Protocol

Step 1

This first Step is executed under the GRASS GIS environment in order to generate several subsets of random train areas and the corresponding supervised classification maps. Train sites map is used as input, together with the number of train areas to be randomly selected from each land cover class for each classification.

Step 2

The second script is executed under the GRASS GIS environment in order to create assignation frequency maps for each class and pixel in the map.

Step 3

This third script is executed under the GRASS GIS environment in order to assign the most frequent land cover class to each pixel.

Step 4

The fourth script is an intermediate step executed under the GRASS GIS environment in order to rename maps to avoid overwriting.

Step 5

The fifth script is an intermediate step executed under the GRASS GIS environment in order to delete null values from the class and frequency maps in order to read them properly with R.

Step 6

The sixth and last script is executed under the R environment (within the GRASS GIS environment) in order to obtain a final classification map in with each pixel has been assigned the class with highest assignment frequency.

randomclasiter's People

Contributors

javimarlop avatar paquicf avatar

Stargazers

 avatar  avatar

Watchers

James Cloos avatar  avatar  avatar Malu avatar

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.