Welcome Guest, you are in: Login

EventIDE Wiki



Search the wiki



Element Icon Gabor Grating
Category: Stimulus Generators AddIn: Visual Kernels
Creator: OkazoLab Scope: Parent event
Owns Snippets: None Usage: Stimulus screen


NameDescription                              ConstraintsTypeOn
Grating Frequency        Defines the number of the linear grating cycles per patch size. If the zero value is set, the element generates the Gaussian blob, in which pixel values are defined by the Gaussian function alone.                Double         
Gaussian Sigma        Defines the standard deviation of the Gaussian component in the generated patch                Double         
Grating Phase        Defines the shift for the grating phase relative to the patch center, in degrees (0..360)                Double         
Grating Orientation        Defines the grating orientation, in degrees (0..360)                Double         
Ellipticity Ratio        Defines the ellipticity of the Gaussian blob, as a ratio between width and height of the patch                Double         
Trimming Threshold        Defines the threshold for the Gaussian blob (between 0 and 1), such that all Gaussian values below the threshold are trimmed off. The threshold does not affect the linear grating component.                Double         
Low Color        Defines the lowest RGB color for the generated patch                stColor         
High Color        Defines the highest RGB color for the generated patch                stColor         
Background Color        Defines the middle (background) color for the generated patch. If the background color is not halfway between the high and low colors, asymmetrical patch is generated                stColor         
Patch Shape        Defines the shape of the generated patch                GaborP..         
Visual Appearance
Alpha Masking        Defines, whether the visual content is used to create an opacity mask on the event surface. If masking is on, the content's pixel luminance (or, its inverse) defines transparency within element's viewport. The alpha masking allows, for example, create transparent holes on the event surface.                Int32         
AntiAliasing        if true, the rendered content will be antialiased for smoother visual appeariance. If false, rendering will be authentic to its source, e.g. a bitmap.                Boolean         
Position        Defines a position of the rendering viewport on the screen                clPoint         
Size        Defines a size of the element's rendering viewport on the screen                clSize         
Z Order        Indicates Z Order of the element on the given event                Int32         
Pivot Point        Defines alignment of the pivot point (or, element's position) relative to element's rendering area. The pivot point sets the center of element's rotation and scale directions.                stAlig..         
Visible        Defines whether the element is visible                Boolean         
Rotation        Rotation angle in degrees                Double         
Transparent Color        The color of the original pixels of rendered content that will be set as transparent                stColor         
Transparent Tolerance        Tolerance ratio for choosing colors that become transparent. Zero means that effect is not applied, 1 denotes that all colors will become trasparent                Int32         
Color Mask        Produces a multiplicative combination of the original pixels and the selected mask color (except the alpha channel).  The effect emulates a look through a colored glass.  White or transparent mask color dont change the original pixels                stColor         
Opacity        Opacity of the rendered content                Int32         
Contrast        Contrast of the rendered content                Int32         
Brightness        Brightness the rendered content                Int32         
Saturation        Saturation of the rendered content                Double         
Pixelation        Pixelation of the rendered content                Int32         
Blurring        The radius used in the gaussian blur of rendered content, as a pixel-based factor. The default is 0 which means no blurring.                Int32         
Scrambling                        Double         
Scrambling Grid Size        Defines a size of the scrambling grid                clSize         
Positional Jitter
Reset Jitter Now        Runtime command that resets the positional jitter.                Boolean         
Current Jitter        Returns the current jitter                clPoint         
Jitter Range        Defines a possible range for the random jitter. The range is centered to the position of the element.                clSize         
Test Jitter        Click to test the current jitter                Boolean         
Is Enabled        If set to false the element is completely omitted when the experiment is run                Boolean         
Title        Title of the element                String         

Gabor Grating Element is capable of generating gabor and linear grating patches defined by a set of parameters.The algorithm is adapted from a work of Elliot Freeman.


Element renders a single gabors grating within a rectangular area on the screen.




  Name Size
- Gabor-Grating-Element-Icon.png 4.60 KB

ScrewTurn Wiki version Some of the icons created by FamFamFam.