How can I generate Gabor patterns with specified contrasts and save them as pictures?
2 次查看(过去 30 天)
显示 更早的评论
I need to create pictures with a specific Gabor pattern, with different levels of contrast - from 0% to 100%.
I know there is a "Gabor" function in Matlab, but I did not find a way to define the Gabor's contrast.
I know there is also a PsychToolbox function that creates a Gabor texture on the screen (Screen('DrawTexture', windowPtr, gaborid...), but I do not need to present the Gabors on screen, I need to save bitmap pictures, and I do not know how to capture pictures presented on a running PsychToolbox screen (so a function\code that captures the screen and saves it would be appreciated as well).
Thank you! Genie
1 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!