提交 6fa49f6e 编写于 作者: A Alexander Alekhin

fix unintialized fields

上级 f91f5592
......@@ -598,6 +598,7 @@ namespace cv
struct dim3
{
unsigned int x, y, z;
dim3() : x(0), y(0), z(0) { }
};
public:
PyrLKOpticalFlow()
......@@ -607,6 +608,8 @@ namespace cv
iters = 30;
derivLambda = 0.5;
useInitialFlow = false;
waveSize = 0;
}
bool checkParam()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册