Depth modulated grating

Using the Design panel.

Depth modulated grating

Postby alexwade » Fri Jan 20, 2012 12:26 pm

Is it possible to use depth modulation in a custom stimulus .For example, to generate a sine wave grating that is modulated in depth as well as luminance? I have tried setting z=sin(x/10); D=sin(x/10) for example in the custom stim box but it doesn't seem to produce an effect. I'm using side-by-side stereo.
thanks

Alex
alexwade
 
Posts: 4
Joined: Fri Jan 21, 2011 1:59 pm

Re: Depth modulated grating

Postby psykinematix » Fri Jan 20, 2012 3:42 pm

Yes, it is possible to specify a depth modulation in a custom stimulus: however the left and right components have to be created separately using the 'L=' and 'R=' prefixes for their x coordinates, and the depth modulation of a carrier stimulus should be created by specifying a disparity envelop and calling the dshiftp(carrier,disparity) function (the left and right versions having then disparity envelops with opposite sign).

We attached an example that we will add as a demo in the next version of Psykinematix.

Note that the 'D=' format can only be used to specify a global disparity and only used in the x coordinate field!

–– The Psykinematix Support Team
Attachments
DepthDefinedGrating.epkmx.zip
Example illustrating the creation of a depth-defined grating
(1.97 KiB) Downloaded 1653 times
psykinematix
Site Admin
 
Posts: 59
Joined: Thu Aug 27, 2009 9:31 pm


Return to Experimental Design

Who is online

Users browsing this forum: No registered users and 1 guest

cron