Learn R Programming

sits (version 1.1.0)

.sits_get_top_values: Get top values of a raster.

Description

Get the top values of a raster as a point `sf` object. The values locations are guaranteed to be separated by a certain number of pixels.

Usage

.sits_get_top_values(r_obj, band, n, sampling_window)

Value

A point `tibble` object.

Arguments

r_obj

A raster object.

band

A numeric band index used to read bricks.

n

Number of values to extract.

sampling_window

Window size to collect a point (in pixels).

Author

Alber Sanchez, alber.ipia@inpe.br