User`s guide

19 Block Reference
19-8
and column are 0. The default values for height and width are set to the maximum
allowable value, indicated by the video format's resolution. Therefore you only need
to change the values in this field if you do not want to capture the full image size.
Output color space
Use this field to select the color space for devices that support color. Possible values
are rgb, grayscale, and YCbCr. The default value is rgb. If your device supports
Bayer Sensor Alignment, a fourth value of bayer is also available.
Bayer sensor alignment
This field is only visible if your device supports Bayer sensor alignment. You must
set the Output color space field to bayer, then it becomes activated. Use this to set
the 2-by-2 sensor alignment. Possible values are grbg, gbrg, and rggb, and bggr.
The default value is grbg.
Preview button
Preview the video image. It opens the Video Preview window that is part of the
Image Acquisition Toolbox software. If you change something in the Source
Block Parameters dialog box while the preview is running, the image will adjust
accordingly. This lets you set up your image acquisition to the way you want it to be
acquired by the block when you run the model.
Block sample time
Specify the sample time of the block during the simulation. This is the rate at which
the block is executed during simulation. The default is 1/30.
Note: The block sample time does not set the frame rate on the device that is used in
simulation. Frame rate is determined by the video format specified (standard format
or from a camera file). Some devices even list frame rate as a device-specific source
property. Frame rate is not related to the Block sample time option in the dialog.
Block sample time defines the rate at which the block executes during simulation
time.
Ports mode
Used to specify either a single output port for all color spaces, or one port for each
band (for example, R, G, B). When you select One multidimensional signal,
the output signal will be combined into one line consisting of signal information for
all color signals. Select Separate color signals if you want to use three ports
corresponding to the uncompressed red, green, and blue color bands. Note that some
devices will use YCbCr for the separate color signals.