brick_to_array: Convert from a RasterBrick to an array
Description
Converts from a RasterBrick to a numeric array. Useful
in going from patternize to recolorize.
Usage
brick_to_array(raster_brick)
Value
An image array (probably 1, 3, or 4 channels).
Arguments
- raster_brick
An object of RasterBrick class.
Details
This function is provided to convert from the RasterBrick objects provided
by the alignment functions in the patternize package, e.g. alignLan
.