Extract bands of sparse pixels in image data cube

extract.big_raster(ImPath, rowcol, MaxRAM = 0.5)

Arguments

ImPath

character. Path to the image cube

rowcol

matrix or data.frame with two columns: row, col. If columns are not named, 1st=row, 2nd=col.

MaxRAM

numeric. Maximum memory use at block reading. It constrains the maximum number rows of a block

Value

matrix. Rows are corresponding to the samples, columns are the bands.