视频实时模糊
我需要一个在 50 毫秒内运行并使用最少 RAM 的模糊算法,以便我可以在实时视频中使用它。首先,这在 C# 或 .NET 兼容框架中是否可能?效率是关键。 我尝试过 AForge 高斯滤波器,它太慢了。 vcskicks 的框模糊速度更快,但还不够快。 谢谢
编辑:是否根本没有办法在.NET 中应用快速框模糊,例如不安全代码?
I need a blur algorithm which runs within 50 milliseconds and uses minimal RAM, so that I can use it in realtime video. Firstly, is this even possible in C# or a .NET compatible framework? Efficiency is key.
I have tried the AForge Gaussian filter, and it is far too slow. The box blur from vcskicks is faster, but not fast enough.
Thanks
EDIT: Is there no way at all to apply a fast box blur, such as unsafe code, in .NET?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
由于 C# 和 .NET 处理内存分配和垃圾收集的方式,很难获得可以在实时视频上运行而没有滞后/帧丢失的实现。对于此类事情,您可能最好考虑其他技术。
Because of the way C# and .NET handle memory allocation and garbage collection, it would be very difficult to get an implementation that would operate on realtime video with no lagging / framedrops. You're probably better off looking at other technologies for this sort of thing.