From: Vadim Pisarevsky Date: Mon, 8 Oct 2012 18:39:11 +0000 (+0400) Subject: fixed the case of scale != 1 in stereo_match.cpp (patch #1936) X-Git-Tag: accepted/2.0/20130307.220821~364^2~102 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a310e2f027b8e4775d9c9a75c72b200c197d10bc;p=profile%2Fivi%2Fopencv.git fixed the case of scale != 1 in stereo_match.cpp (patch #1936) --- diff --git a/samples/cpp/stereo_match.cpp b/samples/cpp/stereo_match.cpp index 8c0739b..b007c4b 100644 --- a/samples/cpp/stereo_match.cpp +++ b/samples/cpp/stereo_match.cpp @@ -189,6 +189,9 @@ int main(int argc, char** argv) fs["D1"] >> D1; fs["M2"] >> M2; fs["D2"] >> D2; + + M1 *= scale; + M2 *= scale; fs.open(extrinsic_filename, CV_STORAGE_READ); if(!fs.isOpened())