fade_mask | R Documentation |
Add a fading border to an image region
fade_mask(im, mask, npix, blur_radius = 3)
im |
an image |
mask |
an image |
npix |
thickness of the fading border |
blur_radius |
apply a blur of this radius to the fading border to avoid illusory edges at the image corners |
an image
im = regatta mask = im_mono(0, im_height(im), im_width(im)) mask[ 100:350, 100:500,] = 1 plot(fade_mask(im, mask, 20))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.