Giter Club home page Giter Club logo

sitsfeats's Introduction

sitsfeats - Satellite Image Time Series Features

R package for extracting metrics from time series of satellite images

R-CMD-check Codecov test coverage CRAN Lifecycle: stable

The goal of the sitsfeats package is to extract temporal metrics from satellite images time series. The metrics implemented in this version are:

  • basics: statistics metrics
  • polar: polar metrics

The implementations of this package are based on the stmetrics library in Python.

Installation

You can install the CRAN version with:

install.packages("sitsfeats")

Or the development version of sitsfeats from github with:

library(devtools)
devtools::install_github("oldlipe/sitsfeats")

How to use?

Polar metrics example

# loading sitsfeats and tibble packages
library(sitsfeats)
library(tibble)

# loading example time series
data("timeseries")

polar_metrics <- tibble::tibble(area_q1 = area_q1(timeseries),
                                area_q2 = area_q2(timeseries),
                                area_q3 = area_q3(timeseries),
                                area_q4 = area_q3(timeseries))

polar_metrics
#> # A tibble: 5 ร— 4
#>   area_q1[,1] area_q2[,1] area_q3[,1] area_q4[,1]
#>         <dbl>       <dbl>       <dbl>       <dbl>
#> 1   29443841.   14207184.   30180681.   30180681.
#> 2   28600327.   11275172.   32912031.   32912031.
#> 3   39626598.   26313817.   39566583.   39566583.
#> 4   37874557.   16023772.   34952318.   34952318.
#> 5   23932473.   15016832.   27336259.   27336259.

Polar metrics visualization

# get one instance from timeseries
one_instance <- timeseries[1,]

# plot first time series example
polar_plot(one_instance)

Getting help

Feel free to create issues if you have any questions.

sitsfeats's People

Contributors

oldlipe avatar m3nin0 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.