将yuv序列转换为bmp图像 [英] Convert yuv sequence to bmp images

查看:209
本文介绍了将yuv序列转换为bmp图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有yuv序列,我想将它们转换为bmp图像。我想将它保存到计算机上的文件夹中。

I have yuv sequences and I want to convert them to bmp images. I want to save it to a folder on my computer.

我在此链接

虽然Yuv文件只是44MB,Matlab引发了内存错误。
如何克服这个问题?你能帮我吗?

Although the Yuv file is only 44MB, Matlab threw a memory error. How can I overcome this problem? Could you help me please?

最好的问候......

Best Regards...

推荐答案

我从未使用YUV格式,但维基百科说:

I've never worked with a YUV format, but Wikipedia says:


今天,YUV一词在计算机行业通常用
来描述使用
编码的
文件格式YCbCr。

Today, the term YUV is commonly used in the computer industry to describe file-formats that are encoded using YCbCr.

如果您实际 使用YCbCr格式,并且您可以访问图像处理工具箱,您可以使用函数 YCBCR2RGB 将YCbCr颜色值转换为RGB颜色空间,然后使用 IMWRITE 。

If you actually are using a YCbCr format, and you have access to the Image Processing Toolbox, you can use the function YCBCR2RGB to convert YCbCr color values to RGB color space, then save the resulting RGB image as a bitmap using IMWRITE.

这篇关于将yuv序列转换为bmp图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