brick_to_array {recolorize}R Documentation

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)

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.

Value

An image array (probably 1, 3, or 4 channels).


[Package recolorize version 0.1.0 Index]