~ubuntu-branches/ubuntu/trusty/psychtoolbox-3/trusty-proposed

« back to all changes in this revision

Viewing changes to Psychtoolbox/PsychDemos/PsychTutorials/AlphaImageTutorial.m

  • Committer: Package Import Robot
  • Author(s): Yaroslav Halchenko
  • Date: 2013-11-19 23:34:50 UTC
  • mfrom: (3.1.4 experimental)
  • Revision ID: package-import@ubuntu.com-20131119233450-f7nf92vb8qavjmk8
Tags: 3.0.11.20131017.dfsg1-3
Upload to unsable since fresh glew has arrived to sid!

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
 
78
78
    % Import image and and convert it, stored in
79
79
    % MATLAB matrix, into a Psychtoolbox OpenGL texture using 'MakeTexture';
80
 
    myimgfile= 'konijntjes1024x768.jpg';
 
80
    myimgfile = [ PsychtoolboxRoot 'PsychDemos' filesep 'AlphaImageDemo' filesep 'konijntjes1024x768.jpg'];
81
81
    fprintf('Using image ''%s''\n', myimgfile);
82
82
    imdata=imread(myimgfile);
83
83