关于图像处理中的几种运动估计算法

这个学期,还花了点时间做了一下运动估计方面的事情,主要是用matlab实现了一些各种运动估计的算法。后来做了一次英文的presentation。其实本来想贴代码的,后来看了看,太长乐,所以我就贴一下presentation好了。有些东西是中文翻译成英文,翻译的挺烂的~~本来PPT上还做了几张图片的,传上来太麻烦了。不过,谁要是想看代码和图片的话直接找我要好了~~
Contents of the Work:
This work is to compress a series of motional images, of which some have strong correlation, while some others do not have.
Thinking:
·To reduce the redundancy between neighboring frames, we can use Motion Estimation that would be introduced in detail later.
·To reduce the redundancy in the same frame, we can adopt other methods like DCT and Entropy Coding, which is similar to JPEG to some extent.
 
Motion Estimation:
·There is a lot of algorithms about Motion Estimation (ME).
·I choose some of them, and realize them in my homework.
·I also propose some algorithms designed by myself.
·We can see the differences in efficiency and effect among them later.
 
Algorithms of ME:
·Full Search method (FS) (全搜索法)
·FS with threshold (阈值全搜索法)
·Two-Dimensional Logarithmic (TDL)  (二维对数法)
·Three Step Search (TSS) (三步搜索法)
·Cross Search Algorithm (CSA) (交叉法)
·Diamond Search (DS) (菱形搜索法)
 
Full Search method (FS):
·Thinking:
 -Start from the origin. Search the position with MAD (Minim of Abstract Difference) clockwise from near to far gradually.
·Performance
 -Its result is the optimum one of all algorithms, but it is the worst efficient algorithm.
 
How to improve the efficiency: 
·The disadvantages of FS:
 -Some part of its computation is meaningless.
 -Some direction in its searching is meaningless.
·Thinking One: Set a threshold for MAD
·Thinking Two: Search in the most probable direction.
 
FS with threshold:
·The feature of motional images with strong correlation:
 -The position with MAD is usually near the origin.
 -The MAD is relatively small.
·If we find the MAD position, later searches are no longer needed.
·But MAD is unknown, we have to set a threshold. If MAD is below the threshold, we take that position as the MAD position.
·If threshold is too high, the position may  be not the best position. If threshold is too low, the efficiency would not be improved obviously.
 
Two-Dimensional Logarithmic (TDL):
·Proposed by J. R. Jain and A. K. Jain
·Thinking:
 -Start from the origin. Search the position in the pattern of “+” and find the most probable direction, continue the search and diminish the length of step gradually until the length of step is one pixel. Then search all eight point around it.
 
Three Step Search (TSS):
·Similar to the TDL
·Thinking:
 -Start from the origin. Search the eight point all around the origin in the distance of the length of a step. Find the most probable direction. Then diminish the length of step gradually, until the length of step is 1 pixel.
 
Cross Search Algorithm (CSA):
·Proposed by Ghanbari in 1990.
·Similar to TDL
·Thinking:
 -Start from the origin. Search the position in the pattern of “X” and find the most probable direction, continue the search and diminish the length of step gradually until the length of step is one pixel. Then search all eight point around it.
 
Diamond Search (DS):
·Proposed by Shan Zhu and Kai-kuang Ma.
·Thinking:
 -Use two sets of template. One is designed for direction. The other one is designed for localization.
 
My Idea:
·How to determine the start position?
 
How to differentiate two frame of weak correlation:
·Calculate the distribution of MAD, and set a threshold, if distribution is blew the threshold, then use JPEG to reduce the redundancy in frame directly, else take motion estimation.
 
