English 中文(简体)
比较视频框架差异的良好图像处理算法是什么?
原标题:What is good image processing algorithm for comparing differences in video frames?

我正在寻找一种很好的(简单、相对快捷的)算法,以比较视频框架和计算各框架之间的差异。 我设想这样的职能:

//Same Scene
diff = ImageDiff(FrameInScene1, nextFrameInScene1); //diff is low
//Scene Boundary
diff = ImageDiff(FrameInScene2, nextFrameInScene3); //diff is high

如果剂量是各框架之间相似/相差的数值。 例如,在同一场景中,两个相邻框架的价值较低,但现场变化的价值很高。

<>说明: 我并不寻找现场探测算法(有些是时间代码),但这将是问题的一个良好例子。

A library with C# code would be ideal

问题回答

迫害框架? Mean Plazad Error, Mean Absolute Error, PSNR。

鉴于关于你问题的信息很少,提出更多建议是毫无意义的。

我不相信C#! 您是否使用了开放式的CV。 我在C号文件中撰写了该守则,我使用了BATTACHaireA算法比较。 http://www.emgu.com/wiki/index.php/Main_Page” rel=“nofollow”http://www.emgu.com/wiki/index.php/Main_Page

你们都会这样做:

  1. Grab the two frames.
  2. Get the histograms of these in two separate pointer.
  3. Pass these two pointers and use a normalization factor and compare the histograms.

我希望这一帮助。





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签