正在读取.pcm文件? [英] Reading in a .pcm file?

查看:163
本文介绍了正在读取.pcm文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我有一个.pcm扩展文件集合,用来表示两个合成图像之间的实际光流.
我目前遇到的问题是如何将它们读入MATLAB或显示它们,以便可以与通过光流算法计算出的水平和垂直流的估计值进行比较!

我最近完成的搜索一直在谈论脉冲编码调制或WAV音频文件!

这意味着要成为图像,或像Web图像上的照片线所说的那样

因此,将filename.pcm放入matlab工作站的任何建议将不胜感激



非常感谢

Opul3nce

Hi everyone, I''ve got a collection of .pcm extension files that are meant to represent the actual optical flow between two synthetic images.
The problem I''m currently having is how do I read them into MATLAB, or display them, so I can compare with my estimates of horizontal and vertical flow calculated by my optical flow algorithms!

The searches I''ve recently done keep talking about pulse code modulation or wav audio files!

This is meant to be an image or as said on the web image photoline

So any advice for getting a filename.pcm into matlab workstation would be much appreciated



Many Thanks

Opul3nce

推荐答案

什么是pcm文件?未压缩的音频文件?您可以使用标准文件流读取您喜欢的任何文件.真正的问题是,您希望数据采用什么形式,文件中的文件格式是什么(未压缩,因此读取并提取所需数据应该是可行的).
What is a pcm file ? An uncompressed audio file ? You can use the standard file streams to read any file you like. The real question is, what form do you want the data to take, what''s the file format in the file ( it''s uncompressed, so it should be feasible to read it and extract the data you need ).


这篇关于正在读取.pcm文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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