From 5e4ebf3403f54b307da9795820fa39cd43ff19a1 Mon Sep 17 00:00:00 2001 From: Roman Donchenko Date: Wed, 28 Aug 2013 13:20:14 +0400 Subject: [PATCH] Fixed incomplete matrix initialization in HomographyRefineCallback. --- modules/calib3d/src/fundam.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/calib3d/src/fundam.cpp b/modules/calib3d/src/fundam.cpp index c58e8220aa..27378c53be 100644 --- a/modules/calib3d/src/fundam.cpp +++ b/modules/calib3d/src/fundam.cpp @@ -259,6 +259,8 @@ public: Jptr[8] = Jptr[9] = Jptr[10] = 0.; Jptr[11] = Mx*ww; Jptr[12] = My*ww; Jptr[13] = ww; Jptr[14] = -Mx*ww*yi; Jptr[15] = -My*ww*yi; + + Jptr += 16; } }