Learn R Programming

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

sits (version 1.2.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 STAC protocol and the 'gdalcubes' R package . 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 , residual networks , and temporal attention encoders . 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.2.0

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Gilberto Camara

Last Published

November 16th, 2022

Functions in sits (1.2.0)

plot.sits_accuracy

Plot confusion matrix
plot.som_evaluate_cluster

Plot confusion between clusters
plot.raster_cube

Plot RGB data cubes
plot.torch_model

Plot Torch (deep learning) model
point_mt_6bands

A time series sample with data from 2000 to 2016
plot.som_map

Plot a SOM map
plot.rfor_model

Plot Random Forest model
plot.uncertainty_cube

Plot uncertainty cubes
plot.xgb_model

Plot XGB model
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_as_sf

Return a sits_tibble or raster_cube as an sf object.
:=

Set by reference in data.table
sits_bands

Get the names of the bands
samples_modis_ndvi

Samples of nine classes for the state of Mato Grosso
sits-package

sits
samples_l8_rondonia_2bands

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

Print the area-weighted accuracy
sits_accuracy_summary

Print accuracy summary
sits_cluster_clean

Removes labels that are minority in each cluster.
sits_combine_predictions

Estimate ensemble prediction based on list of probs cubes
sits_clustering

Find clusters in time series samples
sits_bbox

Get the bounding box of the data
sits_colors

Function to handle colors in SITS
sits_colors_show

Show one SITS color palette
sits_classify

Classify time series or data cubes
sits_color_names

Show names of SITS color palettes
sits_confidence_sampling

Suggest high confidence samples to increase the training set.
sits_impute_linear

Replace NA values with linear interpolation
sits_kfold_validate

Cross-validate time series samples
sits_cluster_frequency

Show label frequency in each cluster produced by dendrogram analysis
sits_cube_copy

Copy the images of a cube to a local directory
sits_get_data

Get time series from data cubes and cloud services
sits_geo_dist

Compute the minimum distances among samples and prediction points.
sits_filters

Filter time series and data cubes
sits_cube

Create data cubes from image collections
sits_configuration

Configure parameters for sits package
sits_formula_linear

Define a linear formula for classification models
sits_formula_logref

Define a loglinear formula for classification models
sits_lighttae

Train a model using Lightweight Temporal Self-Attention Encoder
sits_mixture_model

Multiple endmember spectral mixture analysis
sits_patterns

Find temporal patterns associated to a set of time series
sits_labels_summary

Inform label distribution of a set of time series
sits_mosaic

Mosaic classified cubes
sits_merge

Merge two data sets (time series or cubes)
sits_label_classification

Build a labelled image from a probability cube
sits_labels

Get labels associated to a data set
sits_mlp

Train multi-layer perceptron models using torch
sits_model_export

Export classification models
sits_run_tests

Informs if sits tests should run
sits_regularize

Build a regular data cube from an irregular one
sits_rfor

Train random forest models
sits_sample

Sample a percentage of a time series
sits_run_examples

Informs if sits examples should run
sits_reclassify

Reclassify a classified cube
sits_resnet

Train ResNet classification models
sits_reduce_imbalance

Reduce imbalance in a set of samples
sits_select

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

Shows the predicted labels for a classified tibble
sits_smooth

Smooth probability cubes with spatial predictors
sits_som

Use SOM for quality analysis of time series samples
sits_tempcnn

Train temporal convolutional neural network models
sits_som_evaluate_cluster

Evaluate cluster
sits_svm

Train support vector machine models
sits_timeline

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

Cleans the samples based on SOM map information
sits_to_csv

Export a sits tibble metadata to the CSV format
sits_tae

Train a model using Temporal Self-Attention Encoder
sits_to_xlsx

Save accuracy assessments as Excel files
sits_values

Return the values of a set of time series
sits_xgboost

Train extreme gradient boosting models
sits_tuning_hparams

Tuning machine learning models hyper-parameters
sits_uncertainty_sampling

Suggest samples for enhancing classification accuracy
`sits_labels<-`

Change the labels of a set of time series
sits_validate

Validate time series samples
sits_train

Train classification models
sits_tuning

Tuning machine learning models hyper-parameters
sits_uncertainty

Estimate classification uncertainty based on probs cube
sits_view

View data cubes and samples in leaflet
%>%

Pipe
plot.predicted

Plot time series predictions
plot.class_cube

Plot classified images
.check_dates_parameter

Check is dates parameter are valid
.data_type

Get the data type from a band configuration
plot.probs_cube

Plot probability cubes
plot.patterns

Plot patterns that describe classes
plot.geo_distances

Make a kernel density plot of samples distances.
plot

Plot time series
cerrado_2classes

Samples of classes Cerrado and Pasture