| c_sub2ind | R Documentation |
Find 1D index given n-dimensional indices
c_sub2ind(dims, indices)
dims |
Integer dimensions of the array (usually 3d) |
indices |
Nx3 integer matrix of pixel coordinates |
numeric vector of linear indices into the array
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.