browse_image: Simple function to make small preview plot from large raster...

Description Usage Arguments Value

View source: R/browse_image.R

Description

Simple function to make small preview plot from large raster image

Usage

1
2
browse_image(x, m = NULL, maxpixels = 5e+05, DN_min = 0, DN_max = 255,
  r = 3, g = 2, b = 1, x_fun = NULL, m_fun = NULL)

Arguments

x

input RasterBrick or RasterStack with at least three bands

m

an optional mask RasterLayer to output below the browse image

maxpixels

maximum number of pixels to use in plotting

DN_min

minimum DN value

DN_max

maximum DN value

r

index in x of the band to use as the red band

g

index in x of the band to use as the green band

b

index in x of the band to use as the blue band

x_fun

an optional function to apply to x after x is resampled according to maxpixels

m_fun

an optional function to apply to m after m is resampled according to maxpixels

Value

nothing - used for side-effect of saving browse image


yinscapital/sat-locat-reference-team-lucc documentation built on May 14, 2019, 11:09 a.m.