Description Arguments Value Examples
Creates a matrix of flattened image patches from a VeloxRaster band.
Order is left-to-right, top-to-bottom.
Note that if any(c(rowframe, colframe)>0)
, the image patches are (partially) overlapping.
wrow |
Patch size in the y dimension. |
wcol |
Patch size in the x dimension. |
band |
The band to be flattened. |
padval |
A padding value. |
rowframe |
A non-negative integer specifying the size of the frame around the image patches in the y dimension. |
colframe |
A non-negative integer specifying the size of the frame around the image patches in the x dimension. |
rowstride |
A positive integer denoting the stride between extracted patches
in the y dimension. I.e. only every |
colstride |
A positive integer denoting the stride between extracted patches
in the x dimension. I.e. only every |
A numeric matrix with (wrow+2*rowframe)*(wcol+2*colframe)
columns.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.