个人感觉是,FS算法是根本,衍生出FS with Threshold,主要思想遵循思路一,主要是基于减少无意义的后续运算。其他的方法主要遵循思路二,减少无意义方向上的运算。这其中,钱集中TDL,TSS,CSA都不是很精确,尽管速度很快,而且对相对于耗时相同的FS with Threshold而言,方向性明显的图片用这几种方法有很好的效果。FS with Threshold则可以根据要求改变效果和时间。个人认为这里面最好的是DS算法,在效果跟阈值很低时的FS with Threshold相差无几,但是耗时间非常少。记得看到bbs上说,有人的程序都算了很久还算不出来,我觉得可能是算法的问题。我这里面最耗时的算法FS在IBM T23(PIII 1G)上也只需要20 seconds就完成了。我想应该没有比FS更耗时的算法了吧~~ : )
This entry was posted in 关于EE的胡思乱想. Bookmark the permalink.

13 条 关于图像处理中的几种运动估计算法 的回复

  1. yangxi says:

    你好!我最近也在做运动估计方面的东西,看到了你这篇 文章,收获很大。因为对matlab不太熟悉,所以 想学习一下你这几个程序,方便的话请把这几个程序发到我的邮箱里,liyangxi@163.com. 谢谢!

  2. Unknown says:

    漠里的一条热爱EE的鱼:你好,看了你的文章对运动估计有所启发,想看看你的matlab程序和PPT图片,,,希望得到你的帮助,,,fishmanyucy@163.com 谢谢.

  3. Unknown says:

       你好:
       我现在在做运动估计方面的东西,需要用matlab做模拟实验,看了你的文章,收获不小,想看看你用matlab在运动估计方面的程序
    和PPT图,以做参考,邮箱:whqiao@mail.ustc.edu.cn  谢谢!

  4. Unknown says:

    能不能公开一下你的联系方式啊,好多相关的东西需要你的帮助啊。
    这样我们好联系你啊!谢谢了!

  5. gang says:

    你好,刚刚着手学习运动估计,希望能参考一下你的设计等相关资料.firmbooy@163.com 谢谢!

  6. Unknown says:

    你好!我毕业设计需要做运动估计方面的东西,看到了你的原创。很是佩服。对matlab理解不够,所以想学习一下你的个程序,方便的话请把这几个程序发到我的邮箱里:shamokuanghu@163.com 。  谢谢 !

  7. Unknown says:

    你好,我这段时间正在做运动估计方面的课题,看了你的文章,觉得你在这个方面比较了解,希望能参考下你这方面代码。如果你方便的话,能把你那几个代码发到我邮箱吗?ycy2409@126.com,谢谢拉

  8. tao says:

    你好!我最近正想研究运动估计这块,希望能看看你这几个源程序能有所收获,请发到我的邮箱fengtao622@163.com

  9. hank says:

    我最近也在做运动估计运动补偿的事情,希望能借鉴一下你的代码,谢谢.邮箱hansun12345@sina.com

  10. 汉斌 says:

    我的课题是做这一块的 希望借鉴你的源码 谢谢 请发到我的邮箱hanbin_wang@qq.com

  11. Unknown says:

    wow gold!All wow gold US Server 24.99$/1000G on sell! Cheap wow gold,wow gold,wow gold,Buy Cheapest/Safe/Fast WoW US EU wow gold Power leveling wow gold from the time you wWorld of Warcraft gold ordered!

    wow power leveling wow power leveling power leveling wow power leveling wow powerleveling wow power levelingcheap wow power leveling wow power leveling buy wow power leveling wow power leveling buy power leveling wow power leveling cheap power leveling wow power leveling wow power leveling wow power leveling wow powerleveling wow power leveling power leveling wow power leveling wow powerleveling wow power leveling buy rolex cheap rolex wow gold wow gold wow gold wow gold -22610125268370

  12. 眈宇 says:

    您好,我最近毕业论迫切需要您的代码作为参考,我是天津大学的同学。希望您看到之后能把程序代码发我的邮箱:329616656@qq.com 感激不尽

  13. Unknown says:

    您好,最近在学习视频压缩,对纯数学公式有些乏味。。。希望看看MATLAB代码,增加直观性。我邮箱:chenkaishiyi@163.com

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Connecting to %s