46
46
% gamma is incorrectly mapped from [0, 255/256] instead of [0, 1].
47
47
% If you are having trouble using the DIO, try uncommenting the 2nd line
49
Screen('LoadNormalizedGammaTable', windowPtr, linspace(0, 255/256, 256)' * ones(1, 3));
50
%Screen('LoadNormalizedGammaTable', windowPtr, linspace(0, 1, 256)' * ones(1, 3));
53
52
% Call common encoder routine to create T-Lock image matrix: