filt5: filt5

Description Usage Arguments Value See Also Examples

Description

Finds maximum of a 5x5 sliding window. If the central pixel is the maximum, this is flagged as a one. All other pixels are flagged as zero. Usually this function is not used directly.

Usage

1
filt5(lon, lat, ingrid, nodata = NA)

Arguments

lon

longitude (vector) of the satellite image

lat

latitude (vector) of the satellite image

ingrid

The satellite data (matrix)

nodata

value representing 'no data'

Value

returns a grid of zeros and ones

See Also

boa

Examples

1
# none

galuardi/boaR documentation built on May 16, 2019, 5:37 p.m.