Skip to contents

Use webmorph.org to make faces symmetric in shape and/or colour.

Usage

symmetrize(stimuli, shape = 1, color = 1, tem_id = "frl", ...)

symmetrise(stimuli, shape = 1, color = 1, tem_id = "frl", ...)

Arguments

stimuli

list of stimuli

shape, color

amount of symmetry (0 for none, 1.0 for perfect)

tem_id

template ID to be passed to tem_def() (usually "frl" or "fpp106")

...

Additional arguments to pass to trans()

Value

list of stimuli with symmetrised images and templates

See also

WebMorph.org functions avg(), continuum(), loop(), trans(), webmorph_up()

Examples

# \donttest{
if (webmorph_up()) {
  stimuli <- demo_stim(1)

  sym_both <- symmetrize(stimuli)
  sym_shape <- symmetrize(stimuli, color = 0)
  sym_color <- symmetrize(stimuli, shape = 0)
  sym_anti <- symmetrize(stimuli, shape = -1.0, color = 0)
}
# }