redRes {patternize} | R Documentation |
Reduce the resolution of an image imported as a RasterStack by downsampling.
Description
Reduce the resolution of an image imported as a RasterStack by downsampling.
Usage
redRes(image, resampleFactor)
Arguments
image |
RasterStack for downsampling. |
resampleFactor |
Integer for downsampling. |
Value
Downsampled RasterStack
Examples
image <- raster::stack(system.file("extdata", "BC0077.jpg", package = "patternize"))
image_reduced <- redRes(image, 5)
[Package patternize version 0.0.5 Index]