Main Content

VideoResolution

Indicate width and height of incoming video stream

Description

The VideoResolution property is a two-element vector indicating the width and height in pixels of the frames in the incoming video stream. VideoResolution is specified as

[Width Height]

Note

You specify the video resolution when you create the video input object, by passing in the video format argument to the videoinput function. If you do not specify a video format, the videoinput function uses the default video format. Use the imaqhwinfo function to determine which video formats a particular device supports and find out which format is the default.

Characteristics

Access

Read only

Data type

Vector of doubles

Values

Defined by video format

See Also