cpp-lln-lab / CPP_PTB

a set of function to make it easier to create behavioral, EEG, fMRI experiment with psychtoolbox
https://cpp-ptb.readthedocs.io/en/latest/index.html#
MIT License
12 stars 13 forks source link

Presenting frames as videos + demo #156

Closed fedefalag closed 3 years ago

fedefalag commented 3 years ago

Two functions to read images, store them as textures in a structure and render them as videos on screen. in demos: quick (very much improvable) demo that uses the two functions and presents an example video.

codecov[bot] commented 3 years ago

Codecov Report

Merging #156 (1b4cfb7) into dev (b9d8bb7) will decrease coverage by 0.32%. The diff coverage is 0.00%.

:exclamation: Current head 1b4cfb7 differs from pull request most recent head c5a78c1. Consider uploading reports for the commit c5a78c1 to get more accurate results Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #156      +/-   ##
==========================================
- Coverage   21.88%   21.55%   -0.33%     
==========================================
  Files          54       56       +2     
  Lines         786      798      +12     
==========================================
  Hits          172      172              
- Misses        614      626      +12     
Flag Coverage Δ
unittests 21.55% <0.00%> (-0.33%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/video/createFramesTextureStructure.m 0.00% <0.00%> (ø)
src/video/playVideoFrames.m 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b9d8bb7...c5a78c1. Read the comment docs.

Remi-Gau commented 3 years ago
    ├── CPP_playVideoFramesDemo.m
    └── stimuli
        └── coffee
            ├── coffee01.jpeg
            ├── coffee03.jpeg
             ...

Regarding stimuli naming standardization, there is not strong standard in BIDS but I would suggest we have a quick look into some of the current discussions and choose something somewhat BIDS like

https://github.com/bids-standard/bids-specification/issues/751#issuecomment-801055493

Remi-Gau commented 3 years ago

@all-contributors please add @fedefalag for ideas, code, content

allcontributors[bot] commented 3 years ago

@Remi-Gau

I've put up a pull request to add @fedefalag! :tada: