Optical Flow class in opencv(CalcOpticalFlowPyrLK) Parameters

让人想犯罪 __ 提交于 2019-12-06 08:14:16
PeterNL

The connection of these two values is that you first have to check the status array. The status array says if a feature point was found or not. This "check" has a higher priority then the error. The documentation says: "if the flow wasn’t found then the error is not defined". But the memory has to get alloceted anyway to keep the index correspondences. In C++ you have to initalize values, if this not happend there will be some random value. So I think OpenCV is not fill the array with zeros or something before. So that is why it can happend that the error is really small, but there is no status bit!

Here is some explenation how it Lucas-Kanada Method works.

When I was implementing Optical Flow in OpenCV i found this nice link.

Also the book Mastering OpenCV with Practical Computer Vision Projects has a usefull chapter about that.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!