简体   繁体   English

在视频稳定中使用卡尔曼滤波器或粒子滤波器进行平滑运动

[英]Smoothing motion by using Kalman Filter or Particle Filter in video stabilization

I have a problem. 我有个问题。 I have read many papers about video stabilization. 我读了很多关于视频稳定的论文。 Almost papers mention about smoothing motion by using Kalman Filter, so it's strong and run in real-time applications. 几乎所有论文都提到了使用卡尔曼滤波器进行平滑运动,所以它很强大并且可以在实时应用程序中运行。 But there is also another filter strongly, that is particle filter. 但是还有另一种强烈的滤波器,即粒子滤波器。 But why dont we use Partilce filter in smoothing motion to create stabilized video? 但是为什么我们不使用Partilce滤镜来平滑运动以创建稳定的视频? Some papers only use particle filter in estimating global motion between frames (motion estimation part). 一些论文仅使用粒子滤波器来估计帧之间的全局运动(运动估计部分)。 It is hard to understand them. 很难理解它们。 Can anyone explain them for me, please? 有人可以帮我解释一下吗? Thank you so much. 非常感谢。

A Kalman Filter is uni-modal . 卡尔曼滤波器是单模的 That means it has one belief along with an error covariance matrix to represent the confidence in that belief as a normal distribution. 这意味着它有一个信念以及误差协方差矩阵来表示该信念作为正态分布的置信度。 If you are going to smooth some process, you want to get out a single, smoothed result. 如果你想要平滑一些过程,你想要得到一个平滑的结果。 This is consistent with a KF. 这与KF一致。 It's like using least squares regression to fit a line to data. 这就像使用最小二乘回归来拟合数据线。 You are simplifying the input to one result. 您正在简化一个结果的输入。

A particle filter is multi-modal by its very nature. 粒子滤波器本质上是多模态的。 Where a Kalman Filter represents belief as a central value and a variance around that central value, a particle filter just has many particles whose values are clustered around regions that are more likely. 在卡尔曼滤波器将信念表示为中心值和围绕该中心值的方差的情况下,粒子滤波器仅具有许多粒子,其值聚集在更可能的区域周围。 A particle filter can represent essentially the same state as a KF (imagine a histogram of the particles that looks like the classic bell curve of the normal distribution). 粒子滤波器可以表示与KF基本相同的状态(想象一下粒子的直方图,看起来像正态分布的经典钟形曲线)。 But a particle filter can also have multiple humps or really any shape at all. 但是粒子滤波器也可以具有多个隆起或实际上任何形状。 This ability to have multiple simultaneous modes is ideally suited to handle problems like estimating motion, because one mode (cluster of particles) can represent one move, and another mode represents a different move. 这种具有多个同时模式的能力非常适合处理诸如估计运动之类的问题,因为一种模式(粒子簇)可以代表一次移动,而另一种模式代表不同的移动。 When presented with this ambiguity, a KF would have to abandon one of the possibilities altogether, but a particle filter can keep on believing both things at the same time until the ambiguity is resolved by more data. 当出现这种模糊性时,KF将不得不完全放弃其中一种可能性,但是粒子过滤器可以同时保持对两种事物的相信,直到更多数据解决了模糊性。

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

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