简体   繁体   English

静态物体的视频稳定

[英]Video stabilization for static object

Hello to all the engineers! 大家好!

I have the grayscale image of my static object which I want to have fixed place on the image during the acquisition process. 我有静态对象的灰度图像,我希望在采集过程中将其固定在图像上。 The brightness constancy is not guaranteed for the image object. 无法保证图像对象的亮度恒定。 Here is sample image attached. 这是附加的示例图像。

在此处输入图片说明

Moreover, I desire to get stabilization when camera shifts the image for 20-30% of its width. 此外,我希望在相机将图像偏移其宽度的20%至30%时获得稳定。 The algorithm should be also fast enough to be implemented in embedded computer for real-time acquisition either in CPU or DSP. 该算法还应该足够快,可以在嵌入式计算机中实现,以便在CPU或DSP中进行实时采集。

What algorithm or algorithm chain should be used for this purpose? 为此应使用哪种算法或算法链? What woudld you recomment to read? 您建议读什么书? I thought to use the reference frame and finding the optical flow, then making inverse affine transform. 我想使用参考系并找到光流,然后进行仿射逆变换。

I tried to use OpenCV optical flow (pyramid Lukas-Kanade) with some special parameters, the result was satisfactory when the camera movements did not excee 10% pixelx of image in each dimension. 我尝试使用带有某些特殊参数的OpenCV光流(金字塔型Lukas-Kanade),当摄像机的运动在每个方向上都没有占据图像的10%pixelx时,结果令人满意。

Looks like your example image has some well-defined edges, which you could find regardless of brightness. 看起来您的示例图像具有一些定义明确的边缘,无论亮度如何,都可以找到它们。 Edge finding isn't particularly expensive, and from there it's a simple comparison. 边缘查找并不是特别昂贵,因此可以进行简单的比较。

I don't know what you mean by "camera shifts the image by 20%". 我不知道“相机将图像偏移20%”的意思。 Common operations for camera's include pan, tilt and zoom. 相机的常见操作包括平移,倾斜和缩放。 (aka "PTZ") (又名“ PTZ”)

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

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