annulus | R Documentation |
Get points from annulus on matrix
annulus(im, R, dR = 2, center = c(nrow(im)/2, ncol(im)/2))
im |
matrix. |
R |
radius of annulus. |
dR |
annulus width in pixels (default is 2 px). |
center |
point of center c(x, y) (default is center of matrix c(nrow(im) / 2, ncol(im) / 2)). |
Vector with points of annulus.
m <- matrix(1:512, nrow = 512, ncol = 512)
annulus_points <- annulus(m, R = 57, dR = 1, center = c(100, 100))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.