Description Usage Arguments Details Value Examples
Superimpose an oval mask on a set of images. If the images have templates and bounds = NULL, the maxiumum and minimum x and y coordinates for each image will be calculated (or the overall max and min if each = FALSE) and an oval with those dimensions and position will be placed over the face.
1 | mask_oval(stimuli, bounds = NULL, fill = webmorph_options("fill"), each = TRUE)
|
stimuli |
list of class stimlist |
bounds |
bounds (t, r, b, l) of oval, calculated from templates if NULL |
fill |
background color for mask |
each |
whether to calculate a mask for each image (default) or just one |
If bounds are set to a list of top, right, bottom and left boundaries, these will be used instead of the boundaries derived from templates.
stimlist with cropped tems and/or images
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.