Learn R Programming

sits (version 1.12.0)

sits_bayes_postprocess: Post-process a classified data raster with bayesian filter

Description

Takes a set of classified raster layers, whose metadata is described by tibble (created by sits_coverage), and a noise value, to do a bayesian smoothing process.

Usage

sits_bayes_postprocess(raster_class, window = matrix(1, nrow = 3, ncol =
  3, byrow = TRUE), noise = 100, file)

Arguments

raster_class

Output raster coverage.

window

A matrix with the neighborhood window to compute bayesian smooth. The central element index (i, j) is given by i = floor(nrows(window)/2)+1 and j = floor(ncols(window)/2)+1. Elements '0' are excluded from window.

noise

Bayesian smoothing parameter.

file

File to save the post processed raster.

Value

A tibble with metadata about the output RasterLayer objects.