Documentation Center

  • Trial Software
  • Product Updates

step

System object: vision.BinaryFileWriter
Package: vision

Write video frame to output file

Syntax

step(H,Y,Cb,Cr)
step(H,Y)
step(H,Y,Cb)
step(H,Y,Cb,Cr)
step(H,Y,Cb,Cr,Alpha)

Description

step(H,Y,Cb,Cr) writes one frame of video to the specified output file. Y , Cb, Cr represent the luma (Y) and chroma (Cb and Cr) components of a video stream. This option applies when you set the VideoFormat property to Four character codes.

step(H,Y) writes video component Y to the output file when the VideoFormat property is set to Custom and the VideoComponentCount property is set to 1.

step(H,Y,Cb) writes video components Y and Cb to the output file when the VideoFormat property is Custom and the VideoComponentCount property is set to 2.

step(H,Y,Cb,Cr) writes video components Y , Cb and Cr to the output file when the VideoFormat property is set to Custom and the VideoComponentCount property is set to3.

step(H,Y,Cb,Cr,Alpha) writes video components Y , Cb, Cr and Alpha to the output file when the VideoFormat property is set to Custom, and the VideoComponentCount property is set to 4.

    Note:   The object performs an initialization the first time the step method is executed. This initialization locks nontunable properties and input specifications, such as dimensions, complexity, and data type of the input data. If you change a nontunable property or an input specification, the System object™ issues an error. To change nontunable properties or inputs, you must first call the release method to unlock the object.

Was this topic helpful?