Learn R Programming

⚠️There's a newer version (1.12.0) of this package.Take me there.

sits (version 1.4.0)

Satellite Image Time Series Analysis for Earth Observation Data Cubes

Description

An end-to-end toolkit for land use and land cover classification using big Earth observation data, based on machine learning methods applied to satellite image data cubes, as described in Simoes et al (2021) . Builds regular data cubes from collections in AWS, Microsoft Planetary Computer, Brazil Data Cube, and Digital Earth Africa using the Spatio-temporal Asset Catalog (STAC) protocol ( and the 'gdalcubes' R package developed by Appel and Pebesma (2019) . Supports visualization methods for images and time series and smoothing filters for dealing with noisy time series. Includes functions for quality assessment of training samples using self-organized maps as presented by Santos et al (2021) . Provides machine learning methods including support vector machines, random forests, extreme gradient boosting, multi-layer perceptrons, temporal convolutional neural networks proposed by Pelletier et al (2019) , residual networks by Fawaz et al (2019) , and temporal attention encoders by Garnot and Landrieu (2020) . Performs efficient classification of big Earth observation data cubes and includes functions for post-classification smoothing based on Bayesian inference, and methods for uncertainty assessment. Enables best practices for estimating area and assessing accuracy of land change as recommended by Olofsson et al (2014) . Minimum recommended requirements: 16 GB RAM and 4 CPU dual-core.

Copy Link

Version

Install

install.packages('sits')

Monthly Downloads

526

Version

1.4.0

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Gilberto Camara

Last Published

May 17th, 2023

Functions in sits (1.4.0)

plot.som_evaluate_cluster

Plot confusion between clusters
plot.variance_cube

Plot variance cubes
plot.sits_accuracy

Plot confusion matrix
plot.som_map

Plot a SOM map
plot.torch_model

Plot Torch (deep learning) model
plot.rfor_model

Plot Random Forest model
plot.xgb_model

Plot XGB model
plot.uncertainty_cube

Plot uncertainty cubes
point_mt_6bands

A time series sample with data from 2000 to 2016
print.sits_accuracy

Print the values of a confusion matrix
sits_apply

Apply a function on a set of time series
sits_accuracy

Assess classification accuracy (area-weighted method)
sits_accuracy_summary

Print accuracy summary
samples_l8_rondonia_2bands

Samples of Amazon tropical forest biome for deforestation analysis
print.sits_area_accuracy

Print the area-weighted accuracy
sits_as_sf

Return a sits_tibble or raster_cube as an sf object.
sits_bands

Get the names of the bands
sits_colors

Function to retrieve sits color table
sits_bbox

Get the bounding box of the data
sits_colors_show

Function to show colors in SITS
sits_combine_predictions

Estimate ensemble prediction based on list of probs cubes
sits_color_value

Function to retrieve sits color value
sits_cluster_frequency

Show label frequency in each cluster produced by dendrogram analysis
sits-package

sits
sits_clustering

Find clusters in time series samples
samples_modis_ndvi

Samples of nine classes for the state of Mato Grosso
sits_colors_reset

Function to reset sits color table
sits_colors_set

Function to set sits color table
sits_classify

Classify time series or data cubes
sits_cluster_clean

Removes labels that are minority in each cluster.
sits_cube

Create data cubes from image collections
sits_geo_dist

Compute the minimum distances among samples and prediction points.
sits_filters

Filter time series and data cubes
sits_get_data

Get time series from data cubes and cloud services
sits_formula_linear

Define a linear formula for classification models
sits_impute_linear

Replace NA values with linear interpolation
sits_formula_logref

Define a loglinear formula for classification models
sits_function_factory

Create a closure for calling functions with and without data
sits_kfold_validate

Cross-validate time series samples
sits_labels

Get labels associated to a data set
sits_label_classification

Build a labelled image from a probability cube
sits_mlp

Train multi-layer perceptron models using torch
sits_model_export

Export classification models
sits_cube_copy

Copy the images of a cube to a local directory
sits_merge

Merge two data sets (time series or cubes)
sits_lighttae

Train a model using Lightweight Temporal Self-Attention Encoder
sits_mixture_model

Multiple endmember spectral mixture analysis
sits_configuration

Configure parameters for sits package
sits_labels_summary

Inform label distribution of a set of time series
sits_confidence_sampling

Suggest high confidence samples to increase the training set.
sits_mosaic

Mosaic classified cubes
sits_patterns

Find temporal patterns associated to a set of time series
sits_pred_features

Obtain numerical values of predictors for time series samples
sits_pred_normalize

Normalize predictor values
sits_reduce_imbalance

Reduce imbalance in a set of samples
sits_regularize

Build a regular data cube from an irregular one
sits_predictors

Obtain predictors for time series samples
sits_reclassify

Reclassify a classified cube
sits_select

Filter bands on a data set (tibble or cube)
sits_rfor

Train random forest models
sits_show_prediction

Shows the predicted labels for a classified tibble
sits_sample

Sample a percentage of a time series
sits_smooth

Smooth probability cubes with spatial predictors
sits_resnet

Train ResNet classification models
sits_som_clean_samples

Cleans the samples based on SOM map information
sits_som

Use SOM for quality analysis of time series samples
sits_run_examples

Informs if sits examples should run
sits_pred_sample

Obtain a fraction of the predictors data frame
sits_pred_reference

Obtain categorical id and labels of predictors for time series samples
sits_run_tests

Informs if sits tests should run
sits_to_xlsx

Save accuracy assessments as Excel files
sits_train

Train classification models
sits_stats

Obtain statistics for all sample bands
sits_to_csv

Export a sits tibble metadata to the CSV format
sits_tae

Train a model using Temporal Self-Attention Encoder
sits_som_evaluate_cluster

Evaluate cluster
sits_timeline

Get timeline of a cube or a set of time series
sits_tempcnn

Train temporal convolutional neural network models
sits_supercells

Segment an image using supercells
sits_svm

Train support vector machine models
sits_values

Return the values of a set of time series
sits_validate

Validate time series samples
sits_uncertainty_sampling

Suggest samples for enhancing classification accuracy
sits_tuning

Tuning machine learning models hyper-parameters
sits_uncertainty

Estimate classification uncertainty based on probs cube
sits_variance

Calculate the variance of a probability cube
summary.class_cube

Summarize data cubes
sits_xgboost

Train extreme gradient boosting models
sits_tuning_hparams

Tuning machine learning models hyper-parameters
sits_view

View data cubes and samples in leaflet
summary.sits_area_accuracy

Summarize accuracy matrix for area data
summary.variance_cube

Summarize data cubes
summary.sits_accuracy

Summarize accuracy matrix for training data
summary.sits

Summarize sits
`sits_labels<-`

Change the labels of a set of time series
summary.probs_cube

Summarize data cubes
summary.raster_cube

Summarize data cubes
plot.class_cube

Plot classified images
plot.probs_cube

Plot probability cubes
.check_dates_parameter

Check is dates parameter are valid
plot.raster_cube

Plot RGB data cubes
plot.patterns

Plot patterns that describe classes
plot

Plot time series
plot.predicted

Plot time series predictions
plot.geo_distances

Make a kernel density plot of samples distances.
%>%

Pipe
cerrado_2classes

Samples of classes Cerrado and Pasture