ShowImage
The ShowImage block displays an image.
Library
ComputerVision/Images/Sinks
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
externalActivation | External activation | This parameter defines if the block receives or inherits an external activation. When External Activation is used, an additional activation port is added to the block. Default is OFF. | Number | 0 |
windowSize | Window size | X,Y dimension of the plot window. Integer values. Default size is given as [-1,-1] and corresponds to [400,400]. | Vector of size 2 | |
windowPos | Window position | X,Y position of the plot window. Integer values. Default [-1,-1] indicates the scope is positioned automatically. | Vector of size 2 | |
windowName | Window Name | String | ||
windowHidden | Hidden | The window is hidden initially by default. | Number | 0 |
showAtEnd | Plot after simulation ends | Display the plots (lines) at the end of simulation instead of progressively along with simulation time. | Number | 0 |
option | Window options | Define the scope window setting for a simulation. Default is 'Reuse'. - 'Reuse': An initial simulation plots results in a scope window. Subsequent simulations plot results in the same window, but any existing data is erased. - 'Overlay': An initial simulation plots results in a scope window. Subsequent simulations plot results in the same window. Existing plots are retained. - 'New': Each simulation creates a new scope window. - 'Recreate': Each simulation produces a new scope window, and the existing scope window is deleted. | String | 'Reuse' |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
image | explicit | input | 1 | |
Port 2 | activation | input | externalActivation |