フィルターのクリア

Making visual stimuli code

5 ビュー (過去 30 日間)
M Min
M Min 2017 年 4 月 1 日
回答済み: Varun Gunda 2017 年 4 月 4 日
Hi,
I want to conduct a visual stimuli experiment using Matlab. To do it, 5 images have to be loaded on the same figure in every 5 seconds. I mean, 5 seconds after showing the first image, the second image has to be shown. How to write this code? Thanks!

回答 (1 件)

Varun Gunda
Varun Gunda 2017 年 4 月 4 日
You can make use of inbuilt app 'imview' that comes with Image Processing Toolbox. Check the following documentation and try the given examples:
When you are trying the example:
load cellsequence
implay(cellsequence,10);
Notice that load function loads a 'cellsequence' variable into MATLAB workspace which is of size: 480*640*10. Hence it contains 10 images. Combine your images into one variable like 'cellsequence' and use 'implay'.
Hope this helps!

カテゴリ

Help Center および File ExchangeImport, Export, and Conversion についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by