SimpleImageMixingDemo
>Psychtoolbox>PsychDemos
SimpleImageMixingDemo([morphType=gaussian][, showMaskOnly=0])
This is a simple demonstration of shader use to morph two images/textures
back and forth using a non-uniform transparency pattern (here illustrated
with gaussian and left-to-right ramp, but you can use virtually any
transparency mask).
INPUTS:
morphType - string, either ‘gaussian’ or ‘ramp’
showMaskOnly - 0/1 to either see the mask or the resulting morphing
Made after ImageMixingTutorial.m by Mario Kleiner
Written by Natalia Zaretskaya 25 Nov 2014
Path Retrieve current version from GitHub | View changelog
Psychtoolbox/PsychDemos/SimpleImageMixingDemo.m