Skip to contents

Stimuli

Read, write, or access stimuli

demo_stim() demo_tems() demo_unstandard()
Demo Stimuli
animate()
Create an animated gif from a list of stimuli
as_stimlist()
Convert list to stimlist
blank()
Make blank images
read_stim()
Read stimuli
write_stim()
Write images and templates to files

Webmorph

Average or tansform images using webmorph.org

avg()
Average Images
continuum()
Morph between two images
loop()
Loop
symmetrize() symmetrise()
Symmetrize Images
trans()
Transform Images
webmorph_up()
Check if webmorph.org is available

Visualisation

as_ggplot()
Convert stimuli to a ggplot
draw_tem()
Draw template
gglabel()
Label with ggplot annotations
label()
Label images
mlabel()
Label with magick annotations
plot_rows()
Plot in rows
plot_stim()
Plot stimuli

Image Manipulation

align()
Align templates and images
crop()
Crop images and templates
crop_tem()
Crop to template boundaries and pad
greyscale() grayscale()
Make images greyscale
horiz_eyes()
Make eyes horizontal
image_func()
Apply a magick function to each image
mask()
Mask Images with templates
mask_oval()
Apply an oval mask to images
mirror()
Mirror templates and images
pad()
Pad images
resize()
Resize stimuli
rotate()
Rotate templates and images
to_size()
Resize and crop/pad images to a specified size

Delineation

Create, alter, or access delineations

auto_delin()
Auto-Delineation
average_tem()
Average templates
centroid()
Get center coordinates
change_lines()
Change template lines
delin()
Manually delineate images
draw_tem()
Draw template
features()
Feature Points
get_point()
Get Point Coordinates
remove_tem()
Remove templates
require_tems()
Require templates
same_tems()
Check All Templates are the Same
squash_tem()
Squash Template Points
subset_tem()
Subset template points
tem_def()
Get template definition
viz_tem_def()
Visualise a template definition

Metrics/Info

add_info()
Add Information
compare()
Image Comparison
get_info()
Get Information
get_point()
Get Point Coordinates
height()
Image heights
metrics()
Image shape metrics
rename_stim()
Set stimulus names in a stimlist
width()
Image widths

Helper functions

bounds()
Get template bounds
color_conv()
Convert colors
features()
Feature Points
image_func_types()
Possible functions
patch()
Patch colour
social_media_size()
Social Media Image Sizes
subset(<stimlist>)
Subset Stimulus Lists
wm_opts()
Set/get global webmorph options
wm_opts_defaults()
WebmorphR default options

Geomorph functions

Functions to create geomorph-compatible formats

tems_to_array()
Convert stimuli to array for geomorph
write_tps()
Create a TPS file from a stimlist