Video From Workspace
导入视频MATLABworkspace
- Library:
Computer Vision Toolbox / Sources
Description
TheVideo From Workspaceblock imports a video from the MATLAB®工作区。块的输出取决于工作区中视频的格式。
If the video is represented by anM-经过-N-经过-T大批, the block outputs a grayscale video.M和N是每个视频帧中的行和列数,和T是视频中的帧数。
If the video is represented by anM-经过-N-经过-C-经过-T数组,块输出公司lor video.M和N是每个视频帧中的行和列数,Cis the number of color channels, andT是视频中的帧数。
Note
If you generate code from a model that contains this block, it takes long to compile the code as the金宝app®Coder™puts all of the video data into the
。C
文件。要缩短代码生成时间,将视频数据转换为支持的格式金宝app从Multimedia File或者Read Binary Fileblock.TheVideo From Workspaceblock also supports
fi
objects. For more information onfi
对象,参见fi对象属性(定点设计师).
港口
Output
Parameters
Model Examples
块特征
Data Types |
|
Multidimensional Signals |
|
Variable-Size Signals |
|