Skip to main content

Questions tagged [matrix]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
57 views

Assign matrix cell values using variable in Google Earth Engine

I am trying to create a mask for focal analyses in GEE, and need a function that creates an n x n matrix (values = 0). Then I would like to assign values across a "diameter" of the matrix ...
1 vote
2 answers
195 views

Array transformation: RasterStacks of time-series into Array of matrices

I have 9 RasterStacks with 65 layers containing time-series of satellite imagery. Each stack contains a time-serie of each Sentinel-2 band (B2, B3, B4, B5, B6, B7, B8, B11 and B12). The shape of the ...
0 votes
2 answers
1k views

How to read and write raster matrix data with R (raster package and image processing)?

I'm using R for morphological operations on geo-rasters. The packages mmnand and EBImage offer morphological operations. However they can't work with georeferenced rasters, but operate on a matrix (or ...