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


azvoleff/teamlucc documentation built on June 4, 2017, 12:08 a.m.