色度键清除算法/库 [英] Chroma key removal algorithm/library

查看:411
本文介绍了色度键清除算法/库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的工作记录仪软件在台式PC上的Windows XP / 7的作品。我希望能够通过色度键的方式来删除录制的视频背景。

I am working on a recorder software for desktop PC that works on Windows XP/7. I would like to be able to remove backgrounds from the recorded video by means of chroma keying.

这种算法,完整库,开放源代码项目的任何信息?我需要它是从C#访问,preferably的东西,将运行在GPU(CUDA,像素着色器,...)

Any info of such algorithms, complete libraries, open source projects? I need it to be accessible from c#, and preferably something that will run on GPUs (CUDA, pixel shaders, ...)

我的视频是RGB24和YUY2格式的访问,所以这将是巨大的,如果这样的库将能够处理这些格式。

My video is accessible in RGB24 and YUY2 formats, so it would be great if such library will be able to handle those formats.

推荐答案

一个很好的出发点是研究提供了关于此的博客。色分离的方法描述有一个良好的基线算法。 但是,依靠单纯的颜色可能是次优的是某些情况下(高拍摄对象的移动,服装的色彩冲突等)。如果你想要的东西非常强大的,你需要开始寻找轮廓分割技术(又名主动轮廓的)。

A good starting point is to study the solution provided on this blog. The color separation approach described there is a good baseline algorithm. However, relying on color alone may be sub-optimal is some situations (high subject movement, clothing color conflicts etc.). If you want something very robust, you will need to start looking at contour segmentation techniques (a.k.a active contours).

这篇关于色度键清除算法/库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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