资源简介
分别读取YUV视频特定帧的Y、U、V分量。
代码片段和文件信息
function [YUV]=yuv_import(filenamedimsnumfrmstartfrm)
%Imports YUV sequence into Matlab
%[YUV]=yuv_import(filenamedimsnumfrmstartfrm)
%Version: 2.01 Date: 2006/05/25 author: Nikola Sprljan
%
%Input:
% filename - YUV sequence file
% dims - dimensions of the frame [width height]
% numfrm - number of frames to read
% startfrm - [optional default = 0] specifies from which frame to start reading
% with the convention that the first frame of the sequence is denoted
% with 0
%
%Output:
% Y U V - cell arrays of Y U and V components
%
%Example:
% [Y U V] = yuv_import(‘FOREMAN_352x288_30_orig_01.yuv‘[352 288]2);
% image_show(Y{1}2561‘Y component‘);
fid=fopen(filename‘r‘);
if (fid < 0)
error(‘File d
- 上一篇:SOM matlab
- 下一篇:牛拉法潮流计算Matlab程序
相关资源
- 基于matlab的图像处理源程序
- 引导图像滤波器 Matlab实现
- 图像小波变换MatLab源代码
- 冈萨雷斯数字图像处理matlab版(第三
- 基于区域生长的图像分割MATLAB
- 基于matlab 的图像处理100实例
- 8领域边界跟踪 图像处理 matlab
- 细胞图像分割matlab代码
- 图像的二进小波分解matlab源码(保证
- Matlab图像二值化和逆向二值化
- matlab-图像处理算法
- p文件,MATLAB的
- matlab 数字图像对比度拉伸算法
- MATLAB实现混沌图像加密仿真程序
- 数字图像处理radon matlab变换算法代码
- 图像匹配matlab源程序sift算法
- 图像降噪Matlab代码
- Matlab图像分割边缘提取算法
- 基于MATLAB的图像特征点匹配和筛选
- 传统关联成像、计算鬼成像matlab
- 医学图像重建作业matlab源码
- 高光谱图像pca分析特征提取
- MATLAB7.x图像处理
- SPECT图像重建与结果分析
- 图像的饱和度,亮度,色调的matlab代
- 系数绝对值最大 图像融合MATLAB算法
- MATLAB多聚焦图像融合将两张到六张不
- matlab实现对两幅图像的叠加
- 世上最牛的23个图像跟踪算法MATLAB程序
- 图像信息熵 matlab M文件
评论
共有 条评论