get_circular_mask | R Documentation |
Create a circular mask image
get_circular_mask(height, width, cy, cx, r)
height |
image height |
width |
image width |
cy |
circle center y |
cx |
circle center x |
r |
circle radius |
an image
mask = get_circular_mask( 100, 120, 50, 50, 20 ) plot(mask)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.