How to apply gamma correction ? #1033
Replies: 4 comments 5 replies
-
Hey @JonathanVacher, I haven't done this before. I suspect the options for gamma correction will depend on what kind of stimuli you want to correct. Are you using image files? Something else? |
Beta Was this translation helpful? Give feedback.
-
Thanks for your answer and sorry for my lack of precision. Yes, I'd like to apply gamma correction to image files. So far I've found the p5.js library (link) that allows to update pixel values. Yet, I don't really understand how to use it with images loaded with jspsych. Maybe it's super easy but I'm not familiar enough with javascript yet. |
Beta Was this translation helpful? Give feedback.
-
From this (post) on stackoverflow, I start to understand how to do it. If the images are loaded with jspsych and if I modify them in the "on_finish" of an "image-slider-response", will the images be kept modified ? |
Beta Was this translation helpful? Give feedback.
-
Hi @JonathanVacher I am having the same issue. I want to 1) measure gamma and 2) automatically run gamma correction on all stimuli. Have you figured out a solution by any chance? Many thanks! :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
We plan on doing vision psychophysics using jspsych. We'd like to apply gamma correction after estimating the gamma of the participant screen using a standard procedure. I couldn't find what is the best way to do it. Does anyone know more about this ?
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions