Welcome Guest, you are in: Login

EventIDE Wiki



Search the wiki



Element Icon Mono++ Pixel Aperture
Category: Cambridge Research AddIn: Cambridge Research Systems
Creator: OkazoLab Scope: Parent event
Owns Snippets: None Usage: Stimulus screen


NameDescription                              ConstraintsTypeOn
Pixels        Provides a fast interface to pixels inside of the aperture viewport on the parent event's surface. Brightness of each pixel is represented by normalized double value 0..1 that can be accessed by the x and y indices. E.g. Pixels2,10 represents a pixel with coordinates X=2 and Y=10, starting from the left-top corner of the aperture viewport. All pixel values can be read and written in code.                clMono..         
Pixel Step        Returns X,Y steps in the normalized coordinates that corresponds to 1 screen pixel on the corresponding axis. The read-only values can be used for looping through all pixels in the aperture, when normalized indices are used with the Pixels property.                Point         
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         
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         
Opacity        Opacity of the rendered content                Int32         
Contrast        Contrast of the rendered content                Int32         
Brightness        Brightness the rendered content                Int32         
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         
Is Enabled        If set to false the element is completely omitted when the experiment is run                Boolean         
Title        Title of the element                String         

Mono++ Pixel Aperture Element allows fast access to normalized pixel values in the 14-bits Mono++ mode on the ViSaGe systems. The pixels within the selected aperture on the screen can be read and written in code, e.g. in order to create a custom stimulus generator or drawing.


ScrewTurn Wiki version Some of the icons created by FamFamFam.