简体   繁体   English

将原始视频的帧转换为反向透视映射的帧

[英]Converting frames of raw video to Inverse Perspective Mapped frames

I have a raw video of 1000 frames.I am doing Inverse Perspective Mapping of these frames and storing these frames on hard disk. 我有一个1000帧的原始视频。我正在对这些帧进行反向透视映射并将这些帧存储在硬盘上。 But this process takes around 10 minutes to convert it. 但是此过程大约需要10分钟才能完成转换。 Is there any other way in which speed can be improved? 还有其他方法可以提高速度吗? I am using CVWarpPerspective and cvgetperspectivetransform functions, I have to do it in real time with a maximum delay of 500ms. 我正在使用CVWarpPerspective和cvgetperspectivetransform函数,我必须实时进行此操作,最大延迟为500ms。

You could use OpenGL for hardware acceleration; 您可以使用OpenGL进行硬件加速。 but your biggest bottleneck is likely to be writing the images back to disk. 但是您最大的瓶颈可能是将映像写回到磁盘。

Assuming the images aren't small; 假设图像不小; half a second to load, warp and save 1000 raw frames is very demanding. 加载,扭曲和保存1000个原始帧需要半秒钟,这是非常苛刻的要求。 What is the reason for this specification ? 制定此规范的原因是什么?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM