Learn R Programming

sits (version 0.13.0)

.sits_raster_data_read: Read a block of values retrieved from a set of raster images

Description

Read a block of values retrieved from a set of raster images

Usage

.sits_raster_data_read(
  cube,
  samples,
  extent,
  stats,
  filter_fn,
  impute_fn,
  interp_fn,
  compose_fn
)

Arguments

cube

input data cube.

samples

tibble with samples.

extent

bounding box in (i,j) coordinates

stats

normalization parameters.

filter_fn

smoothing filter to be applied.

impute_fn

impute function to replace NA

interp_fn

function to interpolate points from cube to match samples

compose_fn

function to compose points from cube to match samples

Value

A data.table with values for classification.